
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-53956 is a package-cache path traversal vulnerability in rattler_cache and py-rattler, components of the conda/rattler ecosystem used for managing conda package caches. During cache materialization, the rattler_cache library uses the package record build string as part of a cache key that is joined into a filesystem path without sufficient sanitization, allowing a malicious conda channel to write package contents outside the intended cache directory. The vulnerability was originally published on June 2, 2026, and added to the GitHub Advisory Database on July 9, 2026. Affected versions are py-rattler ≤ 0.23.2 (pip) and rattler_cache ≤ 0.8.2 (Rust/cargo). It carries a CVSS v3.1 base score of 5.4 (Moderate) (GitHub Advisory, Rattler Advisory).
The root cause is improper neutralization of path traversal sequences in externally supplied data (CWE-22: Path Traversal; CWE-73: External Control of File Name or Path). When rattler_cache materializes a package cache entry, it constructs a filesystem path by concatenating the configured cache directory with a key derived from the package record's build string. Because this field is sourced directly from channel repodata without validation, an attacker controlling a conda channel can embed path separators (e.g., ../) or absolute path components in the build string, causing files to be written to arbitrary locations on the filesystem. Exploitation requires user interaction — specifically, a user must configure and use a malicious or untrusted conda channel (GitHub Advisory, Rattler Advisory).
Successful exploitation allows an attacker to write arbitrary files to locations outside the intended package cache directory on the victim's filesystem, resulting in low integrity and low availability impact with no confidentiality impact. This could enable overwriting of configuration files, scripts, or other user-accessible files, potentially leading to code execution if critical files are replaced. The scope is limited to the user's environment, as no privilege escalation or scope change is expected (GitHub Advisory).
No public proof-of-concept exploit code or in-the-wild exploitation has been reported for CVE-2026-53956. The EPSS score is 0.033% (10th percentile), indicating a very low probability of exploitation in the near term. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires a user to interact with a malicious conda channel, limiting the practical attack surface to scenarios involving supply chain compromise or social engineering (GitHub Advisory).
repodata.json) containing a package record with a build string that includes path traversal sequences such as ../../target_dir.rattler or py-rattler to use the attacker-controlled channel (e.g., via environment configuration or a project's channel list).rattler_cache to process the crafted repodata and construct a filesystem path using the malicious build string.~/.rattler/cache/ or equivalent); files with names or paths containing .. segments in cache-related directories.rattler_cache related to path construction.Users should upgrade rattler_cache to version 0.9.0 or later (Rust/cargo) and py-rattler to version 0.24.0 or later (pip) to receive the patch. As a workaround, avoid configuring untrusted or unverified conda channels; restrict channel usage to curated, trusted sources such as conda-forge or Anaconda's official channels that validate package metadata. Review and audit any third-party channels currently in use (GitHub Advisory, Rattler Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."