Skip to content
6.3 Medium

CVE-2025-22240 Arbitrary directory creation or file deletion

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 and versions

Product Affected versions Fixed in
SALT 3007 3007.x → < 3007.4 3007.4
SALT 3006 3006.x → < 3006.12 3006.12
The 11 CVEs of SALT →
Track this CVE