CVE-2025-22240
Arbitrary directory creation or file deletion. In the find_file …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- docs.saltproject.io/en/3006/topics/releases/3006.12.html
- docs.saltproject.io/en/3007/topics/releases/3007.4.html
- nvd.nist.gov/vuln/detail/CVE-2025-22240
- github.com/saltstack/salt/commit/f7c28ffbf18dbf693a15b1ba9493918de3e88cf3
- github.com/advisories/GHSA-xh32-3m67-qjgf
- nvd.nist.gov/vuln/detail/CVE-2025-22240
- cve.org/CVERecord?id=CVE-2025-22240
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.