PyPA Advisory Database
PYSEC-2026-1901
Salt vulnerable to directory traversal attack in minion file cache creation
Details
Directory traversal attack in minion file cache creation. The master's default cache is vulnerable to a directory traversal attack. Which could be leveraged to write or overwrite 'cache' files outside of the cache directory.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | salt | From 3006.0rc1 before 3006.12 (fixed in 3006.12) From 3007.0rc1 before 3007.4 (fixed in 3007.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22238
- https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html
- https://github.com/saltstack/salt
- https://pypi.org/project/salt
- https://github.com/advisories/GHSA-r546-h3ff-q585