What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: VMware SALT 3006.12, 3007.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2025-22240 or the next vulnerability affects your stack