Skip to content
OpenAdvisories
Medium · 5.4 CVE-2026-53956 EUVD-2026-75141GHSA-h672-p7h7-97v9PYSEC-2026-2970

Rattler vulnerable to package cache path traversal via conda package build string

Published Sep 9, 2026 · Updated Sep 10, 2026 · Assigned by GitHub_M

Description

Rattler is a library that provides common functionality used within the conda ecosystem. `rattler_cache` prior to version 0.9.0 and `py-rattler` prior to version 0.24.0 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 `rattler_cache` version 0.9.0 or `py-rattler` version 0.24.0 and avoid untrusted conda channels.

Affected products

VendorProductAffectedFixed
conda rattler_cache < 0.9.0 —
conda py-rattler < 0.24.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

Wolfi

ReleasePackageFixed inAdvisory
Wolfi rolling pixi 0.81.0-r0 —

Affected packages

EcosystemPackageAffectedFixedRecord
crates.io rattler_cache < 0.9.0 0.9.0 GHSA-h672-p7h7-97v9
PyPI py-rattler < 0.24.0 0.24.0 PYSEC-2026-2970

References