CVE-2026-6970 Details
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.
A local privilege escalation vulnerability has been identified in authd versions prior to 0.6.4. The issue arises from a logic error in how primary group IDs (GIDs) are assigned, particularly for users whose GID does not match their user ID (UID). This mismatch can occur if the user was created with an earlier version of authd or if the GID was manually changed using the authctl command. When such a user's identity provider record is updated, authd incorrectly resets the GID to the UID upon the next login. This error can lead to files and directories being owned by the wrong group, potentially causing denial-of-service issues and allowing unintended access to other local users, thereby facilitating privilege escalation.
Users can manually reset the GID for affected accounts using the authctl group set-gid command. After correcting the GID, users should log out and back in to ensure the changes are applied. For files owned by the incorrect GID, the ownership can be updated using the chown command. Authd users can also be logged out of their sessions by terminating their active login with the loginctl terminate-user command.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Apr 27, 2026CISA-ADP
Assessed Apr 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/canonical/authd/commit/154b428305cb1a7a19c897626fefd09d6dde8b9f | [email protected] | Source CodeVendor |
| https://github.com/canonical/authd/security/advisories/GHSA-fg3j-5w9g-hmg7 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-842 | Placement of User into Incorrect Group | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| canonical authd | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 27, 2026 | New CVE Received | [email protected] |
Volerion