Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. py-rattler
  4. ›
  5. CVE-2026-53956

CVE-2026-53956: Rattler vulnerable to package cache path traversal via conda package build string

July 9, 2026

rattler_cache and py-rattler were vulnerable to package-cache path traversal when handling package metadata from conda channels.

During 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.

The 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.

Users should upgrade to a patched version and avoid untrusted conda channels.

References

  • github.com/advisories/GHSA-h672-p7h7-97v9
  • github.com/conda/rattler/security/advisories/GHSA-h672-p7h7-97v9
  • nvd.nist.gov/vuln/detail/CVE-2026-53956

Code Behaviors & Features

Detect and mitigate CVE-2026-53956 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.24.0

Fixed versions

  • 0.24.0

Solution

Upgrade to version 0.24.0 or above.

Impact 5.4 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
  • CWE-73: External Control of File Name or Path

Source file

pypi/py-rattler/CVE-2026-53956.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:18 +0000.