Account takeover in authd after IdP email reassignment
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · Low · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-287.
Summary
Canonical authd is affected before 0.7.1, before 0.7.1~ubuntu24.04.1 and before 0.7.1~ubuntu26.04. Identity matching falls back to the username when the provider ID is unknown and accepts a conflicting provider ID (CWE-287). A reassigned email address lets the new account inherit the previous user's local UID and home directory on its next login. A local attacker with no privileges can then read and modify that user's files, including SSH keys and cloud API tokens.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Canonical | authd | 0.1 to before 0.7.1; 0.1 to before 0.7.1~ubuntu24.04.1; 0.1 to before 0.7.1~ubuntu26.04 | 0.7.1, 0.7.1~ubuntu24.04.1, 0.7.1~ubuntu26.04 | Patch available | CNA |
- authd VendorCanonical Affected 0.1 to before 0.7.1; 0.1 to before 0.7.1~ubuntu24.04.1; 0.1 to before 0.7.1~ubuntu26.04 Fixed in 0.7.1, 0.7.1~ubuntu24.04.1, 0.7.1~ubuntu26.04 Patch available CNA
Remediation
Upgrade Canonical authd to 0.7.1, 0.7.1~ubuntu24.04.1 or 0.7.1~ubuntu26.04, which fix the flaw. Until the update is applied, lock or delete the previous user's local authd account when the corresponding identity provider account is removed.
Written with Claude Haiku 5.5 from the sources below · 2026-11-06
- Fix · CNA authd (Canonical) Fixed in 0.7.1, 0.7.1~ubuntu24.04.1, 0.7.1~ubuntu26.04
Vendor assessments
Timeline
- 2026-10-16 Threatist record created from CVE-2026-102631
- 2026-10-16 Priority changed: MEDIUM → LOW
- 2026-10-18 CISA SSVC decision points changed
- 2026-11-06 Affected versions changed · Red Hat
- 2026-11-06 CVSS score added · Red Hat
References
More Canonical vulnerabilities
- TI-2020-09349 An issue was discovered in SaltStack Salt before 2019.2.4 and 3000 before 3000.2. KEVCVSS 3.1CRITICAL 9.8
- TI-2020-05854 smtp_mailaddr in smtp_session.c in OpenSMTPD 6.6, as used in OpenBSD 6.6 and other… KEVCVSS 3.1CRITICAL 9.8
- TI-2020-01431 Netlogon Elevation of Privilege Vulnerability KEVCVSS 3.1CRITICAL 10.0
- TI-2019-12627 Exim 4.92 through 4.92.2 allows remote code execution, a different vulnerability than… KEVCVSS 3.1CRITICAL 9.8
- TI-2019-08259 Underflow in PHP-FPM can lead to RCE KEVCVSS 3.1CRITICAL 9.8
- TI-2019-07471 OS command injection in exim KEVCVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-102631 · CVE Program
- CVE-2026-102631 · NVD
- FIRST EPSS
- CVE-2026-102631 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences