CVE-2026-6970
HIGH 7.3CVSS 4.0authd: Primary group ID is incorrectly set to value of UID
authd prior to version 0.6.4 contains a logic error in primary group ID assignment that can lead to local privilege escalation. When a user's primary group ID (GID) differs from their UID, either because the account was created with authd prior to version 0.5.4 or because the primary group was manually changed via the authctl group set-gid command, and the user's identity provider record is updated, authd incorrectly resets the user's primary group ID to their UID upon next login. This causes newly created files and directories to be owned by the wrong group, causing denial of service issues, and potentially granting unintended access to other local users and allowing local privilege escalation.
- Published
- 27 Apr 2026
- Last modified
- 26 Oct 2026
- Assigned by
- security@ubuntu.com
- NVD status
- Deferred
- Weakness
- CWE-842
- Also known as
- GHSA-fg3j-5w9g-hmg7GO-2026-5361
- Sources
- NVDJSONOSV GHSA-fg3j-5w9g-hmg7JSONOSV GO-2026-5361JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@ubuntu.com (Secondary) | CVSS 4.0 | HIGH 7.3 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Go | github.com/canonical/authd | >= 0.6.0, < 0.6.4 | 0.6.4 |
References
- https://github.com/canonical/authd/commit/154b428305cb1a7a19c897626fefd09d6dde8b9f · WEB, FIX
- https://github.com/canonical/authd/security/advisories/GHSA-fg3j-5w9g-hmg7 · WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2026-6970 · ADVISORY
- https://github.com/canonical/authd · PACKAGE
History
- 25 Nov 2026 21:02 UTC · NVD: first stored (published 27 Apr 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 25 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 5 May 2026)