CVE-2026-41867 - clean_path symlink bypass and virtualenv code injection
Vulnerability · Reported by NVD · · CWE-94
- Severity
- High Risk score 88/100
- CVSS
- 8.8 v3.1 · from NVD
- Exploit chance (EPSS)
- – Not available yet
- Known exploited
- No Not in CISA KEV
Summary
clean_path() normalized paths before resolving symlinks, which let a symlink survive and bypass the directory boundary check. virtualenv.get_distribution_path() guarded its distribution parameter with a keyword blocklist that could be bypassed. An authenticated eauth user with permission to call virtualenv functions can inject and execute arbitrary Python code as the salt-minion process user.
How this vulnerability can be exploited
This is a code injection flaw (CWE-94). An attacker can exploit this vulnerability remotely over the network, with a low-privileged account, and without any action from a user. Attack complexity is low, so no special conditions are needed. If successful, the attacker could read sensitive data, modify data or code and crash or disrupt the service.
Is it being exploited?
There is no public evidence of active exploitation yet. Monitor for exploit releases, especially if the product is internet-facing.
Patch priority and what to do
Schedule patching in your next maintenance window, and sooner for internet-facing systems. 1) Check whether you run the affected product and version. 2) Apply the vendor update or patch listed in the advisory. 3) Until patched, restrict network access to the service (firewall, VPN, WAF rules). 4) Review logs for signs of exploitation since the publication date.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Tags
CVE-2026-41867
Sources & references
- Original article / advisory (NVD) ↗
- NIST NVD: CVE-2026-41867 ↗
- CVE.org record ↗
- FIRST.org EPSS model ↗
How this data is collected: methodology & sources.