authd: Account takeover via username fallback in identity matching after IdP email reassignment
CVE-2026-102631Published 15 Oct 2026, 16:42 UTC
Real-world risk
0.7/ 10Low
Routine
If the vulnerable configuration applies to you: 1.5
PreliminaryFrom the CVSS vector only · confidence low
CVSS
5.9
scored by the vendor (CNA), CVSS 4.0
In plain words
No plain-language summary yet. The original description is below.
Original description (from canonical)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| authdNiche | >= 0.1, < 0.7.1; >= 0.1, < 0.7.1~ubuntu24.04.1; >= 0.1, < 0.7.1~ubuntu26.04 | 0.7.1, 0.7.1~ubuntu24.04.1, 0.7.1~ubuntu26.04 |
What to do
Update to a fixed version: 0.7.1, 0.7.1~ubuntu24.04.1, 0.7.1~ubuntu26.04.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Major data exposureReads secrets, credentials, databases, arbitrary files | From the CVSS vector | 0.80 |
| Attacker position | LocalMust already run code or have a shell on the machine | From the CVSS vector | 0.50 |
| Privileges needed | NoneNo account | From the CVSS vector | 1.00 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | UncommonNeeds a non-default feature that a minority enables | From the CVSS vector | 0.45 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 0.1% chance of exploitation in 30 days (percentile 1), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.101
- Threat T1: Nothing known0.850
- 10 × impact 0.8 × prerequisites 0.1013 × threat 0.850.689
- Rounded to one decimal between 0.1 and 100.7
Exploitation and evidence timeline
- 15 Oct 2026 Published
- 3 Dec 2026 Risk 0.7 (cvss fallback)
Weakness
CWE-287