Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain local user access
-
DeliveryIdentify account with primary GID≠UID
-
ExploitTrigger identity-provider record update
-
Executionauthd resets primary GID to UID on next login
-
PersistNew files stamped with wrong group
-
ImpactCross-user file access / local privilege escalation
Vulnerability Assessment
| Weakness |
CWE
|
| Exploitation Conditions | Exploitation requires local access as a low-privileged authd-managed user (PR:L, AV:L) and a specific pre-existing state: the user's primary GID must differ from their UID, which happens only if the account was created with authd prior to 0.5.4 or its primary group was manually changed via 'authctl group set-gid'. Additionally, some user information in the identity provider must change so that authd updates the user record on next login - without an IdP record change, the erroneous reset is never triggered (this is the AT:P attack requirement). Limiting factors: default-configured accounts created on authd >= 0.5.4 (UID==GID) are not affected, the reset only fires at the affected user's next login after an IdP update, and impact depends on other local users mapping to the incorrectly-assigned GID, so this is not remote or unauthenticated. |
| Impact | Signals are consistent and point to a genuine but constrained integrity/DoS issue rather than an internet-facing emergency. The CVSS 4.0 vector (AV:L/AC:L/AT:P/PR:L/UI:N, base 7.3) requires local access with low privileges plus a specific attack requirement (AT:P), reflecting that exploitation depends on a pre-existing GID≠UID condition and an identity-provider record change - not something an attacker triggers at will. Technical impact is rated total (VC:H/VI:H/VA:H) because misowned files can cross user boundaries, yet EPSS is 0.01% (2nd percentile), SSVC Automatable is 'no', and SSVC Exploitation is 'none', so this is not a mass-exploitable target. POC/exploit code is public, but that is distinct from active exploitation, which is not confirmed. Net: prioritize for environments actually running authd with legacy or manually-reassigned GIDs; deprioritize elsewhere. |
| Exploit ScenarioDerived | On a shared Ubuntu host using authd, a low-privileged local user whose account was provisioned under authd < 0.5.4 (UID≠GID) has an attribute updated in the identity provider; on their next login authd resets their primary GID to their UID. Files they subsequently create are stamped with the wrong group, and another local user who is a member of (or maps to) that GID can read or modify data they should not, enabling information disclosure or privilege escalation. Public POC/exploit code exists (referenced gist), lowering the practical barrier for a local actor. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 24, 2026
Local privilege escalation in Canonical's authd (the Ubuntu authentication daemon for external identity providers) prior to 0.6.4 arises from a logic error that resets a user's primary group ID (GID) to their UID when their identity-provider record changes. Affected are users whose primary GID legitimately differs from their UID - created under authd < 0.5.4 or reassigned via 'authctl group set-gid' - causing newly created files and directories to be misowned by an unintended group. Publicly available exploit code exists, but there is no public exploit identified as actively used; SSVC records exploitation status as none and EPSS is negligible (0.01%).
RemediationAI
Vendor-released patch: upgrade to authd 0.6.4 (Ubuntu users update to 0.6.1ubuntu0.1 or later), which preserves custom private-group GIDs across logins; see https://github.com/canonical/authd/security/advisories/GHSA-fg3j-5w9g-hmg7 and the fix commit https://github.com/canonical/authd/commit/154b428305cb1a7a19c897626fefd09d6dde8b9f. Patching alone does not repair accounts already corrupted, so run the vendor-provided remediation script, which for each authd user restores the correct GID via two 'authctl group set-gid' calls and recursively re-owns home-directory files with 'chown -R --from=:OLD_GID :GID'; affected users must then log out and back in (optionally force-terminate sessions with 'loginctl terminate-user') for id/groups and new-file GID stamping to reflect the fix. Files owned by the incorrect GID outside the home directory must be re-owned manually. As an interim compensating control before patching, avoid changing identity-provider records for affected accounts (which is what triggers the reset) and audit/tighten permissions on world- or group-readable directories to limit cross-user exposure - with the trade-off that IdP attribute changes cannot be deferred indefinitely.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
authd is Canonical's daemon that lets Ubuntu authenticate local logins against cloud identity providers (e.g. Microsoft Entra ID / OIDC brokers), provisioning per-user private groups via NSS. The flaw is CWE-842 (placement of a resource into the wrong sphere / incorrect group assignment): in internal/users/manager.go the UpdateUser function unconditionally set the user's private-group GID equal to the UID (userPrivateGroup.GID = &u.UID) on every update, discarding any custom GID previously stored. The CPE cpe:2.3:a:canonical:authd confirms the single affected package. The 0.6.4 fix reworks the loop so the private group's GID defaults to the UID only on first login (when the group does not yet exist) and otherwise preserves the existing stored GID across subsequent logins.
Know when Authd gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Local, low-priv user (AV:L/PR:L); AC:H because it needs a pre-existing GID≠UID account plus an IdP-triggered record update; high C/I/A from cross-user file mis-ownership; scope unchanged.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
authd prior to version 0.6.4 contains a logic error in primary group ID assignment that can lead to local privilege escalation. When a user's primary group ID (GID) differs from their UID, either because the account was created with authd prior to version 0.5.4 or because the primary group was manually changed via the authctl group set-gid command, and the user's identity provider record is updated, authd incorrectly resets the user's primary group ID to their UID upon next login. This causes newly created files and directories to be owned by the wrong group, causing denial of service issues, and potentially granting unintended access to other local users and allowing local privilege escalation.
Executive ViewAI
Ubuntu's authentication system (authd) prior to version 0.6.4 contains a local privilege escalation vulnerability allowing incorrect file ownership assignment. Publicly available exploit code exists but is not currently being exploited in the wild; however, this could enable unauthorized data access and compromise access control integrity on systems using external identity providers.
Vendor-released patch: authd 0.6.4
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
Authd, through version 0.3.6, did not sufficiently randomize user IDs to prevent collisions. Rated medium severity (CVSS
Authd PAM module before version 0.3.5 can allow broker-managed users to impersonate any other user managed by the same b
Privilege escalation flaw in authd's temporary user record handling during pre-authentication NSS operations that causes
Canonical authd before 0.7.1 can silently rebind a recycled identity-provider email address to an existing local account
authd sets weak permissions for /etc/ident.key, which allows local users to obtain the key by leveraging a race conditio
Same weakness CWE-842 – Placement of User into Incorrect Group
View allSame technique Privilege Escalation
View allVendor StatusVendor
SUSE
Severity: Important| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.1 | Affected |
| SUSE Linux Enterprise Server for SAP applications 16.1 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP5 | Affected |
| SUSE Linux Enterprise Module for Package Hub 15 SP6 | Affected |
| openSUSE Leap 15.5 | Affected |
| openSUSE Leap 15.6 | Affected |
EUVD-2026-25871
GHSA-fg3j-5w9g-hmg7
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB