CVE-2026-6970

High

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.

SeverityHigh
CVSS7.3
Exploit probability—
ProductGithub.com/canonical/authd
PublishedApr 27, 2026
First seenApr 27, 2026
Weakness typeCWE-842CWE-842

How to fix

Affected products

ProductAffected versionsFixed in
github.com/canonical/authdGo0.6.0 ≤ v < 0.6.40.6.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.