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.
Metrics
Affected Vendors & Products
Solution
We recommend users of Cygwin targets to upgrade to 1.89.0 or a later version.
Workaround
No workaround given by the vendor.
Wed, 01 Oct 2025 18:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
Wed, 01 Oct 2025 17:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
References |
|
Wed, 01 Oct 2025 17:00:00 +0000
Type | Values Removed | Values Added |
---|---|---|
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. | |
Title | Rust standard library didn't detect all path separators on Cygwin | |
Weaknesses | CWE-22 | |
References |
| |
Metrics |
cvssV4_0
|

Status: PUBLISHED
Assigner: rust
Published:
Updated: 2025-10-01T17:35:23.572Z
Reserved: 2025-10-01T16:38:24.568Z
Link: CVE-2025-11233

Updated: 2025-10-01T17:22:03.236Z

Status : Received
Published: 2025-10-01T17:15:38.553
Modified: 2025-10-01T17:15:38.553
Link: CVE-2025-11233

No data.

No data.