CVE-2025-5689 Details
Description
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.
A privilege escalation vulnerability exists in Ubuntu Authd versions prior to 0.5.4. When a new user logs in in an SSH session, they are incorrectly granted membership in the root group. This flaw arises from an issue in the temporary user record used by Authd in the pre-authentication Name Service Switch (NSS). As a result, users who should not have root privileges could gain elevated rights during their SSH session.
Users can upgrade to Authd version 0.5.4 or later to address this vulnerability. Alternatively, SSH server configurations can be adjusted to disallow authentication via Authd, such as by setting 'UsePAM no' or 'KbdInteractiveAuthentication no' in the 'sshd_config'.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 16, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/ubuntu/authd/security/advisories/GHSA-g8qw-mgjx-rwjr | [email protected] | PatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-269 | Improper Privilege Management | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| canonical authd | < 0.5.4 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 26, 2025 | Initial Analysis | [email protected] |
| Jun 17, 2025 | CVE Modified | CISA-ADP |
| Jun 17, 2025 | CVE Modified | [email protected] |
| Jun 16, 2025 | New CVE Received | [email protected] |