Skip to main content

Conda Build EUVDEUVD-2025-18459

| CVE-2025-32799 CRITICAL
Path Traversal (CWE-22)
2025-06-16 security-advisories@github.com
9.8
CVSS 3.1 · GitHub Advisory
View

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Impact

This vulnerability presents CRITICAL real-world risk. CVSS 9.8 with vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H indicates network-exploitable attack with no authentication, low complexity, and complete compromise of confidentiality, integrity, and availability. The attack vector (AV:N) and lack of user interaction (UI:N) mean exploitation requires only network access and a crafted tar artifact—both readily achievable. CWE-22 path traversal vulnerabilities are well-understood, commonly exploited, and have mature proof-of-concept methodologies. While EPSS data is not provided, the combination of low attack complexity, no privilege requirements, and high impact suggests exploitation probability is substantial. KEV (Known Exploited Vulnerability) status is not indicated in available data, but the attack surface (tar processing in package build systems) and simplicity of tarslip techniques suggest active exploitation is plausible. This is not a theoretical high-CVSS-but-low-risk issue; it is a practical, automatable threat to any conda-build user consuming untrusted package sources.

Exploit ScenarioDerived

An attacker publishes a seemingly legitimate conda package source (or compromises an existing package repository) containing a crafted tar archive with malicious entries. When a developer or CI/CD system runs 'conda-build' to compile this package, the tool extracts the tar archive without validating entry paths. An entry named '../../../../etc/passwd.new' or '../../../usr/local/bin/malicious_script' allows the attacker to overwrite system files or inject code into PATH-accessible locations. If the build runs with elevated privileges (common in automated CI/CD), the attacker achieves arbitrary code execution. For example: tar archive contains entry 'pkg/setup.py' (legitimate) and '../../../root/.bashrc' with embedded reverse shell code. Post-extraction, the attacker's code is now in the root home directory and executes on next root login or script sourcing. Attack complexity is low: requires only crafting a tar archive with path traversal sequences—no special tools, no user interaction, and network delivery via package repository.

Act Now Prioritize within 24-48h. Why: CRITICAL severity + public POC available.
Patch available 0.8% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 14, 2026

Conda-build versions prior to 25.4.0 are vulnerable to path traversal (Tarslip) attacks that allow unauthenticated remote attackers to write arbitrary files outside intended extraction directories by crafting malicious tar archives with directory traversal sequences. This critical vulnerability (CVSS 9.8) affects all users and systems utilizing conda-build for package compilation, with potential for privilege escalation and code execution depending on target file locations and system permissions.

RemediationAI

  • action: immediate_patch; details: Upgrade conda-build to version 25.4.0 or later immediately. Execute: 'conda install conda-build=25.4.0' or 'pip install --upgrade conda-build>=25.4.0'.
  • action: temporary_mitigation; details: Until patched, restrict tar archive processing to trusted sources only. Implement air-gapped or network-isolated build environments. Disable automatic package fetching and require manual, source-verified tar archives.
  • action: validation; details: After upgrading, verify patch installation with 'conda-build --version' and confirm version output is >= 25.4.0. Re-run any previously built packages to ensure no compromised artifacts were generated.
  • action: monitoring; details: Monitor conda-build processes for unusual file write patterns outside build directories. Use file integrity monitoring (e.g., aide, osquery) on critical system directories (/etc, /usr/bin, /opt, /home) during build operations.

Affected VersionsENISA

conda-build < 25.4.0

Affected Packages

euvd conda_build fix: 25.4.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Conda-build is a packaging tool used to construct conda packages from source code. The vulnerability exists in the tar archive extraction processing logic, which fails to properly sanitize or validate tar entry paths before extraction. This is a classic CWE-22 (Improper Limitation of a Pathname to a Restricted Directory, 'Path Traversal') vulnerability, also known as a Tarslip attack. Affected CPE: cpe:2.3:a:anaconda:conda-build:*:*:*:*:*:*:*:* (versions < 25.4.0). The root cause stems from inadequate input validation on tar entry names containing sequences like '../' or absolute paths, which when processed by tar extraction functions without sanitization, write files to unintended locations in the filesystem hierarchy.

Know when Conda Build gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

GitHub Advisory PRIMARY 9.8 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Primary rating from GitHub Advisory · only source for this CVE.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

3
Patch released
Mar 14, 2026 - 21:59 nvd
Patch available
PoC Detected
Jul 02, 2025 - 18:12 vuln.today
Public exploit code
CVE Published
Jun 16, 2025 - 21:15 nvd
CRITICAL 9.8

DescriptionGitHub Advisory

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.

Executive ViewAI

Why It Matters

A critical vulnerability in Conda-build (CVE-2025-32799) allows attackers to execute arbitrary code or escalate privileges by exploiting improper path validation in tar archive processing. Organizations using Conda-build for package management face immediate risk of system compromise, data theft, or lateral movement if malicious archives are processed.

Business Impact: Severe
Compensating Controls

Apply vendor patch. If immediate patching is not feasible: (1) Implement strict input validation to reject tar archives from untrusted sources; (2) Run Conda-build in isolated, containerized environments with minimal filesystem permissions; (3) Disable Conda-build features if not operationally required; (4) Monitor tar extraction operations for path traversal patterns; (5) Apply principle of least privilege to service accounts running Conda-build.

Threat Intelligence Overview

EPSS Score
0.8%
Top 27% exploitable
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity CRITICAL
CISA KEV No
Public POC Yes
EPSS 0.8%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity + public POC available
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Out-of-Cycle
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
Very High

Priority Score

70
Low Medium High Critical
KEV: 0
EPSS: +1
CVSS: +49
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy