# CVE-2026-35370: uutils coreutils incorrect GID calculation in id utility

Source: https://junglewise.ai/threats/cve-2026-35370-uutils-coreutils-incorrect-gid-calculation-in-id-utility  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-04-22. Updated: 2026-07-06  
License: CC BY 4.0 with a link back

CVE-2026-35370 · Severity: medium · CVSS 4.4 · Published 2026-04-22

The 'id' utility in uutils coreutils, a Rust-based alternative to standard Linux system tools, incorrectly reports a user's group memberships. It mistakenly uses a user's permanent identity (real GID) instead of their current active identity (effective GID) when generating output. This can cause automated security scripts to make incorrect decisions, potentially leading to unauthorized access or system misconfigurations.

Technologies: [Uutils Coreutils](https://junglewise.ai/threats/technologies/uutils-coreutils). Vendors: [crates.io](https://junglewise.ai/threats/vendors/crates-io), [Uutils](https://junglewise.ai/threats/vendors/uutils).

## Quick answers

**Is CVE-2026-35370 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-35370 being exploited in the wild.

**How severe is CVE-2026-35370?** Medium severity, with a CVSS score of 4.4, published 22 April 2026.

**Which products and versions are affected?** uu_id (crates.io) < 0.6.0, SEMVER:introduced=0,fixed=0.6.0.

**Is there a fix for CVE-2026-35370?** Yes. uu_id (crates.io): upgrade to 0.6.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-35370 attacked?** It is attacked with local access, in a software library.

**Am I affected by CVE-2026-35370?** Check whether you run uu_id (crates.io) or Uutils Coreutils at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- uu_id (crates.io): upgrade to 0.6.0 or later

  ```sh
  cargo update -p uu_id
  ```


## Technical details

The vulnerability is classified as an incorrect authorization check (CWE-863) and improper check for dropped privileges (CWE-273) within the 'id' utility of uutils coreutils. The implementation incorrectly retrieves the group list based on the real Group ID (RGID) rather than the effective Group ID (EGID). An attacker with local access can exploit this by executing scripts or processes that rely on the output of 'id' to verify permissions, potentially bypassing intended access restrictions when effective privileges have been modified (e.g., via setpriv). The issue was identified in audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242 and is fixed in version 0.6.0.

## Affected products

- uutils coreutils uu_id < 0.6.0

## Identifiers

- CVE-2026-35370
- GHSA-47c7-qrm7-mqw7

## Timeline

- 2026-01-03: disclosed: Issue reported to uutils coreutils maintainers
- 2026-05-30: patched: Version 0.6.0 released and advisory published on GitHub
- 2026-07-06: advisory: GitHub Advisory reviewed and updated

## References

- [https://github.com/uutils/coreutils/security/advisories/GHSA-47c7-qrm7-mqw7](https://github.com/uutils/coreutils/security/advisories/GHSA-47c7-qrm7-mqw7)
- [https://github.com/uutils/coreutils/issues/10006](https://github.com/uutils/coreutils/issues/10006)
- [https://api.github.com/repos/uutils/coreutils/security-advisories/GHSA-47c7-qrm7-mqw7](https://api.github.com/repos/uutils/coreutils/security-advisories/GHSA-47c7-qrm7-mqw7)

## Related threats

- [uutils coreutils Incorrect Provision of Specified Functionality in cut](https://junglewise.ai/threats/cve-2026-35381-uutils-coreutils-incorrect-provision-of-specified-functionality)
- [uutils coreutils has an Improper Input Validation Issue in its cut Utility](https://junglewise.ai/threats/cve-2026-35380-uutils-coreutils-has-an-improper-input-validation-issue-in-its)
- [A logic error in the tr utility of uutils coreutils causes the program to incorrectly define the [:graph:] and [:print:] character classes.](https://junglewise.ai/threats/cve-2026-35379-uutils-coreutils-has-an-incorrect-provision-of-specified)
- [uutils coreutils has an Incorrect Short Circuit Evaluation Issue](https://junglewise.ai/threats/cve-2026-35378-uutils-coreutils-has-an-incorrect-short-circuit-evaluation-issue)
- [uutils coreutils has an Improper Input Validation Issue in its env Utility](https://junglewise.ai/threats/cve-2026-35377-uutils-coreutils-has-an-improper-input-validation-issue-in-its)
