CVE-2025-22240

published 13 Jun 2025 · updated 13 Jun 2025

CVE-2025-22240 salt advisory

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in SALT 3006.12 and SALT 3007.4.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
VMwareSALT>=3006.x <3006.12, >=3007.x <3007.43006.12, 3007.4

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in VMware, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2025-22240 severity on Zeptric[![CVE-2025-22240](https://zeptric.io/badge/cve/CVE-2025-22240.svg)](https://zeptric.io/cve/CVE-2025-22240)