CVE-2025-32799CWE-22

Conda-build Vulnerable to Path Traversal via Malicious Tar File

Medium · published June 16, 2025

CVSS v4.0
5.6
EPSS
1%
Percentile
70.8
In the wild
Unconfirmed
What it is

⚠️ A crafty tar archive can slip right past conda-build's defenses! Prior to version 25.4.0, it’s vulnerable to sneaky path traversal attacks — like a delivery driver who takes a shortcut through the wrong neighborhood! Think of conda-build as a package delivery service, but someone figured out how to forge addresses to misdeliver packages to sensitive areas. Instead of the intended destination, files could end up in unexpected places, causing chaos! An attacker could exploit this vulnerability to overwrite arbitrary files, escalated privileges, or even execute malicious code if they target sensitive locations. It’s a potentially disruptive situation that could create major headaches for system integrity and security.

Put simply

Think of conda-build as a package delivery service, but someone figured out how to forge addresses to misdeliver packages to sensitive areas. Instead of the intended destination, files could end up in unexpected places, causing chaos! The vulnerability in conda-build arises from improper sanitization of tar entry paths, allowing crafted tar archives to exploit directory traversal sequences and extract files outside the intended directory.

What to do

An attacker could exploit this vulnerability to overwrite arbitrary files, escalated privileges, or even execute malicious code if they target sensitive locations. It’s a potentially disruptive situation that could create major headaches for system integrity and security. To secure your system, upgrade conda-build to version 25.4.0 immediately. Additionally, review your tar archives to ensure they’re not containing risky path traversal sequences. Regularly audit your build processes for proper security measures! You've got this! With a quick upgrade, you'll be back to secure building in no time! 🛡️

The record
Technical detail
CVSS v4.0
5.6 · MEDIUM
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:P
EPSS
0.01330 · 70.8th percentile
Weakness
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Published
2025-06-16T20:23Z
EPSS history
Timeline
  • 16 JUN 20:23Z
    Conda-build Vulnerable to Path Traversal via Malicious Tar File
    cvelistv5