Skip to content

id: groups= computed from real GID instead of effective GID

Moderate
sylvestre published GHSA-47c7-qrm7-mqw7 May 30, 2026

Package

cargo uu_id (Rust)

Affected versions

< 0.6.0

Patched versions

0.6.0

Description

The id utility in uutils coreutils miscalculates the groups= section of its output. The implementation uses a user's real GID instead of their effective GID to compute the group list, leading to potentially divergent output compared to GNU coreutils. Because many scripts and automated processes rely on the output of id to make security-critical access-control or permission decisions, this discrepancy can lead to unauthorized access or security misconfigurations.


Zellic finding 3.72. Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.

Severity

Moderate

CVE ID

CVE-2026-35370

Weaknesses

Improper Check for Dropped Privileges

The product attempts to drop privileges but does not check or incorrectly checks to see if the drop succeeded. Learn more on MITRE.