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.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2025-22240US | — | — | ||
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.… | ||||
02
references
External citations — patches, advisories, analysis.
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.htmlWEB
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.htmlWEB
- https://github.com/advisories/GHSA-xh32-3m67-qjgfADVISORY
- https://github.com/saltstack/saltPACKAGE
- https://github.com/saltstack/salt/commit/f7c28ffbf18dbf693a15b1ba9493918de3e88cf3WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-22240ADVISORY
- https://pypi.org/project/saltPACKAGE
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan