# CVE-2025-22240: CVE-2025-22240 salt advisory

- Priority: **Routine**
- Reason: Not severe (CVSS 6.3, 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-xh32-3m67-qjgf, PYSEC-2026-1903, UBUNTU-CVE-2025-22240
- Record: https://cvemate.com/vulnerability/CVE-2025-22240 · JSON: https://cvemate.com/vulnerability/CVE-2025-22240/json

## Description

```text
Arbitrary directory creation or file deletion. In the find_file method of the GitFS class, a path is created using os.path.join using unvalidated input from the “tgt_env” variable. This can be exploited by an attacker to delete any file on the Master's process has permissions to.
```

## Signals

- CVSS: 6.3 medium (v3.1, CVE.org) CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
- EPSS: 0.17%, percentile 6.678%, 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-22240>
- <https://github.com/saltstack/salt/commit/f7c28ffbf18dbf693a15b1ba9493918de3e88cf3>
- <https://github.com/saltstack/salt>
- <https://pypi.org/project/salt>
- <https://github.com/advisories/GHSA-xh32-3m67-qjgf>
- <https://ubuntu.com/security/CVE-2025-22240>
- <https://www.cve.org/CVERecord?id=CVE-2025-22240>

---

Data as of 2026-12-05T04:21:38.728Z. 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
