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

- Severity: Medium 4.2 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.30%, higher than 24% of CVEs (2026-12-01)
- Published: 2025-06-13T06:58:19.550Z
- Modified: 2026-07-07T17:56:57.991Z
- Also known as: GHSA-r546-h3ff-q585, PYSEC-2026-1901
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- Salt: from 3006.x before 3006.12; from 3007.x before 3007.4
- salt (PyPI): from 3006.0rc1 before 3006.12; from 3007.0rc1 before 3007.4

## Every score

- vmware: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N`

## 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)

## Sources

- CVE List: [CVE-2025-22238](https://www.cve.org/CVERecord?id=CVE-2025-22238), CVE Terms of Use, modified 2025-06-13
- GitHub Advisory Database: [GHSA-r546-h3ff-q585](https://github.com/advisories/GHSA-r546-h3ff-q585), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2025-22238](https://nvd.nist.gov/vuln/detail/CVE-2025-22238), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1901](https://osv.dev/vulnerability/PYSEC-2026-1901), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2025-22238 · Whole record: https://cve.day/CVE-2025-22238.json · Rebuilt by cve.day 2026-11-25T22:58:59.193Z
