CVE-2025-22240
Medium
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.
SeverityMedium
CVSS6.3
Exploit probability—
ProductSalt
PublishedJun 13, 2025
First seenJun 13, 2025
Weakness typeCWE-22Path traversal
How to fix
Update
- salt3007.4, 3006.12 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| saltPyPI | 3007.0rc1 ≤ v < 3007.4, 3006.0rc1 ≤ v < 3006.12 | 3007.4, 3006.12 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.