medium4.2
CVE-2025-22238
Salt vulnerable to directory traversal attack in minion file cache creation
Impact
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 | Fixed in |
|---|---|---|---|
| pip | salt | >= 3006.0rc1, < 3006.12 | 3006.12 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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/advisories/GHSA-r546-h3ff-q585
- https://nvd.nist.gov/vuln/detail/CVE-2025-22238
- https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582