CVE-2025-11233
Rust standard library didn't detect all path separators on Cygwin
Mitigation
- Upgrade std to 1.89.0 or later.
Who should check
- Anyone running Rust Project std >= 1.87.0, < 1.89.0
Vulnerability facts
- Affected
- Rust Project std >= 1.87.0, < 1.89.0
- Fixed in
- Rust Project std 1.89.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 6.3 (v4.0, CNA)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:GreenOpen in CVSS calculator
Show all 14 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Attack requirements: Present
- Privileges required: None
- User interaction: None
- Confidentiality impact: Low
- Integrity impact: Low
- Availability impact: Low
- Confidentiality impact on other systems: Low
- Integrity impact on other systems: Low
- Availability impact on other systems: Low
- AU: Y
- RE: L
- U: Green
- EPSS
- 0.80% chance of exploitation in 30 days (percentile 54, 2026-11-26)
- CWE
- CWE-22
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Rust Project std | >= 1.87.0, < 1.89.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-11233. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-11233.md Affected: Rust Project std >= 1.87.0, < 1.89.0 Fixed in: Rust Project std 1.89.0 Steps: 1. Search this machine and project for Rust Project std: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
FAQ
Is CVE-2025-11233 being exploited?
There is no confirmed exploitation: CVE-2025-11233 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.80% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-11233?
Medium: CVSS 6.3 (v4.0, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2025-11233?
Rust Project std >= 1.87.0, < 1.89.0.
Is there a fix for CVE-2025-11233?
Yes. Fixed in Rust Project std 1.89.0. Upgrade std to 1.89.0 or later.
How do I check if I'm affected by CVE-2025-11233?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.