Skip to main content

CVE-2026-102631: CWE-287 Improper Authentication in Canonical authd

0
Medium
VulnerabilityCVE-2026-102631cvecve-2026-102631cwe-287
Published: 10/15/2026 (10/15/2026, 16:42:19 UTC)
Source: CVE Database V5
Vendor/Project: Canonical
Product: authd

Description

CVE-2026-102631 is an improper authentication vulnerability in Canonical's authd before version 0.7.1. The issue arises from how user identity matching is performed during login, where fallback to username matching can cause account reassignment if an identity provider reassigns an email address. This allows a new user to inherit the previous user's local UID and home directory, gaining unauthorized access to files and credentials such as SSH keys and cloud API tokens. Administrators are advised to lock or delete local authd accounts corresponding to removed identity provider accounts to mitigate this risk.

CVSS v4.0

Score 5.9medium

Attack Vector
Local
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
Low
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

Canonical

authd

Affected versions
>=0.1 <0.7.1>=0.1 <0.7.1~ubuntu24.04.1>=0.1 <0.7.1~ubuntu26.04
GitHub Actionsmore threats →cve
authd
pkg:github/authd
Affected versions
>=0.1 <0.7.1>=0.1 <0.7.1~ubuntu24.04.1>=0.1 <0.7.1~ubuntu26.04

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/15/2026, 17:18:31 UTC

Technical Analysis

In authd versions prior to 0.7.1, the UpdateUser function matches incoming logins first by broker-scoped provider ID, but if the provider ID is unknown, it falls back to matching by username without rejecting conflicting non-empty provider IDs. This flaw allows an identity provider to reassign an email address (used as the username) to a new account, causing the new account to inherit the previous user's local UID and home directory upon login. Consequently, the new user gains access to the previous user's files and credentials, including SSH keys and cloud API tokens, effectively rebinding the local account record to the new identity.

Potential Impact

The vulnerability enables unauthorized access to local user files and sensitive credentials by allowing a new user to inherit the previous user's local UID and home directory. This can lead to unauthorized modification and access to SSH keys, cloud API tokens, and other sensitive data stored in the user's home directory. The impact is limited to local authentication and identity management within authd and requires local access vectors.

Mitigation Recommendations

No official patch or fix is currently documented. Administrators should mitigate this vulnerability by locking or deleting the previous user's local authd account when the corresponding identity provider account is removed. This prevents the reassignment of local UIDs and home directories to new users. Monitor vendor advisories for any official fixes or updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
canonical
Date Reserved
2026-09-29T15:27:33.452Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ad1078e2cdf04f65648c5a4

Added to database: 10/15/2026, 17:04:14 UTC

Last enriched: 10/15/2026, 17:18:31 UTC

Last updated: 10/15/2026, 17:18:31 UTC

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses