CVE-2026-41867

clean_path symlink bypass and virtualenv code injection

Published Dec 3, 2026 CVSS 3.1 · 8.8 High EPSS n/a KEV · Not listed
Description
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.

Remediation

Vendor Solution

clean_path() resolves symlinks before checking the boundary, and distribution is validated against an allowlist of PEP 508 distribution name characters. Upgrade to Salt 3006.31, 3007.18, or 3008.6, which contain the fix.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Description 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.
Title clean_path symlink bypass and virtualenv code injection
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}

Subscriptions

No data.

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Dec 3, 2026, 8:21 AM
Reserved
Apr 22, 2026, 8:22 AM
Status
Received
Published
Dec 3, 2026, 8:17 AM
Modified
Dec 3, 2026, 8:17 AM