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.
Published: 2025-06-13
Score: 6.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

No analysis available yet.

Remediation

No remediation available yet.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
EUVD EUVD EUVD-2025-18250 Salt allows arbitrary directory creation or file deletion
Github GHSA Github GHSA GHSA-xh32-3m67-qjgf Salt allows arbitrary directory creation or file deletion
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'}


Subscriptions

No data.

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 : Deferred

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

Modified: 2026-06-17T08:45:50.833

Link: CVE-2025-22240

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')