CVE-2026-35377: uu_env incorrectly rejects backslashes within single-quoted strings accepted by GNU env
Low CVSS 3.3
- OSV id
- GHSA-xhrc-7f76-vh96
- Also known as
- CVE-2026-35377
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| uu_env Cargo |
< 0.10.0 | 0.10.0 |
How to fix it
Upgrade uu_env to 0.10.0 or later.
cargo update -p uu_env --precise 0.10.0
- If it is an indirect dependency, `cargo update -p` still works; if a parent crate pins an older version, upgrade that crate.
- Check the changelog for breaking changes (especially across major versions), update the lockfile with the package manager, and run your tests.
Not sure whether your project uses an affected version? Check your lockfile below for free.
Details
In env -S, GNU keeps backslashes literal inside single quotes (except \\ and \'); uutils errors on sequences like \a. This is the backslash-handling issue of the broader -S/--split-string parsing divergence.
env -S"printf %s '\''\\x'\''" # GNU prints \x ; uutils: invalid sequence '\x' in -S (125)
Zellic private finding (zellic-ext/coreutils-private PR #117). Reported in the Zellic uutils coreutils Program Security Assessment (for Canonical, Jan 2026), audited commit 3a07ffc5a9bd4c283e75afa548ba1f1957bad242.
References
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: GitHub Advisory Database via OSV.dev (CC-BY 4.0). Severity comes from the advisory's own rating when it has one, else from its CVSS score.