Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdP reassigns prior user's email to new account
-
DeliveryNew account authenticates via authd broker
-
ExploitProvider-ID fallback matches on username
-
ExecutionSession inherits prior user's UID and home directory
-
ImpactAccess and modify prior user's SSH keys and cloud tokens
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires authd before 0.7.1 deployed with an OIDC broker configuration in which the IdP email address is used as the local username. The specific trigger is that the identity provider reassigns a previously-used email to a NEW account (email/username recycling) after the original IdP account is removed, AND the administrator fails to lock or delete the original user's local authd account. Exploitation then occurs only on the new user's local login to the affected host. Limiting factors: this depends on an IdP-side administrative lifecycle event the attacker does not control, it is local to the authd-managed machine (AV:L), carries a specific attack requirement (AT:P) and high complexity (AC:H), and the documented mitigation - locking/deleting the departed user's local account at IdP removal time - fully prevents it. |
| Impact | This is a genuine but highly conditional flaw rather than a mass-exploitation priority. The vendor CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:N) scores 5.9 (medium) and is internally consistent with the description: exploitation is local (requires a login on the authd-managed host), carries high attack complexity (AC:H), and explicitly flags an attack requirement (AT:P) - namely that an identity provider must reassign a previously-used email/username to a new account while the original user's local authd account is left in place. VC:H reflects real exposure of the prior user's SSH keys and cloud API tokens; VI:L reflects the silent rebinding and file modification. No EPSS score, no CISA KEV listing, and no public exploit code were provided, which is consistent with a logic/identity-confusion bug whose trigger (IdP email recycling) is an organizational event an external attacker cannot directly force. The PR:N metric is notable: the 'attacker' is a legitimate user authenticating with their own valid IdP credentials for the recycled email, so no prior privileges on the target are needed - but this is not remote unauthenticated code execution, and AV:L plus AT:P sharply limit practical reach. Net: a real risk for environments that recycle email addresses across IdP account lifecycles, but low likelihood of widespread opportunistic exploitation. |
| Exploit ScenarioDerived | An organization uses authd with an OIDC broker where the IdP email is the local username. An employee departs and their email (e.g. alice@corp.com) is later reassigned by the IdP to a new hire, while the departed user's local authd account is never locked or deleted. On the new hire's first login, authd's username fallback rebinds them to the prior user's local UID and home directory, giving them read/write access to the predecessor's SSH keys and cloud API tokens. No public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 15, 2026
Canonical authd before 0.7.1 can silently rebind a recycled identity-provider email address to an existing local account record, so a newly created IdP account inherits the previous user's local UID and home directory - including SSH keys and cloud API tokens - on its first login to the authd-managed host. Exploitation is highly conditional rather than a mass-exploitation priority: it requires an OIDC broker deployment that maps the IdP email address to the local username, an IdP-side reassignment of that email to a new account after the original IdP account is removed, and an administrator who has not locked or deleted the departed user's local authd account; the flaw is local to the managed machine (CVSS:4.0 base 5.9; independently assessed as CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N). No public exploit code was identified at time of analysis and the issue is not in CISA KEV, but the documented mitigation - locking or deleting the previous user's local authd account when the corresponding IdP account is removed - fully prevents it.
RemediationAI
Vendor-released patch: upgrade authd to 0.7.1 or later, which is the fix version implied by the affected range and the upstream change in PR 2067 (https://github.com/canonical/authd/pull/2067); package updates are tracked via https://ubuntu.com/security/CVE-2026-102631 and https://bugs.launchpad.net/ubuntu/+source/authd/+bug/2168531. The compensating control that fully prevents the issue is operational and must be enforced at IdP deprovisioning time: lock or delete the previous user's local authd account as soon as the corresponding IdP account is removed, so that a later reassignment of that email address to a new identity cannot inherit the stale local UID, home directory, SSH keys, or cloud API tokens - the trade-off is that this requires disciplined lifecycle synchronization between IdP and host account management, and locking an account prematurely will deny access to a legitimate user until it is unlocked. Administrators who cannot guarantee that discipline should avoid recycling email addresses as authd usernames (for example by issuing unique per-user identifiers), and should audit existing local account records for provider IDs that have been silently rebound to different identities; note that neither workaround remediates the underlying matching logic, which only the upgrade to 0.7.1 does.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in 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 authentication daemon that brokers local Linux logins against external identity providers; when paired with the authd-oidc-brokers component it authenticates users through an OIDC IdP and, in the affected configuration, uses the account's email address as the local username. The root cause is an authentication-logic flaw classed as CWE-287 (Improper Authentication): user identity matching in UpdateUser (internal/users/manager.go) resolves an incoming login by the broker-scoped provider ID, but when that provider ID does not correspond to any known user it falls back to matching on the username alone, and it does not reject a conflicting non-empty provider ID. Because broker-side state is cached per-identity (for example token.json under the provider-ID or username data directory) and the broker migrates username-keyed cache directories to provider-ID-keyed directories, a reassigned email address causes the local account record to be silently rebound to the new identity instead of being flagged as a mismatch. The upstream fix (PR 2067) introduces an errProviderIDMismatch condition, a session.verifyProviderID check against both the expected provider ID and the cached provider ID, a verifyCachedProviderID helper that validates cached token.json auth info before any directory is moved or adopted, and explicit refusals to proceed when a non-empty provider ID conflicts with the identity already bound to the local account, surfacing an 'account identity changed' authentication failure to the user.
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:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Local login required (AV:L); conditional on IdP email reassignment making it high-complexity (AC:H); attacker uses own valid credentials so no prior privileges (PR:N); credential theft drives C:H, silent rebind/file edits I:L, no availability impact.
Primary rating from Vendor (canonical).
CVSS VectorVendor: canonical
DescriptionCVE.org
In authd before 0.7.1, the user identity matching in UpdateUser (internal/users/manager.go) resolves an incoming login by the broker-scoped provider ID, but falls back to matching the username when the provider ID does not belong to any known user, and does not reject a conflicting non-empty provider ID. If an identity provider reassigns an email address, which authd uses as the username, to a new account, the new account inherits the previous user's local UID and home directory on its next login. This allows the new user to access and modify files belonging to the previous user, including credentials such as SSH keys and cloud API tokens, and silently rebinds the local account record to the new identity. As a mitigation, administrators should lock or delete the previous user's local authd account when the corresponding IdP account is removed.
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
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Local privilege escalation in Canonical's authd (the Ubuntu authentication daemon for external identity providers) prior
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
authd sets weak permissions for /etc/ident.key, which allows local users to obtain the key by leveraging a race conditio
EUVD-2026-102198
GHSA-92hm-xx6p-hch9
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB