PYSEC-2026-2970

See a problem?
Import Source
https://github.com/pypa/advisory-database/blob/main/vulns/py-rattler/PYSEC-2026-2970.yaml
JSON Data
https://api.osv.dev/v1/vulns/PYSEC-2026-2970
Aliases
Published
2026-07-13T15:46:30.375344Z
Modified
2026-07-13T16:33:07.841327527Z
Severity
  • 5.4 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L CVSS Calculator
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.

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

Affected packages

PyPI / py-rattler

Package

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
0.24.0

Affected versions

0.*
0.1.0
0.1.1
0.1.2
0.2.0
0.2.1
0.3.0
0.4.0
0.5.0
0.6.0
0.6.1
0.6.2
0.6.3
0.7.0
0.7.1
0.7.2
0.8.0
0.8.2
0.9.0
0.9.1
0.10.0
0.11.0
0.12.0
0.13.0
0.13.1
0.14.0
0.15.0
0.16.0
0.17.0
0.18.0
0.19.0
0.20.0
0.21.0
0.22.0
0.23.0
0.23.1
0.23.2

Database specific

source
"https://github.com/pypa/advisory-database/blob/main/vulns/py-rattler/PYSEC-2026-2970.yaml"