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

- Priority: **Routine**
- Reason: Not severe (CVSS 8.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-16 · Modified: 2025-06-17
- Aliases: GHSA-g8qw-mgjx-rwjr, GO-2025-3762
- Record: https://cvemate.com/vulnerability/CVE-2025-5689 · JSON: https://cvemate.com/vulnerability/CVE-2025-5689/json

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

## Signals

- CVSS: 8.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N
- EPSS: 0.315%, percentile 26.292%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- canonical authd: ≥ 0.0.0, ≤ 0.5.4 \| \< 0.5.4
- github.com/ubuntu authd (Go): \< 0.5.4

## References

- <https://github.com/ubuntu/authd/security/advisories/GHSA-g8qw-mgjx-rwjr>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-5689>
- <https://github.com/ubuntu/authd/commit/619ce8e55953b970f1765ddaad565081538151ab>
- <https://github.com/ubuntu/authd>

---

Data as of 2026-12-05T02:45:48.291Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
