CVEvulnerability
CVE-2025-22240
6.3 MEDIUM
Official page ↗
- Status
- Deferred
- Published
- 2025-06-13
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.3 MEDIUM — CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22
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.
Related
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness
References
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html docs.saltproject.io
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html docs.saltproject.io