Affected versions
Version ranges need review.
PyPIsalt
- Affected versions
- >= 3006.0rc1, < 3006.12
- Fixed version
- 3006.12
PyPIsalt
- Affected versions
- >=3006.0rc1 <3006.12 || >=3007.0rc1 <3007.4 || =3006.0 || =3006.0rc1 || =3006.0rc2 || =3006.0rc3 || =3006.1 || =3006.10 || =3006.11 || =3006.2 || =3006.3 || =3006.4 || =3006.5 || =3006.6 || =3006.7 || =3006.8 || =3006.9 || =3007.0 || =3007.0rc1 || =3007.1 || =3007.2 || =3007.3
- Fixed version
- 3006.12 · 3007.4
PyPIsalt
- Affected versions
- >= 3007.0rc1, < 3007.4
- Fixed version
- 3007.4
Exploitation
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.
Links
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html
- https://github.com/advisories/GHSA-xh32-3m67-qjgf
- https://github.com/saltstack/salt
- https://github.com/saltstack/salt/commit/f7c28ffbf18dbf693a15b1ba9493918de3e88cf3
- https://nvd.nist.gov/vuln/detail/CVE-2025-22240
- https://pypi.org/project/salt

