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.
Published: 2026-10-15
Score: 5.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Account takeover with credential theft
Action: Lock account
AI Analysis

Impact

authd does not reject a conflicting non‑empty provider ID when a provisioned IdP email is reassigned; the username fallback allows a new user to be matched to a prior account. The attacker therefore gains the prior user’s local UID and home directory, enabling read and write access to files such as SSH keys and cloud API tokens. This flaw is an instance of improper authentication (CWE‑287) that allows an unauthorized user to imitate a legitimate account.

Affected Systems

Canonical’s authd component, versions prior to 0.7.1, is affected. The vulnerability resides in the UpdateUser routine (internal/users/manager.go). Only installations running a vulnerable version of authd are susceptible.

Risk and Exploitability

The CVSS score of 5.9 indicates a moderate severity, and the EPSS score of less than 1% suggests a low current likelihood of exploitation. Since the flaw requires an identity provider to reassign an email address that authd uses as the username—and no direct remote trigger is provided—the attack surface is limited to environments where such email reassignments occur. The vulnerability is not listed in CISA’s KEV catalog, reinforcing that no widespread exploitation is currently reported. Administrators should therefore consider the threat as low-to‑moderate in typical settings, but should still apply mitigations to guard against potential account takeover.

Generated by OpenCVE AI on October 16, 2026 at 20:09 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Disable or delete the local authd account of the previous user before the IdP email reassignment.
  • Configure authd to enforce strict identity matching and prevent fallback to username.
  • Upgrade authd to version 0.7.1 or later where the bug has been fixed.

Generated by OpenCVE AI on October 16, 2026 at 20:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Ubuntu USN Ubuntu USN USN-8957-1 authd vulnerability
History

Sat, 17 Oct 2026 03:15:00 +0000

Type Values Removed Values Added
First Time appeared Canonical
Canonical authd
Vendors & Products Canonical
Canonical authd

Fri, 16 Oct 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 15 Oct 2026 17:00:00 +0000

Type Values Removed Values Added
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.
Title authd: Account takeover via username fallback in identity matching after IdP email reassignment
Weaknesses CWE-287
References
Metrics cvssV4_0

{'score': 5.9, 'vector': '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'}


cve-icon MITRE

Status: PUBLISHED

Assigner: canonical

Published:

Updated: 2026-10-16T20:16:49.275Z

Reserved: 2026-09-29T15:27:33.452Z

Link: CVE-2026-102631

cve-icon Vulnrichment

Updated: 2026-10-16T20:16:44.185Z

cve-icon NVD

Status : Deferred

Published: 2026-10-15T17:17:10.130

Modified: 2026-10-16T21:17:11.620

Link: CVE-2026-102631

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-17T03:00:02Z

Weaknesses