Skip to main content

Canonical authd EUVDEUVD-2026-102198

| CVE-2026-102631 MEDIUM
Improper Authentication (CWE-287)
2026-10-15 canonical GHSA-92hm-xx6p-hch9
5.9
CVSS 4.0 · Vendor: canonical
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    IdP reassigns prior user's email to new account
  2. Delivery
    New account authenticates via authd broker
  3. Exploit
    Provider-ID fallback matches on username
  4. Execution
    Session inherits prior user's UID and home directory
  5. Impact
    Access and modify prior user's SSH keys and cloud tokens

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires authd before 0.7.1 deployed with an OIDC broker configuration in which the IdP email address is used as the local username. The specific trigger is that the identity provider reassigns a previously-used email to a NEW account (email/username recycling) after the original IdP account is removed, AND the administrator fails to lock or delete the original user's local authd account. Exploitation then occurs only on the new user's local login to the affected host. Limiting factors: this depends on an IdP-side administrative lifecycle event the attacker does not control, it is local to the authd-managed machine (AV:L), carries a specific attack requirement (AT:P) and high complexity (AC:H), and the documented mitigation - locking/deleting the departed user's local account at IdP removal time - fully prevents it.

Impact

This is a genuine but highly conditional flaw rather than a mass-exploitation priority. The vendor CVSS 4.0 vector (AV:L/AC:H/AT:P/PR:N/UI:N) scores 5.9 (medium) and is internally consistent with the description: exploitation is local (requires a login on the authd-managed host), carries high attack complexity (AC:H), and explicitly flags an attack requirement (AT:P) - namely that an identity provider must reassign a previously-used email/username to a new account while the original user's local authd account is left in place. VC:H reflects real exposure of the prior user's SSH keys and cloud API tokens; VI:L reflects the silent rebinding and file modification. No EPSS score, no CISA KEV listing, and no public exploit code were provided, which is consistent with a logic/identity-confusion bug whose trigger (IdP email recycling) is an organizational event an external attacker cannot directly force. The PR:N metric is notable: the 'attacker' is a legitimate user authenticating with their own valid IdP credentials for the recycled email, so no prior privileges on the target are needed - but this is not remote unauthenticated code execution, and AV:L plus AT:P sharply limit practical reach. Net: a real risk for environments that recycle email addresses across IdP account lifecycles, but low likelihood of widespread opportunistic exploitation.

Exploit ScenarioDerived

An organization uses authd with an OIDC broker where the IdP email is the local username. An employee departs and their email (e.g. alice@corp.com) is later reassigned by the IdP to a new hire, while the departed user's local authd account is never locked or deleted. On the new hire's first login, authd's username fallback rebinds them to the prior user's local UID and home directory, giving them read/write access to the predecessor's SSH keys and cloud API tokens. No public exploit code was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 15, 2026

Canonical authd before 0.7.1 can silently rebind a recycled identity-provider email address to an existing local account record, so a newly created IdP account inherits the previous user's local UID and home directory - including SSH keys and cloud API tokens - on its first login to the authd-managed host. Exploitation is highly conditional rather than a mass-exploitation priority: it requires an OIDC broker deployment that maps the IdP email address to the local username, an IdP-side reassignment of that email to a new account after the original IdP account is removed, and an administrator who has not locked or deleted the departed user's local authd account; the flaw is local to the managed machine (CVSS:4.0 base 5.9; independently assessed as CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N). No public exploit code was identified at time of analysis and the issue is not in CISA KEV, but the documented mitigation - locking or deleting the previous user's local authd account when the corresponding IdP account is removed - fully prevents it.

RemediationAI

Vendor-released patch: upgrade authd to 0.7.1 or later, which is the fix version implied by the affected range and the upstream change in PR 2067 (https://github.com/canonical/authd/pull/2067); package updates are tracked via https://ubuntu.com/security/CVE-2026-102631 and https://bugs.launchpad.net/ubuntu/+source/authd/+bug/2168531. The compensating control that fully prevents the issue is operational and must be enforced at IdP deprovisioning time: lock or delete the previous user's local authd account as soon as the corresponding IdP account is removed, so that a later reassignment of that email address to a new identity cannot inherit the stale local UID, home directory, SSH keys, or cloud API tokens - the trade-off is that this requires disciplined lifecycle synchronization between IdP and host account management, and locking an account prematurely will deny access to a legitimate user until it is unlocked. Administrators who cannot guarantee that discipline should avoid recycling email addresses as authd usernames (for example by issuing unique per-user identifiers), and should audit existing local account records for provider IDs that have been silently rebound to different identities; note that neither workaround remediates the underlying matching logic, which only the upgrade to 0.7.1 does.

Affected VersionsENISA

Authd 0.1 <0.7.1
Authd 0.1 <0.7.1~ubuntu26.04
Authd 0.1 <0.7.1~ubuntu24.04.1

Affected Packages

euvd authd fix: 0.7.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

authd is Canonical's authentication daemon that brokers local Linux logins against external identity providers; when paired with the authd-oidc-brokers component it authenticates users through an OIDC IdP and, in the affected configuration, uses the account's email address as the local username. The root cause is an authentication-logic flaw classed as CWE-287 (Improper Authentication): user identity matching in UpdateUser (internal/users/manager.go) resolves an incoming login by the broker-scoped provider ID, but when that provider ID does not correspond to any known user it falls back to matching on the username alone, and it does not reject a conflicting non-empty provider ID. Because broker-side state is cached per-identity (for example token.json under the provider-ID or username data directory) and the broker migrates username-keyed cache directories to provider-ID-keyed directories, a reassigned email address causes the local account record to be silently rebound to the new identity instead of being flagged as a mismatch. The upstream fix (PR 2067) introduces an errProviderIDMismatch condition, a session.verifyProviderID check against both the expected provider ID and the cached provider ID, a verifyCachedProviderID helper that validates cached token.json auth info before any directory is moved or adopted, and explicit refusals to proceed when a non-empty provider ID conflicts with the identity already bound to the local account, surfacing an 'account identity changed' authentication failure to the user.

Know when Authd gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (canonical) PRIMARY 5.9 MEDIUM
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
vuln.today AI 5.7 MEDIUM

Local login required (AV:L); conditional on IdP email reassignment making it high-complexity (AC:H); attacker uses own valid credentials so no prior privileges (PR:N); credential theft drives C:H, silent rebind/file edits I:L, no availability impact.

3.1 AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:L/AC:H/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (canonical).

CVSS VectorVendor: canonical

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
newer Canonical IdP-broker daemon for Ubuntu, niche deployment footprint
Social Media
1
Sightings
Data Quality
5 sources
Confidence: Medium
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Small
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy