# CVE-2026-6970: authd Denial of Service and Local Privilege Escalation

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; 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:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.15% (percentile 2, 2026-11-26)
- **CWE:** CWE-842
- **Aliases:** GHSA-fg3j-5w9g-hmg7, GO-2026-5361
- **Published:** 2026-04-27T15:28:48.209Z
- **Modified:** 2026-10-26T22:10:00.163Z

## Who should check

- Projects that depend on Go package github.com/canonical/authd (\>= 0.6.0, \< 0.6.4)
- Anyone running Canonical authd \>= 0.6.0, \< 0.6.4; \>= 0.6.1, \< 0.6.1ubuntu0.1

## Description

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.

## Affected and fixed versions

- Go `github.com/canonical/authd`: affected \>= 0.6.0, \< 0.6.4; fixed 0.6.4 (osv)
- Canonical authd: \>= 0.6.0, \< 0.6.4; \>= 0.6.1, \< 0.6.1ubuntu0.1 (cvelist)

## Mitigation

- Upgrade github.com/canonical/authd to 0.6.4 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-6970. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-6970.md
Affected: github.com/canonical/authd >= 0.6.0, < 0.6.4
Fixed in: 0.6.4

Steps:
1. Search this machine and project for github.com/canonical/authd (Go), 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-6970 being exploited?

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

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

High: CVSS 7.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

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

github.com/canonical/authd \>= 0.6.0, \< 0.6.4.

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

Yes. Fixed in 0.6.4. Upgrade github.com/canonical/authd to 0.6.4 or later.

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

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-fg3j-5w9g-hmg7>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-6970>
- patch: <https://github.com/canonical/authd/commit/154b428305cb1a7a19c897626fefd09d6dde8b9f>
- other: <https://github.com/canonical/authd>

## 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-6970>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-fg3j-5w9g-hmg7> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-5361> (license: <https://creativecommons.org/licenses/by/4.0/>)

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