CVE-2026-102631
published medium CVSS 4.0 · 5.9authd: Account takeover via username fallback in identity matching after IdP email reassignment
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Canonical | — | authd0.1 to < 0.7.1 · 0.1 to < 0.7.1~ubuntu24.04.1 · 0.1 to < 0.7.1~ubuntu26.04 · Other versions: unaffected · Platforms: Linux | Affected | Not stated | canonical |
| Ubuntu | stonking | authd | Advisory build | 0.7.1 | USN-8957-1 |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.9 / 10
- Severity
- medium
- Provider
- canonical · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Canonical | authd | 0.1 to < 0.7.1 (affected · custom)0.1 to < 0.7.1~ubuntu24.04.1 (affected · custom)0.1 to < 0.7.1~ubuntu26.04 (affected · custom)Default: unaffected | canonical · cna |
Weaknesses
1- CWE-287 CWE-287 Improper Authentication
References
3Provider assertions
2canonical · cna
authd: Account takeover via username fallback in identity matching after IdP email reassignment
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 49885d4078080da8cd4513af08f6c2644a223f3401ffec2adb7086109e6a48bd
- Ingested
- 16 Oct 2026, 20:28:24 UTC
- Source record
- Official CVE record