Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V8 - Authorization Least privilege enforcement
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | CVSS 8.5 indicates high severity (AV:N/AC:L/PR:L/S:C/C:H/I:L/A:N), but this score requires proper contextualization: The attack requires PR:L (Low Privilege), meaning an attacker must already have valid credentials and SSH access—this is not an unauthenticated attack. AC:L (Low Complexity) means exploitation is straightforward once access is gained. The scope change (S:C) and high confidentiality impact (C:H) suggest the attacker can access files/data restricted to root group, which is substantial. However, real-world risk depends on: (1) whether the system uses first-time user authentication patterns, (2) authentication infrastructure configuration, and (3) whether this has been added to CISA KEV catalog or actively exploited. Without explicit KEV status or EPSS data provided, the true exploitation probability remains uncertain. Organizations with strict SSH key management and no dynamic first-time authentication may face lower practical risk than those with centralized authentication and frequent new user onboarding. This is a 'medium-to-high priority' vulnerability—not critical, but requiring prompt patching in affected environments. |
| Exploit ScenarioDerived | A threat actor with valid credentials (e.g., a former contractor, compromised low-privilege account, or via phishing/credential stuffing) initiates their first SSH login to a target system. The authd daemon creates a temporary user record for authentication and incorrectly assigns root group (GID 0) membership due to this flaw. Once authenticated, the attacker's SSH session runs with root group privileges, allowing them to: (1) read files group-owned by root (typically /etc/shadow, database files, configuration files), (2) modify group-writable files to plant persistence mechanisms or escalate further, or (3) gather sensitive information not normally accessible to unprivileged users. The attack is not a full privilege escalation to UID 0 (root user), but rather a group membership escalation that enables unauthorized access to sensitive resources. No public proof-of-concept exploitation has been noted in the provided data, but the straightforward nature of the flaw (AC:L) suggests PoC development would be trivial for skilled attackers. Attack complexity is low because exploitation simply requires authenticating with valid credentials and logging in for the first time—no additional exploitation techniques needed. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 14, 2026
Privilege escalation flaw in authd's temporary user record handling during pre-authentication NSS operations that causes first-time SSH login users to be incorrectly assigned root group membership within their session context. This allows authenticated users (PR:L) to gain elevated group privileges over the network (AV:N) with low complexity, affecting system confidentiality (C:H) and integrity (I:L). The vulnerability has a high CVSS score of 8.5, though real-world exploitation requires valid login credentials and depends on authentication infrastructure specifics.
RemediationAI
Immediate remediation steps: (1) Patch authd to the latest patched version from your distribution vendor (check RedHat Security Advisories, Debian Security Tracker, or your vendor's bulletin for CVE-2025-5689). (2) Until patching, implement workarounds by restricting SSH access to known users only (disable password authentication if possible, use key-based auth with restricted authorized_keys). (3) Review and restrict sudo/group membership policies to minimize blast radius if a first-time user gains elevated group access. (4) Monitor authd logs and SSH authentication logs for first-time user logins and unexpected group assignments. (5) Consider disabling first-time user auto-provisioning features if feasible. (6) Apply the patch through standard distribution update channels (yum update authd, apt-get update && apt-get upgrade authd, or equivalent). Verify patch application by checking authd version post-update and testing first-time user authentication in a controlled environment.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The vulnerability exists in authd (authentication daemon) and its interaction with NSS (Name Service Switch) during the pre-authentication phase. Specifically, when authd creates a temporary user record for first-time SSH authentication, it incorrectly initializes group memberships to include the root group (GID 0). This is a CWE-269 (Improper Access Control / Unintended Access) issue where the access control logic fails to properly restrict group membership assignment. The flaw manifests in the NSS layer responsible for user and group lookups during SSH authentication, meaning the vulnerability affects any system using authd with SSH that relies on dynamic user provisioning or first-time user authentication scenarios. The root cause appears to be insufficient validation or initialization of group context in the temporary user record structure before it is made available to the authentication context.
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
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionCVE.org
A flaw was found in the temporary user record that authd uses in the pre-auth NSS. As a result, a user login for the first time will be considered to be part of the root group in the context of that SSH session.
Executive ViewAI
CVE-2025-5689 allows first-time SSH users to gain root-level privileges on affected systems, creating a critical unauthorized access vulnerability. This directly threatens system integrity, data security, and compliance posture across any infrastructure using affected authentication services.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
Local privilege escalation in Canonical's authd (the Ubuntu authentication daemon for external identity providers) prior
Authd, through version 0.3.6, did not sufficiently randomize user IDs to prevent collisions. Rated medium severity (CVSS
Authd PAM module before version 0.3.5 can allow broker-managed users to impersonate any other user managed by the same b
Canonical authd before 0.7.1 can silently rebind a recycled identity-provider email address to an existing local account
authd sets weak permissions for /etc/ident.key, which allows local users to obtain the key by leveraging a race conditio
Same weakness CWE-269 – Improper Privilege Management
View allSame technique Authentication Bypass
View allVendor StatusVendor
SUSE
Severity: High| Product | Status |
|---|---|
| SUSE Linux Enterprise Server 16.0 | Fixed |
| openSUSE Tumbleweed | Fixed |
EUVD-2025-18385
GHSA-g8qw-mgjx-rwjr
NVD
CVE.org
EPSS
Exploit-DB