Vulnerability · Published Jun 13, 2025 · Assigned by vmware
CVE-2025-22240CVE-2025-22240 salt advisory
Medium 6.3
In plain English
A medium-severity path traversal in SALT from VMware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.2%top 94.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | salt | 3007.4 | GHSA-xh32-3m67-qjgf |
| PyPI | salt | 3006.12 | GHSA-xh32-3m67-qjgf |
| PyPI | salt | 3006.12, 3007.4 | PYSEC-2026-1903 |
| Ubuntu:22.04:LTS | salt | no fix listed | UBUNTU-CVE-2025-22240 |
Affected products (as reported)
Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H