CVE-2025-11233 (GCVE-0-2025-11233)
Vulnerability from cvelistv5 – Published: 2025-10-01 16:49 – Updated: 2025-10-01 17:35- CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
| URL | Tags |
|---|---|
| https://github.com/rust-lang/rust/pull/141864 | patch |
| https://groups.google.com/g/rustlang-security-ann… | vendor-advisory |
| Vendor | Product | Version | CPE status | |
|---|---|---|---|---|
| Rust Project | std |
Affected:
1.87.0 , < 1.89.0
(semver)
|
guessed |
{
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-11233",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-10-01T17:21:57.111508Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-10-01T17:35:23.572Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"platforms": [
"Windows"
],
"product": "std",
"repo": "https://github.com/rust-lang/rust",
"vendor": "Rust Project",
"versions": [
{
"lessThan": "1.89.0",
"status": "affected",
"version": "1.87.0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cdiv\u003e\u003c/div\u003e\u003cdiv\u003eStarting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86_64-pc-cygwin`) didn\u0027t correctly handle path separators, causing the standard library\u0027s 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.\u003c/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003eRust 1.89.0 fixes the issue by handling both Win32 and Unix style paths in the standard library for the Cygwin target.\u003cbr\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003eWhile 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.\u003c/div\u003e\u003cdiv\u003e\u003c/div\u003e"
}
],
"value": "Starting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86_64-pc-cygwin`) didn\u0027t correctly handle path separators, causing the standard library\u0027s 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.\n\n\n\n\nRust 1.89.0 fixes the issue by handling both Win32 and Unix style paths in the standard library for the Cygwin target.\n\n\n\nWhile 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."
}
],
"impacts": [
{
"capecId": "CAPEC-126",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-126 Path Traversal"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "YES",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"providerUrgency": "GREEN",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "LOW"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-22",
"description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-10-01T17:00:18.704Z",
"orgId": "986d4109-89ea-491f-99fd-a8e4803919bd",
"shortName": "rust"
},
"references": [
{
"tags": [
"patch"
],
"url": "https://github.com/rust-lang/rust/pull/141864"
},
{
"tags": [
"vendor-advisory"
],
"url": "https://groups.google.com/g/rustlang-security-announcements/c/oT9zCvLLYkw"
}
],
"solutions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "We recommend users of Cygwin targets to upgrade to 1.89.0 or a later version."
}
],
"value": "We recommend users of Cygwin targets to upgrade to 1.89.0 or a later version."
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Rust standard library didn\u0027t detect all path separators on Cygwin",
"x_generator": {
"engine": "meow :3"
}
}
},
"cveMetadata": {
"assignerOrgId": "986d4109-89ea-491f-99fd-a8e4803919bd",
"assignerShortName": "rust",
"cveId": "CVE-2025-11233",
"datePublished": "2025-10-01T16:49:50.139Z",
"dateReserved": "2025-10-01T16:38:24.568Z",
"dateUpdated": "2025-10-01T17:35:23.572Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2025-11233",
"date": "2026-11-29",
"epss": "0.00805",
"percentile": "0.53638"
},
"nvd": {
"cve": {
"affected": [
{
"affectedData": [
{
"defaultStatus": "unaffected",
"platforms": [
"Windows"
],
"product": "std",
"repo": "https://github.com/rust-lang/rust",
"vendor": "Rust Project",
"versions": [
{
"lessThan": "1.89.0",
"status": "affected",
"version": "1.87.0",
"versionType": "semver"
}
]
}
],
"source": "986d4109-89ea-491f-99fd-a8e4803919bd"
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "Starting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86_64-pc-cygwin`) didn\u0027t correctly handle path separators, causing the standard library\u0027s 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.\n\n\n\n\nRust 1.89.0 fixes the issue by handling both Win32 and Unix style paths in the standard library for the Cygwin target.\n\n\n\nWhile 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."
},
{
"lang": "es",
"value": "A partir de Rust 1.87.0 y antes de Rust 1.89.0, el objetivo Cygwin de nivel 3 (\u0027x86_64-pc-cygwin\u0027) no manejaba correctamente los separadores de ruta, lo que provocaba que la API Path de la biblioteca est\u00e1ndar ignorara los componentes de ruta separados por barras invertidas. Debido a esto, los programas compilados para Cygwin que validan rutas podr\u00edan comportarse de forma inesperada, permitiendo potencialmente ataques de salto de ruta u operaciones maliciosas del sistema de archivos.\n\nRust 1.89.0 corrige el problema al manejar rutas de estilo Win32 y Unix en la biblioteca est\u00e1ndar para el objetivo Cygwin.\n\nAunque evaluamos la gravedad de esta vulnerabilidad como \u0027media\u0027, tenga en cuenta que el objetivo de compilaci\u00f3n Cygwin de nivel 3 solo est\u00e1 disponible al compilarlo desde el c\u00f3digo fuente: el proyecto Rust no distribuye binarios precompilados y no se puede instalar a trav\u00e9s de Rustup. A menos que haya compilado manualmente el objetivo \u0027x86_64-pc-cygwin\u0027, no se ve afectado por esta vulnerabilidad. Los usuarios del objetivo MinGW de nivel 1 (\u0027x86_64-pc-windows-gnu\u0027) tampoco se ven afectados expl\u00edcitamente."
}
],
"id": "CVE-2025-11233",
"lastModified": "2026-10-09T09:10:00.213",
"metrics": {
"cvssMetricV40": [
{
"cvssData": {
"Automatable": "YES",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"availabilityRequirement": "NOT_DEFINED",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"confidentialityRequirement": "NOT_DEFINED",
"exploitMaturity": "NOT_DEFINED",
"integrityRequirement": "NOT_DEFINED",
"modifiedAttackComplexity": "NOT_DEFINED",
"modifiedAttackRequirements": "NOT_DEFINED",
"modifiedAttackVector": "NOT_DEFINED",
"modifiedPrivilegesRequired": "NOT_DEFINED",
"modifiedSubAvailabilityImpact": "NOT_DEFINED",
"modifiedSubConfidentialityImpact": "NOT_DEFINED",
"modifiedSubIntegrityImpact": "NOT_DEFINED",
"modifiedUserInteraction": "NOT_DEFINED",
"modifiedVulnAvailabilityImpact": "NOT_DEFINED",
"modifiedVulnConfidentialityImpact": "NOT_DEFINED",
"modifiedVulnIntegrityImpact": "NOT_DEFINED",
"privilegesRequired": "NONE",
"providerUrgency": "GREEN",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:Y/R:X/V:X/RE:L/U:Green",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "LOW"
},
"source": "986d4109-89ea-491f-99fd-a8e4803919bd",
"type": "Secondary"
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"id": "CVE-2025-11233",
"options": [
{
"exploitation": "none"
},
{
"automatable": "no"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-10-01T17:21:57.111508Z",
"version": "2.0.3"
}
}
]
},
"published": "2025-10-01T17:15:38.553",
"references": [
{
"source": "986d4109-89ea-491f-99fd-a8e4803919bd",
"url": "https://github.com/rust-lang/rust/pull/141864"
},
{
"source": "986d4109-89ea-491f-99fd-a8e4803919bd",
"url": "https://groups.google.com/g/rustlang-security-announcements/c/oT9zCvLLYkw"
}
],
"sourceIdentifier": "986d4109-89ea-491f-99fd-a8e4803919bd",
"vulnStatus": "Deferred",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "CWE-22"
}
],
"source": "986d4109-89ea-491f-99fd-a8e4803919bd",
"type": "Secondary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Moderate",
"current_release_date": "2026-11-26T03:37:20+00:00",
"cve": "CVE-2025-11233",
"id": "CVE-2025-11233",
"initial_release_date": "2025-10-01T16:49:50.139000+00:00",
"product_status:fixed": "39",
"product_status:known_not_affected": "53",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "rust: Rust standard library didn\u0027t detect all path separators on Cygwin",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-11233.json",
"version": "3"
},
"vulnrichment": {
"containers": {
"adp": [
{
"metrics": [
{
"other": {
"content": {
"id": "CVE-2025-11233",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"role": "CISA Coordinator",
"timestamp": "2025-10-01T17:21:57.111508Z",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2025-10-01T17:22:03.236Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"platforms": [
"Windows"
],
"product": "std",
"repo": "https://github.com/rust-lang/rust",
"vendor": "Rust Project",
"versions": [
{
"lessThan": "1.89.0",
"status": "affected",
"version": "1.87.0",
"versionType": "semver"
}
]
}
],
"descriptions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "\u003cdiv\u003e\u003c/div\u003e\u003cdiv\u003eStarting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86_64-pc-cygwin`) didn\u0027t correctly handle path separators, causing the standard library\u0027s 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.\u003c/div\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003eRust 1.89.0 fixes the issue by handling both Win32 and Unix style paths in the standard library for the Cygwin target.\u003cbr\u003e\u003cdiv\u003e\u003cbr\u003e\u003c/div\u003e\u003cdiv\u003eWhile 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.\u003c/div\u003e\u003cdiv\u003e\u003c/div\u003e"
}
],
"value": "Starting from Rust 1.87.0 and before Rust 1.89.0, the tier 3 Cygwin target (`x86_64-pc-cygwin`) didn\u0027t correctly handle path separators, causing the standard library\u0027s 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.\n\n\n\n\nRust 1.89.0 fixes the issue by handling both Win32 and Unix style paths in the standard library for the Cygwin target.\n\n\n\nWhile 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."
}
],
"impacts": [
{
"capecId": "CAPEC-126",
"descriptions": [
{
"lang": "en",
"value": "CAPEC-126 Path Traversal"
}
]
}
],
"metrics": [
{
"cvssV4_0": {
"Automatable": "YES",
"Recovery": "NOT_DEFINED",
"Safety": "NOT_DEFINED",
"attackComplexity": "LOW",
"attackRequirements": "PRESENT",
"attackVector": "NETWORK",
"baseScore": 6.3,
"baseSeverity": "MEDIUM",
"privilegesRequired": "NONE",
"providerUrgency": "GREEN",
"subAvailabilityImpact": "LOW",
"subConfidentialityImpact": "LOW",
"subIntegrityImpact": "LOW",
"userInteraction": "NONE",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"version": "4.0",
"vulnAvailabilityImpact": "LOW",
"vulnConfidentialityImpact": "LOW",
"vulnIntegrityImpact": "LOW",
"vulnerabilityResponseEffort": "LOW"
},
"format": "CVSS",
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-22",
"description": "CWE-22 Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2025-10-01T17:00:18.704Z",
"orgId": "986d4109-89ea-491f-99fd-a8e4803919bd",
"shortName": "rust"
},
"references": [
{
"tags": [
"patch"
],
"url": "https://github.com/rust-lang/rust/pull/141864"
},
{
"tags": [
"vendor-advisory"
],
"url": "https://groups.google.com/g/rustlang-security-announcements/c/oT9zCvLLYkw"
}
],
"solutions": [
{
"lang": "en",
"supportingMedia": [
{
"base64": false,
"type": "text/html",
"value": "We recommend users of Cygwin targets to upgrade to 1.89.0 or a later version."
}
],
"value": "We recommend users of Cygwin targets to upgrade to 1.89.0 or a later version."
}
],
"source": {
"discovery": "EXTERNAL"
},
"title": "Rust standard library didn\u0027t detect all path separators on Cygwin",
"x_generator": {
"engine": "meow :3"
}
}
},
"cveMetadata": {
"assignerOrgId": "986d4109-89ea-491f-99fd-a8e4803919bd",
"assignerShortName": "rust",
"cveId": "CVE-2025-11233",
"datePublished": "2025-10-01T16:49:50.139Z",
"dateReserved": "2025-10-01T16:38:24.568Z",
"dateUpdated": "2025-10-01T17:35:23.572Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1"
}
}
}
Solutions
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
How durations are calculated
Following the VTEM framework (Black Hat USA 2015), time to patch starts when the vendor or a coordinator was informed, total time to patch at discovery, and disclosure to patch at public disclosure; vendor response time runs from the report to its acknowledgement. Time to exploit and time unpatched start at the earliest discovery or report, falling back to public disclosure. Unpatched time ends at the first recorded patch, or the calculation time when no patch is recorded. Exploitation to patch shows the interval between those two events; a published proof of concept is a public exploit, not exploitation. The method is described in a publication.
Each result shows its source dates. A negative interval means the end event came first; when date-only inputs leave the order open, the result says so. Date-only inputs are approximate. The earliest evidence wins: KEV report dates and sightings are labelled as such. Records describing another vulnerability are listed but never calculated from, and a PoC alone does not establish exploitation. Missing patch evidence does not prove that no patch exists. Filters below change the event list only.
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.