Skip to main content

Canonical authd CVE-2026-6970

| EUVDEUVD-2026-25871 HIGH
Placement of User into Incorrect Group (CWE-842)
2026-04-27 canonical GHSA-fg3j-5w9g-hmg7
7.3
CVSS 4.0 · NVD
Share

Severity by source

NVD PRIMARY
7.3 HIGH
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
vuln.today AI
7.0 HIGH

Local, low-priv user (AV:L/PR:L); AC:H because it needs a pre-existing GID≠UID account plus an IdP-triggered record update; high C/I/A from cross-user file mis-ownership; scope unchanged.

3.1 AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
4.0 AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
SUSE
HIGH
qualitative

Primary rating from NVD.

CVSS VectorNVD

Attack Vector
Local
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

6
Source Code Evidence Fetched
Jul 24, 2026 - 01:53 vuln.today
Analysis Generated
Jul 24, 2026 - 01:53 vuln.today
CVSS changed
Apr 27, 2026 - 16:22 NVD
7.3 (HIGH)
EUVD ID Assigned
Apr 27, 2026 - 16:15 euvd
EUVD-2026-25871
Patch released
Apr 27, 2026 - 16:15 nvd
Patch available
CVE Published
Apr 27, 2026 - 15:28 nvd
HIGH 7.3

DescriptionCVE.org

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.

AnalysisAI

Local privilege escalation in Canonical's authd (the Ubuntu authentication daemon for external identity providers) prior to 0.6.4 arises from a logic error that resets a user's primary group ID (GID) to their UID when their identity-provider record changes. Affected are users whose primary GID legitimately differs from their UID - created under authd < 0.5.4 or reassigned via 'authctl group set-gid' - causing newly created files and directories to be misowned by an unintended group. Publicly available exploit code exists, but there is no public exploit identified as actively used; SSVC records exploitation status as none and EPSS is negligible (0.01%).

Technical ContextAI

authd is Canonical's daemon that lets Ubuntu authenticate local logins against cloud identity providers (e.g. Microsoft Entra ID / OIDC brokers), provisioning per-user private groups via NSS. The flaw is CWE-842 (placement of a resource into the wrong sphere / incorrect group assignment): in internal/users/manager.go the UpdateUser function unconditionally set the user's private-group GID equal to the UID (userPrivateGroup.GID = &u.UID) on every update, discarding any custom GID previously stored. The CPE cpe:2.3:a:canonical:authd confirms the single affected package. The 0.6.4 fix reworks the loop so the private group's GID defaults to the UID only on first login (when the group does not yet exist) and otherwise preserves the existing stored GID across subsequent logins.

RemediationAI

Vendor-released patch: upgrade to authd 0.6.4 (Ubuntu users update to 0.6.1ubuntu0.1 or later), which preserves custom private-group GIDs across logins; see https://github.com/canonical/authd/security/advisories/GHSA-fg3j-5w9g-hmg7 and the fix commit https://github.com/canonical/authd/commit/154b428305cb1a7a19c897626fefd09d6dde8b9f. Patching alone does not repair accounts already corrupted, so run the vendor-provided remediation script, which for each authd user restores the correct GID via two 'authctl group set-gid' calls and recursively re-owns home-directory files with 'chown -R --from=:OLD_GID :GID'; affected users must then log out and back in (optionally force-terminate sessions with 'loginctl terminate-user') for id/groups and new-file GID stamping to reflect the fix. Files owned by the incorrect GID outside the home directory must be re-owned manually. As an interim compensating control before patching, avoid changing identity-provider records for affected accounts (which is what triggers the reset) and audit/tighten permissions on world- or group-readable directories to limit cross-user exposure - with the trade-off that IdP attribute changes cannot be deferred indefinitely.

Vendor StatusVendor

SUSE

Severity: Important
Product Status
SUSE Linux Enterprise Server 16.1 Affected
SUSE Linux Enterprise Server for SAP applications 16.1 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP5 Affected
SUSE Linux Enterprise Module for Package Hub 15 SP6 Affected
openSUSE Leap 15.5 Affected

Share

CVE-2026-6970 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy