Skip to main content
CVE-2024-58266VulnerabilityPublished Updated

Microsoft · The shlex crate before 1.2.1 for Rust allows unquoted and unescaped instances of the { and \xa0 characters, which may facilitate command injection

Affects MicrosoftSource GCVE Database

0

Not known to be exploited.

Data as of 26 Oct 2026, 06:26 UTC

Severity
Medium

Rated by Threat Radar · No CVSS score from NVD or the CNA

EPSS
0.7% chance of exploitation in 30 days – higher than 55% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Jul 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq 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 2026-10-26.

What to do

Affected software

ProductAffectedFixed in
Microsoft Security Response Center MicrosoftAffected
  • =2.0
  • =3.0
Fixed in–

AI-suggested

Until a fix is available, users should avoid processing untrusted input with affected versions of the shlex crate or implement additional input validation and sanitization to mitigate command injection risks.

Description

The shlex crate for Rust versions 2.0 and 3.0 allows unquoted and unescaped instances of the { and \xa0 characters, which may facilitate command injection. This vulnerability is identified as CVE-2024-58266 and relates to improper handling of specific characters in command parsing.

References

Community reviews

Loading reviews…