# CVE-2025-5689: Improper Permission Management in SSH Session Handling

- Severity: High 8.5 (CVSS:3.1, scored by canonical) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2025-06-16T11:37:12.230Z
- Modified: 2026-06-17T09:48:33.597Z
- Also known as: GHSA-g8qw-mgjx-rwjr, GO-2025-3762
- Weaknesses: CWE-266, CWE-269
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: canonical

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

(As written by CVE List.)

## Affected

- authd: from 0.0.0 up to 0.5.4
- github.com/ubuntu/authd (Go): before 0.5.4
- canonical authd: before 0.5.4

## Every score

- canonical: CVSS:3.1 8.5 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 6.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N`

## References

- <https://github.com/ubuntu/authd/security/advisories/GHSA-g8qw-mgjx-rwjr> (advisory, patch, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-5689> (advisory)
- <https://github.com/ubuntu/authd/commit/619ce8e55953b970f1765ddaad565081538151ab> (fix, web)
- <https://github.com/ubuntu/authd> (package)

## Sources

- CVE List: [CVE-2025-5689](https://www.cve.org/CVERecord?id=CVE-2025-5689), CVE Terms of Use, modified 2025-06-17
- GitHub Advisory Database: [GHSA-g8qw-mgjx-rwjr](https://github.com/advisories/GHSA-g8qw-mgjx-rwjr), CC-BY-4.0, modified 2025-07-28
- Go Vulnerability Database: [GO-2025-3762](https://pkg.go.dev/vuln/GO-2025-3762), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2025-5689](https://nvd.nist.gov/vuln/detail/CVE-2025-5689), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-5689 · Whole record: https://cve.day/CVE-2025-5689.json · Rebuilt by cve.day 2026-11-25T22:58:59.241Z
