CVE-2025-32799 Conda-build Vulnerable to Path Traversal via Malicious Tar File
Attackers can exploit path traversal in conda-build to overwrite arbitrary files, potentially leading to code execution or privilege escalation.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-32799?
CVE-2025-32799 is a medium-severity path traversal vulnerability in conda-build, published on 16 Jun 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build processing logic is vulnerable to path traversal (Tarslip) attacks due to improper sanitization of tar entry paths. Attackers can craft tar archives containing entries with directory traversal sequences to write files outside the intended extraction directory. This could lead to arbitrary file overwrites, privilege escalation, or code execution if sensitive locations are targeted. This issue has been patched in version 25.4.0.
Weakness: CWE-22
Which versions are affected by CVE-2025-32799?
It affects 1 product.
Products include Anaconda Conda-Build.
How do I fix CVE-2025-32799?
No fix has been published for CVE-2025-32799 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-32799 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-32799 exists.
Other vulnerabilities in conda-build
Sources
Also known as GHSA-h499-pxgj-qh5h.