CVE-2025-22240 json
CVE-2025-22240 salt advisory
published 2025-06-13 16 mo ago modified 2026-07-07 4 mo ago also GHSA-xh32-3m67-qjgf , PYSEC-2026-1903 , EUVD-2025-18250
- cvss
- 6.3
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 5%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- pypi salt 3006.12, 3007.4
- VMware SALT 3006.12, 3007.4
- salt SLES for SAP 15 SP3, SLES 15 SP3-LTSS, SLE Micro 5.2 +3 more 3006.0-150300.53.94.1
- salt Linux Micro 6.1 3006.0-slfo.1.1_4.1
- salt Linux Micro 6.0 3006.0-13.1
- salt SLE Module for Systems Management 15 SP7 3006.0-150700.14.5.2
- salt SLES for SAP 15 SP5, SLES 15 SP5-LTSS, SLE Module for Transactional Server 15 SP6 +6 more 3006.0-150500.4.55.1
- salt-test openSUSE Leap 15.6 3006.0-150500.4.55.1
- salt SLES for SAP 15 SP4, SLES 15 SP4-LTSS, SLE Micro 5.4 +5 more 3006.0-150400.8.80.1
- venv-salt-minion Manager Client Tools for RHEL, Liberty and Clones 9-CLIENT-TOOLS, EL-9:Update:Products:SaltBundle:Update 3006.0-1.59.1
suse advisories SUSE-SU-2025:02534-1SUSE-SU-2025:20487-1SUSE-SU-2025:20504-1SUSE-SU-2025:02502-1SUSE-SU-2025:02501-1SUSE-SU-2025:02500-1
- salt openSUSE Tumbleweed 3006.0-41.1
opensuse advisories openSUSE-SU-2025:15295-1
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-22240 updated cvss 6.3
salt: Path traversal in saltstack
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 16 mo ago
Exploit prediction
0.16% chance of exploitation in the next 30 days, higher than 5% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.3 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| OSV | 3.1 | 6.3 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 6.3 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | salt | >=3007.0rc1, <3007.4 >=3006.0rc1, <3006.12 |
3007.4 3006.12 |
Affected products
- VMware SALT
Classification
- Weakness
-
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
-
github.com
/saltstack/salt/commit/f7c28ffbf18dbf693a15b1ba9493918de3e88cf3
web
-
docs.saltproject.io
/en/3006/topics/releases/3006.12.html
web
-
docs.saltproject.io
/en/3007/topics/releases/3007.4.html
web
-
nvd.nist.gov
/vuln/detail/CVE-2025-22240
advisory
-
github.com
/saltstack/salt
package
-
pypi.org
/project/salt
package
-
github.com
/advisories/GHSA-xh32-3m67-qjgf
advisory
Sources
- CVE List CVE-2025-22240
- GitHub Advisory GHSA-xh32-3m67-qjgf
- NVD CVE-2025-22240
- OSV PYSEC-2026-1903
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.