Skip to main content
VulnerabilityPublished

CVE-2025-11233: Rust Project std · Path Traversal

Affects Rust Project stdSource CVE Database V5

0

Not known to be exploited · CVSS 6.3 Medium · fixed in 1.89.0 : update Rust Project std when convenient.

Data as of 26 Oct 2026, 14:05 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.5% chance of exploitation in 30 days – higher than 43% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 1.89.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:L/AU:Y/RE:L/U:Green

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 1 Oct 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 26 Oct 2026.

What to do

Affected software

ProductAffectedFixed in
Rust Project stdAffected
  • =1.87.0
Fixed in–

AI-suggested

To mitigate the risk posed by CVE-2025-11233, European organizations should take the following specific actions: 1) Audit Rust projects and build pipelines to identify any use of the `x86_64-pc-cygwin` target. 2) If the Cygwin target is used, upgrade Rust to version 1.89.0 or later, where the vulnerability is fixed. 3) For projects requiring path validation, implement additional manual checks to sanitize and normalize paths, ensuring that backslash separators are properly handled and path traversal attempts are detected. 4) Avoid using the tier 3 Cygwin target unless absolutely necessary; prefer the tier 1 MinGW target which is not affected. 5) Review and restrict filesystem permissions for applications compiled with the vulnerable target to minimize potential damage from exploitation. 6) Monitor development environments and build systems for unusual file access patterns that could indicate exploitation attempts. 7) Educate developers about secure path handling practices, especially when working with cross-platform path separators. These measures go beyond generic advice by focusing on build environment auditing, targeted upgrades, and enhanced path validation tailored to the specific vulnerability context.

Description

Starting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86_64-pc-cygwin`) didn't correctly handle path separators, causing the standard library's Path API to ignore path components separated by backslashes. Due to this, programs compiled for Cygwin that validate paths could misbehave, potentially allowing path traversal attacks or malicious filesystem operations. Rust 1.89.0 fixes the issue by handling both Win32 and Unix style paths in the standard library for the Cygwin target. While we assess the severity of this vulnerability as "medium", please note that the tier 3 Cygwin compilation target is only available when building it from source: no pre-built binaries are distributed by the Rust project, and it cannot be installed through Rustup. Unless you manually compiled the `x86_64-pc-cygwin` target you are not affected by this vulnerability. Users of the tier 1 MinGW target (`x86_64-pc-windows-gnu`) are also explicitly not affected.

References

Community reviews

Loading reviews…