CVE-2024-58266: Rust shlex · The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the {
Affects rust-shlexSource GCVE Database
Not known to be exploited · CVSS 9.8 Critical.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.7% chance of exploitation in 30 days – higher than 56% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 27 Jul 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10rust-shlexpkg:deb/ubuntu/rust-shlex?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Ubuntu 26.04 LTSrust-shlexpkg:deb/ubuntu/rust-shlex?arch=source&distro=resoluteOther threats | Affected
| Fixed in– |
Ubuntu 25.10rust-shlexpkg:deb/ubuntu/rust-shlex?arch=source&distro=questingOther threats | Affected
| Fixed in– |
Ubuntu 24.04 LTSrust-shlexpkg:deb/ubuntu/rust-shlex?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSrust-shlexpkg:deb/ubuntu/rust-shlex?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSrust-shlexpkg:deb/ubuntu/rust-shlex?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \xa0 characters, which may facilitate command injection.
References
- ubuntu.com/security/CVE-2024-58266 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-58266 (opens in a new tab)
- crates.io/crates/shlex (opens in a new tab)
- github.com/comex/rust-shlex/security/advisories/GHSA-r7qv-8r2h-pg27 (opens in a new tab)
- rustsec.org/advisories/RUSTSEC-2024-0006.html (opens in a new tab)