saltstack/salt · Security
Salt vulnerable to directory traversal attack in minion file cache creation
- GHSA ID
- GHSA-r546-h3ff-q585
- CVE ID
- CVE-2025-22238
- Severity
- medium
- Published
- Updated
- CVSS
- 4.2 · CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
- CVSS v3
- 4.2 · CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22238 ↗
- 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/commit/4b30218edf1a979855ea191d72b30c89f4a5a582 ↗
- https://github.com/advisories/GHSA-r546-h3ff-q585 ↗