CVE-2026-53956: Rattler cache Path Traversal Vulnerability
MODERATECVE-2026-53956 is a MODERATE (CVSS 5.4) path traversal vulnerability (CWE-73: External Control of File Name or Path) affecting Rattler cache libraries in the crates.io ecosystem. The issue involves rattler vulnerable to package cache path traversal via conda package build string. Remediation is available by upgrading affected packages to version 0.9.0, 0.24.0.
CVE-2026-53956 at a Glance
Security Impact
CVSS: 5.4
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L).
How to Fix CVE-2026-53956
To remediate this vulnerability, upgrade all affected Rattler cache dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade rattler_cache to 0.9.0
pip install py_rattler>=0.24.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for rattler_cache
How to Check if You Are Affected
To determine whether your application is affected by CVE-2026-53956, inspect your project dependencies for Rattler cache:
inspect dependencies for rattler_cache
Analyze the terminal output to locate any version of Rattler cache in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-73: External Control of File Name or Path, where the product allows user input to control or influence paths or file names that are used in filesystem operations. In Rattler cache, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-53956 Affected Rattler cache Versions
2 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
rattler_cache
|
crates.io |
< 0.9.0
|
0.9.0
|
|
py_rattler
|
PyPI |
< 0.24.0
|
0.24.0
|
References
Frequently Asked Questions
What is CVE-2026-53956?
Which Rattler cache versions are affected?
What version fixes CVE-2026-53956?
Is rattler_cache affected?
Is py_rattler affected?
What is the CVSS score of CVE-2026-53956?
What CWE is associated with CVE-2026-53956?
How can I check crates.io dependencies for CVE-2026-53956?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-h672-p7h7-97v9",
"modified" : "2026-07-09T23:20:12Z",
"published" : "2026-07-09T23:20:12Z",
"aliases" : [ "CVE-2026-53956" ],
"summary" : "Rattler vulnerable to package cache path traversal via conda package build string",
"details" : "`rattler_cache` and `py-rattler` were vulnerable to package-cache path traversal when handling package metadata from conda channels.\n\nDuring cache materialization, the `ratter_cache` code used the package record `build` string as part of a cache key that was joined into a filesystem path. A malicious or untrusted channel could publish repodata with path separators or traversal components in that field, causing package contents to be written outside the configured package cache directory.\n\nThe issue requires use of a malicious or otherwise untrusted conda channel. Curated channels that validate package metadata are not expected to allow malformed build strings of this form.\n\nUsers should upgrade to a patched version and avoid untrusted conda channels.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "crates.io",
"name" : "rattler_cache"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.8.2"
}
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "py_rattler"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.24.0"
} ]
} ],
"database_specific" : {
"last_known_affected_version_range" : "<= 0.23.2"
}
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/conda/rattler/security/advisories/GHSA-h672-p7h7-97v9"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/conda/rattler"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-22", "CWE-73" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-07-09T23:20:12Z",
"nvd_published_at" : null
}
}