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.
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 15 Jul 2025 13:45:00 +0000

Type Values Removed Values Added
Metrics epss

{'score': 0.00014}

epss

{'score': 0.00017}


Fri, 13 Jun 2025 14:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-22
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 13 Jun 2025 07:15:00 +0000

Type Values Removed Values Added
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.
Title CVE-2025-22240 salt advisory
References
Metrics cvssV3_1

{'score': 6.3, 'vector': 'CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2025-06-13T13:42:42.561Z

Reserved: 2025-01-02T04:30:06.833Z

Link: CVE-2025-22240

cve-icon Vulnrichment

Updated: 2025-06-13T13:41:57.274Z

cve-icon NVD

Status : Awaiting Analysis

Published: 2025-06-13T07:15:21.430

Modified: 2025-06-16T12:32:18.840

Link: CVE-2025-22240

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.