CVE-2025-22238
MEDIUM 4.2CVSS 3.1Salt vulnerable to directory traversal attack in minion file cache creation
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.
- Published
- 13 Jun 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security@vmware.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-r546-h3ff-q585PYSEC-2026-1901
- Sources
- NVDJSONOSV GHSA-r546-h3ff-q585JSONOSV PYSEC-2026-1901JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | salt | >= 3006.0rc1, < 3006.12 | 3006.12 |
| OSV | PyPI | salt | >= 3007.0rc1, < 3007.4 | 3007.4 |
| OSV | PyPI | salt | >= 3006.0rc1, < 3006.12; >= 3007.0rc1, < 3007.4 | 3006.12, 3007.4 |
References
- 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://nvd.nist.gov/vuln/detail/CVE-2025-22238 · ADVISORY
- https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582 · WEB
- https://github.com/saltstack/salt · PACKAGE
- https://pypi.org/project/salt · PACKAGE
- https://github.com/advisories/GHSA-r546-h3ff-q585 · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 13 Jun 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jun 2025)