High severity · published Jun 16, 2025
CVE-2025-5689
A flaw was found in the temporary user record that authd uses in the pre-auth NSS
8.5
CVSS
0.3%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Confidentiality
High
Integrity
Low
Availability
None
Scope
Changed
Exploitation
Is it being used?
Exploit prediction (EPSS)0.3% · higher than 23% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AU
Authd · Canonical
before 0.5.4 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2025-5689
CVE.org
https://www.cve.org/CVERecord?id=CVE-2025-5689
Patch
https://github.com/ubuntu/authd/security/advisories/GHSA-g8qw-mgjx-rwjr
More from Authd
8.8
CVE-2024-9313
Authd PAM module before version 0.3.5 can allow broker-managed users to impersonate any other user managed by the same broker and perform any PAM operation with it, including…
7.3
CVE-2026-6970
authd Denial of Service and Local Privilege Escalation
6.4
CVE-2024-9312
Authd, through version 0.3.6, did not sufficiently randomize user IDs to prevent collisions
5.9
CVE-2026-102631
authd: Account takeover via username fallback in identity matching after IdP email reassignment
