{"cve":"CVE-2026-6970","nvd":{"published":"2026-04-27T16:16:46.300","modified":"2026-10-26T22:10:00.163","status":"Deferred","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.","cvss_v4":{"vector":"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","score":7.3},"cvss_v3":null,"cwes":["CWE-842"],"references":["https://github.com/canonical/authd/commit/154b428305cb1a7a19c897626fefd09d6dde8b9f","https://github.com/canonical/authd/security/advisories/GHSA-fg3j-5w9g-hmg7"],"products":[],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-6970","score":0.0011,"percentile":0.01263,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-fg3j-5w9g-hmg7","url":"https://osv.dev/vulnerability/GHSA-fg3j-5w9g-hmg7","summary":"authd: Primary group ID is incorrectly set to value of UID ","modified":"2026-06-25T19:56:29.771005213Z","packages":[{"ecosystem":"Go","name":"github.com/canonical/authd","purl":"pkg:golang/github.com/canonical/authd","ranges":[">=0.6.0 <0.6.4"],"fixed":["0.6.4"]}]},{"id":"GO-2026-5361","url":"https://osv.dev/vulnerability/GO-2026-5361","summary":"authd: Primary group ID is incorrectly set to value of UID in github.com/canonical/authd","modified":"2026-06-25T19:45:34.251570737Z","packages":[{"ecosystem":"Go","name":"github.com/canonical/authd","purl":"pkg:golang/github.com/canonical/authd","ranges":[">=0.6.0 <0.6.4"],"fixed":["0.6.4"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}