Skip to main content

Authd CVE-2025-5689

| EUVDEUVD-2025-18385 HIGH
Improper Privilege Management (CWE-269)
2025-06-16 security@ubuntu.com GHSA-g8qw-mgjx-rwjr
8.5
CVSS 3.1 · NVD
View

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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

Authd 0.0.0 ≤0.5.4

Affected Packages

go github.com/ubuntu/authd fix: 0.5.4
euvd authd no fix

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

NVD PRIMARY 8.5 HIGH
AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
SUSE HIGH

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None

Lifecycle Timeline

2
Patch released
Mar 14, 2026 - 21:59 nvd
Patch available
CVE Published
Jun 16, 2025 - 12:15 nvd
HIGH 8.5

DescriptionCVE.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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.0%
Top 94% exploitable
Data Quality
5 sources
Confidence: Medium

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 HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Very High

Priority Score

42
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +42
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.

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Vendor StatusVendor

SUSE

Severity: High
Product Status
SUSE Linux Enterprise Server 16.0 Fixed
openSUSE Tumbleweed Fixed

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