CVE-2025-22240

CVE-2025-22240 salt advisory

Published Jun 13, 2025 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

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
Type Values Removed Values Added
Metrics epss

{'score': 0.00014}

epss

{'score': 0.00017}

Type Values Removed Values Added
Weaknesses CWE-22
Metrics ssvc

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

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.

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Jun 13, 2025, 1:42 PM
Reserved
Jan 2, 2025, 4:30 AM
Status
Deferred
Published
Jun 13, 2025, 7:15 AM
Modified
Jun 17, 2026, 8:45 AM