Vulnerability · Published Jun 13, 2025 · Assigned by vmware

CVE-2025-22240CVE-2025-22240 salt advisory

Medium 6.3

In plain English

A medium-severity path traversal in SALT from VMware. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 6% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.3Medium
Exploit odds (30 days)0.2%top 94.4% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIsalt3007.4GHSA-xh32-3m67-qjgf
PyPIsalt3006.12GHSA-xh32-3m67-qjgf
PyPIsalt3006.12, 3007.4PYSEC-2026-1903
Ubuntu:22.04:LTSsaltno fix listedUBUNTU-CVE-2025-22240

Affected products (as reported)

VendorProductVersions
VMware SALT 3006.x – before 3006.123007.x – before 3007.4

Weakness: CWE-22 · Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H

References