salt
Affected
- introduced
3007.0rc1, fixed3007.4(ecosystem)
Fixed versions
3007.4
Fix
- Fixed version
3007.4pip install --upgrade salt==3007.4
Advisory
Also known as: CVE-2025-22240, PYSEC-2026-1903
Salt allows arbitrary directory creation or file deletion
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.
Medium Basis: The source's own band: MODERATE
3007.0rc1, fixed 3007.4 (ecosystem)3007.4
3007.4pip install --upgrade salt==3007.43006.0rc1, fixed 3006.12 (ecosystem)3006.12
3006.12pip install --upgrade salt==3006.12Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0