{"id":"CVE-2025-5689","state":"PUBLISHED","title":"Improper Permission Management in SSH Session Handling","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.","publishedAt":"2025-06-16T11:37:12.230Z","updatedAt":"2025-06-17T17:27:04.238Z","severity":{"score":8.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","source":"canonical"},"assigner":"canonical","products":["Canonical authd"],"affected":[{"vendor":"Canonical","product":"authd","packageName":"authd","defaultStatus":"unaffected","versions":[{"version":"0.0.0","status":"affected","lessThanOrEqual":"0.5.4","versionType":"semver"}],"platforms":["Linux"]}],"references":["https://github.com/ubuntu/authd/security/advisories/GHSA-g8qw-mgjx-rwjr"],"weaknesses":["CWE-269"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/5xxx/CVE-2025-5689.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-5689","state":"PUBLISHED","datePublished":"2025-06-16T11:37:12.230Z","dateUpdated":"2025-06-17T17:27:04.238Z","assignerShortName":"canonical","assignerOrgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateReserved":"2025-06-04T17:12:16.505Z"},"containers":{"cna":{"title":"Improper Permission Management in SSH Session Handling","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"Canonical","product":"authd","packageName":"authd","defaultStatus":"unaffected","versions":[{"version":"0.0.0","status":"affected","lessThanOrEqual":"0.5.4","versionType":"semver"}],"platforms":["Linux"]}],"references":[{"url":"https://github.com/ubuntu/authd/security/advisories/GHSA-g8qw-mgjx-rwjr"}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"providerMetadata":{"shortName":"canonical","orgId":"cc1ad9ee-3454-478d-9317-d3e869d708bc","dateUpdated":"2025-06-17T14:51:36.087Z"},"source":{"discovery":"INTERNAL"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-06-16T14:30:20.756660Z","id":"CVE-2025-5689","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-269","type":"CWE","lang":"en","description":"CWE-269 Improper Privilege Management"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-06-17T17:27:04.238Z"}}]}}}