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.
Advisories

No advisories yet.

Fixes

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.


Workaround

No workaround given by the vendor.

History

Thu, 03 Dec 2026 07:45:00 +0000

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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-12-03T07:21:57.087Z

Reserved: 2026-04-22T06:22:12.411Z

Link: CVE-2026-41867

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-12-03T08:17:37.763

Modified: 2026-12-03T08:17:37.763

Link: CVE-2026-41867

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses