CVE-2026-102631authd: Account takeover via username fallback in identity matching after IdP email…
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.
What to do
Fixed builds are available from Ubuntu: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | authd | Fixed | 0.7.1 | UBUNTU-CVE-2026-102631 |
| Ubuntu 26.04 | authd | Fix pending | UBUNTU-CVE-2026-102631 |
What the vendor says
As published in the CVE record by canonical, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Canonical authd: 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
Vendor advisories:
- https://github.com/canonical/authd/pull/2067 (patch)
- https://ubuntu.com/security/CVE-2026-102631 (vendor-advisory)
References
- https://github.com/canonical/authd/pull/2067
- https://bugs.launchpad.net/ubuntu/+source/authd/+bug/2168531
- https://ubuntu.com/security/CVE-2026-102631
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.