CVE-2025-32797 in Anaconda Conda-Build
Conda-build contains commands and tools to build conda packages. Prior to version 25.3.1, the write_build_scripts function in conda-build creates the temporary build script conda_build.sh with overly permissive file permissions (0o766), allowing write access to all users. Attackers with filesystem access can exploit...
Affects 1 product from 1 vendor. Facts below cite their sources.
Requires local access, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Anaconda | Conda-Build | < 25.3.1 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
Conda-build contains commands and tools to build conda packages. Prior to version 25.3.1, the write_build_scripts function in conda-build creates the temporary build script conda_build.sh with overly permissive file permissions (0o766), allowing write access to all users. Attackers with filesystem access can exploit a race condition to overwrite the script before execution, enabling arbitrary code execution under the victim's privileges. This risk is significant in shared environments, potentially leading to full system compromise. Even with non-static directory names, attackers can monitor parent directories for file creation events. The brief window between script creation (with insecure permissions) and execution allows rapid overwrites. Directory names can also be inferred via timestamps or logs, and automation enables exploitation even with semi-randomized paths by acting within milliseconds of detection. This issue has been patched in version 25.3.1. A workaround involves restricting conda_build.sh permissions from 0o766 to 0o700 (owner-only read/write/execute). Additionally, use atomic file creation (write to a temporary randomized filename and rename atomically) to minimize the race condition window.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-32797 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-254390-H |
| CVSS vector | CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-06-16 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-277: CWE-277
Analysis AI-written, not human-reviewed
CVE-2025-32797 affects conda-build versions prior to 25.3.1, where the write_build_scripts function creates a build script with overly permissive permissions, allowing attackers with filesystem access to overwrite the script and execute arbitrary code.
An attacker with filesystem access can exploit a race condition to overwrite the conda_build.sh script before it is executed, potentially leading to the execution of arbitrary code with the privileges of the user running the build process.
Questions
What is CVE-2025-32797?
CVE-2025-32797 affects conda-build versions prior to 25.3.1, where the write_build_scripts function creates a build script with overly permissive permissions, allowing attackers with filesystem access to overwrite the script and execute arbitrary code.
What is the CVSS score for CVE-2025-32797?
CVE-2025-32797 has CVSS 7.0 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.3%.
Is CVE-2025-32797 actively exploited?
No confirmed active exploitation of CVE-2025-32797 as of 2026-09-25.
How do I remediate CVE-2025-32797?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2025-32797?
CVE-2025-32797 affects Anaconda Conda-Build.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Anaconda","product":"Conda-Build","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.