CVE-2026-102925: Conda lock · virtualenv bash and fish activation scripts execute commands embedded in paths
Affects conda-lockSource GCVE Database
Not known to be exploited · CVSS 7.8 High : upgrade to 4.1.0 soon.
Data as of 4 Dec 2026, 20:32 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 7.8 |
|---|
- Patch
- Available – fixed in 4.1.0, 21.7.13
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 29 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 4 Dec 2026.
What to do
Upgrade conda-lock to 4.1.0; virtualenv to 21.7.13.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewconda-lockpkg:brew/conda-lockOther threats | Affected
| Fixed in
|
PyPIvirtualenvpkg:pypi/virtualenvOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in conda-lock version 4.1.0. Users should upgrade to this version or later. As a workaround, avoid creating or distributing virtual environments with paths containing shell metacharacters (' ` $ ; ( )). Additionally, inspect activation scripts before sourcing them if they come from untrusted sources.
Description
A command injection vulnerability exists in the activation scripts (bash/zsh and fish) generated by conda-lock's virtual environments. The scripts improperly handle quoting of paths containing shell metacharacters, allowing embedded commands to execute when the activation script is sourced. This affects virtual environments copied or relocated to paths with special characters. The issue is fixed in conda-lock version 4.1.0.
References
- github.com/pypa/virtualenv/security/advisories/GHSA-p58f-9548-mpm2 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-102925 (opens in a new tab)
- github.com/pypa/virtualenv/pull/3252 (opens in a new tab)
- github.com/pypa/virtualenv/commit/4d5a105ec2a2723b8c7f4571bb68f4f71d01e3f6 (opens in a new tab)
- github.com/pypa/advisory-database/tree/main/vulns/virtualenv/PYSEC-2026-4013.yaml (opens in a new tab)
- github.com/pypa/virtualenv (opens in a new tab)
- github.com/pypa/virtualenv/releases/tag/21.7.13 (opens in a new tab)
- pypi.org/project/virtualenv (opens in a new tab)