CVE-2025-22240

CVE-2025-22240 salt advisory

State
Published
Severity
6.3 Medium
Published
Jun 13, 2025
Updated
Jun 13, 2025
Reserved
Jan 2, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.16.3 MediumCVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:Hvmware

Weaknesses

  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Affected Products

ProductVersions
SALTVMware
  • 3006.x to before 3006.12Affected
  • 3007.x to before 3007.4Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.