CVE-2026-41867: clean_path symlink bypass and virtualenv code injection
cleanpath() normalized paths before resolving symlinks, which let a symlink survive and bypass the directory boundary check. virtualenv.getdistributionpath() 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.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3006.31 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3007.18 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 3008.6