# CVE-2026-123879: authd: SSH session with another account's UID via lost in-memory ID reservation after authd restart

- **Severity:** HIGH 7.2
- **CVSS:** 7.2 (v4.0, CNA) `CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:A/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: Active; Confidentiality impact: High; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.57% (percentile 41, 2026-11-28)
- **CWE:** CWE-284
- **Published:** 2026-11-25T20:55:21.700Z
- **Modified:** 2026-11-25T21:17:16.430Z

## Who should check

- Anyone running Canonical authd \>= 0.4.1, \< 0.7.2; \>= 0.6.1ubuntu0.1, \< 0.6.1ubuntu0.2

## Description

In authd before 0.7.2, an improper access control vulnerability allows an authenticated remote attacker to complete a first-time SSH login with another account's UID and incorrect primary GID, and to read or modify files owned by that account. This allows an attacker to access another account's data, potentially enabling account takeover or privilege escalation.

## Affected and fixed versions

- Canonical authd: \>= 0.4.1, \< 0.7.2; \>= 0.6.1ubuntu0.1, \< 0.6.1ubuntu0.2 (cvelist)

## Mitigation

- Upgrade authd to 0.6.1ubuntu0.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-123879. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-123879.md
Affected: Canonical authd >= 0.4.1, < 0.7.2; >= 0.6.1ubuntu0.1, < 0.6.1ubuntu0.2
Fixed in: Canonical authd 0.7.2, Canonical authd 0.6.1ubuntu0.2

Steps:
1. Search this machine and project for Canonical authd: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-123879 being exploited?

There is no confirmed exploitation: CVE-2026-123879 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.57% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-123879?

High: CVSS 7.2 (v4.0, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-123879?

Canonical authd \>= 0.4.1, \< 0.7.2; \>= 0.6.1ubuntu0.1, \< 0.6.1ubuntu0.2.

### Is there a fix for CVE-2026-123879?

Yes. Fixed in Canonical authd 0.7.2, Canonical authd 0.6.1ubuntu0.2. Upgrade authd to 0.6.1ubuntu0.2 or later.

### How do I check if I'm affected by CVE-2026-123879?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/canonical/authd/security/advisories/GHSA-7j35-3378-8qvg>
- patch: <https://github.com/canonical/authd/commit/888213607a9a2ceb00eb020f1396703b33d0f04a>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-123879>
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-123879> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-123879>
