Home / VMware / SALT / CVE-2025-22240
CVE-2025-22240: is it exploited, and which versions of VMware SALT are affected and fixed?
CVE-2025-22240 is a path traversal (reading or writing files outside the intended folder) vulnerability in VMware SALT. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: salt from 3007.0rc1 before 3007.4 and salt from 3006.0rc1 before 3006.12 (GitHub advisory GHSA-xh32-3m67-qjgf). Fixed in 3007.4 and 3006.12 (GitHub advisory GHSA-xh32-3m67-qjgf). Severity: Medium (6.3, CVSS 3.1, from vmware).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:19 UTC.
What is CVE-2025-22240?
CVE-2025-22240 salt advisory
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.
From the CVE record by vmware, last updated June 13, 2025, 13:42 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| VMware | SALT Salt | from 3006.x before 3006.12 from 3007.x before 3007.4 | 3006.12, 3007.4 |
As the CVE record by vmware states it, last updated June 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| PyPI | salt | >= 3007.0rc1, < 3007.4 | 3007.4 | GHSA-xh32-3m67-qjgf |
| PyPI | salt | >= 3006.0rc1, < 3006.12 | 3006.12 | GHSA-xh32-3m67-qjgf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated June 13, 2025. Summary: Salt allows arbitrary directory creation or file deletion.
How severe is CVE-2025-22240?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.3 | CVSS 3.1 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H | vmware |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-22240 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, June 13, 2025)
- EPSS
- 0.17% probability of exploitation activity in the next 30 days, percentile 6.7 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html
When was it published, and where is the official record?
- Reserved
- January 2, 2025
- Published
- June 13, 2025, 07:03 UTC
- CVE record updated
- June 13, 2025, 13:42 UTC by vmware
- NVD
- Deferred, last modified June 17, 2026, 08:45 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:19 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect SALT?
- Dec 3, 2026CVE-2026-59384 VMware SALT: deserialization of untrusted data
- Dec 3, 2026CVE-2026-59325 VMware SALT: cryptographic signature not verified
- Dec 3, 2026CVE-2026-47855 VMware SALT: missing authentication for a critical function
- Dec 3, 2026CVE-2026-47854 VMware SALT: link following (a symlink lets an attacker reach other files)
- Dec 3, 2026CVE-2026-47824 VMware SALT: path traversal (reading or writing files outside the intended folder)
- Dec 3, 2026CVE-2026-47820 VMware SALT: denial of service (resources allocated without limits)
- Dec 3, 2026CVE-2026-47817 VMware SALT: incorrect authorization
- Dec 3, 2026CVE-2026-47815 VMware SALT: missing authentication for a critical function
Questions about CVE-2025-22240
Is CVE-2025-22240 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.17% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of VMware SALT are affected by CVE-2025-22240?
salt from 3007.0rc1 before 3007.4 and salt from 3006.0rc1 before 3006.12, per the GitHub advisory GHSA-xh32-3m67-qjgf. The tables above give every range the sources list.
Which version fixes CVE-2025-22240?
3007.4 and 3006.12, per the GitHub advisory GHSA-xh32-3m67-qjgf. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-22240?
Medium (6.3, CVSS 3.1, from vmware). The severity table above shows each score with its source.
Where is the official record of CVE-2025-22240?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.