Untrusted Search Path Affecting coreutils package, versions >=0.0.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-RUST-COREUTILS-16297959
  • published26 Apr 2026
  • disclosed23 Apr 2026
  • creditZellic

Introduced: 23 Apr 2026

NewCVE-2026-35368  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

There is no fixed version for coreutils.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path in the chroot process when the --userspec option is used. An attacker can achieve arbitrary code execution as root by injecting a malicious NSS module into a writable NEWROOT directory, which is then loaded by the Name Service Switch (NSS) mechanism before privileges are dropped. This can result in a full container escape or privilege escalation. This is only exploitable if the new root directory is attacker-writable and the system uses glibc-based NSS.

References

CVSS Base Scores

version 4.0
version 3.1