CVE-2025-22240

MEDIUM

Salt 3006.x < 3006.12 and 3007.x < 3007.4 - Arbitrary File Deletion via GitFS find_file Method

Title source: llm
STIX 2.1

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

CVSS v3 6.3
EPSS 0.0009
EPSS Percentile 26.1%
Attack Vector LOCAL
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact total

Details

CWE
CWE-22
Status published
Products (3)
pypi/salt 3007.0rc1 - 3007.4PyPI
VMware/SALT 3006.x - 3006.12
VMware/SALT 3007.x - 3007.4
Published Jun 13, 2025
Tracked Since Feb 18, 2026