CVE-2025-11233

EUVD-2025-33229
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.
Path Traversal
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
UNKNOWN
---
Awaiting analysis
This vulnerability is currently awaiting analysis.
Base Score
CVSS 3.x
EPSS Score
Percentile: 41.95%
Debian logo
Debian Releases
Debian Product
Codename
rustc
bookworm
1.63.0+dfsg1-2
fixed
bullseye
not-affected
forky
1.95.0+dfsg1-2
fixed
sid
1.96.1+dfsg1-2
fixed
trixie
1.85.1+dfsg1-1+deb13u1
fixed
Ubuntu logo
Ubuntu Releases
Ubuntu Product
Codename
rustc-1.88
jammy
dne
noble
dne
plucky
dne
questing
ignored
resolute
dne
rustc
bionic
not-affected
focal
not-affected
jammy
not-affected
noble
not-affected
plucky
dne
questing
dne
resolute
dne
trusty
not-affected
xenial
not-affected
rustc-1.62
jammy
not-affected
noble
dne
plucky
dne
questing
dne
resolute
dne
rustc-1.74
jammy
dne
noble
not-affected
plucky
dne
questing
dne
resolute
dne
rustc-1.76
focal
not-affected
jammy
not-affected
noble
not-affected
plucky
dne
questing
dne
resolute
dne
rustc-1.77
focal
not-affected
jammy
not-affected
noble
not-affected
plucky
dne
questing
dne
resolute
dne
rustc-1.78
focal
not-affected
jammy
not-affected
noble
not-affected
plucky
dne
questing
dne
resolute
dne
rustc-1.79
focal
not-affected
jammy
not-affected
noble
not-affected
plucky
dne
questing
dne
resolute
dne
rustc-1.80
focal
not-affected
jammy
not-affected
noble
not-affected
plucky
dne
questing
dne
resolute
dne
rustc-1.81
jammy
not-affected
noble
not-affected
plucky
ignored
questing
dne
resolute
dne
rustc-1.82
jammy
not-affected
noble
not-affected
plucky
ignored
questing
dne
resolute
dne
rustc-1.83
jammy
not-affected
noble
not-affected
plucky
ignored
questing
dne
resolute
dne
rustc-1.84
jammy
not-affected
noble
not-affected
plucky
ignored
questing
dne
resolute
dne
rustc-1.85
jammy
not-affected
noble
not-affected
plucky
ignored
questing
not-affected
resolute
dne