Vulnerability
CVE-2025-22240
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.
16 advisories report this vulnerability, across 4 ecosystems.
Advisories in PyPI
-
GHSA-xh32-3m67-qjgf
Salt allows arbitrary directory creation or file deletion
-
PYSEC-2026-1903
Salt allows arbitrary directory creation or file deletion