Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html
FAQ
What is CVE-2025-22240?
CVE-2025-22240 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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 exploit...
How severe is CVE-2025-22240?
CVE-2025-22240 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2025-22240?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.