# CVE-2025-22238: CVE-2025-22238 salt advisory

- Priority: **Routine**
- Reason: Not severe (CVSS 4.2, local access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-06-13 · Modified: 2025-06-13
- Aliases: GHSA-r546-h3ff-q585, PYSEC-2026-1901, UBUNTU-CVE-2025-22238
- Record: https://cvemate.com/vulnerability/CVE-2025-22238 · JSON: https://cvemate.com/vulnerability/CVE-2025-22238/json

## Description

```text
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.
```

## Signals

- CVSS: 4.2 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
- EPSS: 0.299%, percentile 24.292%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- ubuntu salt (Ubuntu): All versions (No fix recorded)
- PyPI salt (PyPI): ≥ 3006.0rc1, \< 3006.12 \| ≥ 3007.0rc1, \< 3007.4
- vmware salt: ≥ 3006.x, \< 3006.12 \| ≥ 3007.x, \< 3007.4

## References

- <https://docs.saltproject.io/en/3006/topics/releases/3006.12.html>
- <https://docs.saltproject.io/en/3007/topics/releases/3007.4.html>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-22238>
- <https://github.com/saltstack/salt/commit/4b30218edf1a979855ea191d72b30c89f4a5a582>
- <https://github.com/saltstack/salt>
- <https://pypi.org/project/salt>
- <https://github.com/advisories/GHSA-r546-h3ff-q585>
- <https://ubuntu.com/security/CVE-2025-22238>
- <https://www.cve.org/CVERecord?id=CVE-2025-22238>

---

Data as of 2026-12-05T10:41:39.523Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
