GitHub Advisoryadvisory · PyPI
GHSA-r546-h3ff-q585 Salt vulnerable to directory traversal attack in minion file cache creation
MEDIUM
Official page ↗
- Aliases
- CVE-2025-22238
- Ecosystem
- PyPI
- Packages
- salt
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
- Weaknesses
- CWE-22
- Reviewed
- 2025-06-13
Affected packages
• PyPI salt: >= 3006.0rc1, < 3006.12 → fixed in 3006.12
• PyPI salt: >= 3007.0rc1, < 3007.4 → fixed in 3007.4
Description
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.
Related
Alias · CVE (1)
- CVE-2025-22238 Directory traversal attack in minion file cache creation. vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22238 advisory
- https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582 web
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html web
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html web
- https://github.com/saltstack/salt package