CVE-2026-47799: Directory traversal in salt.utils.path.join
salt.utils.path.join normalized path components but did not verify that the joined path stayed within the intended root, so relative traversal sequences could escape the cache root. A compromised or malicious Salt master can supply a crafted destination in a file-serving response that causes a minion to write attacker-controlled content to arbitrary paths with the privileges of the salt-minion process.
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