{"id":"CVE-2025-5689","published":"2025-06-16T11:37:12Z","modified":"2025-06-17T17:27:04Z","title":"Improper Permission Management in SSH Session Handling","vendor":"Canonical","product":"authd","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00315,"percentile":0.25039,"provenance":"source"},"cwes":[{"id":"CWE-269","name":"Improper Privilege Management"}],"references":[{"url":"https://github.com/ubuntu/authd/security/advisories/GHSA-g8qw-mgjx-rwjr","tags":[]}],"priority":{"score":11.0,"factors":[{"name":"EPSS percentile","points":5.01},{"name":"CVSS severity","points":5.95}]},"vendorSlug":"canonical","affectedVersions":[{"vendor":"Canonical","product":"authd","versions":[">= 0.0.0, <= 0.5.4"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-06-16T14:30:20.756660Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/ubuntu/authd","vulnerableRanges":["<0.5.4"],"patched":["0.5.4"],"from":["GHSA-g8qw-mgjx-rwjr","GO-2025-3762"],"provenance":"source"}],"summary":{"text":"A flaw in Canonical's authd affects the temporary user record that authd maintains for its pre-authentication NSS handling. Because of it, a user logging in for the first time is treated as a member of the root group within that SSH session. An attacker with network access and low privileges can exploit this during an SSH login, with no user interaction required, to obtain root group context for that session and read data they should not be able to reach.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:57:06Z"},"euvd":{"id":"EUVD-2025-18385","exploited":false,"provenance":"source"}}