CVE-2025-22241 Details
Description
File contents overwrite the VirtKey class is called when “on-demand pillar” data is requested and uses un-validated input to create paths to the “pki directory”. The functionality is used to auto-accept Minion authentication keys based on a pre-placed “authorization file” at a specific location and is present in the default configuration.
A vulnerability exists in VMware Salt Stack that involves unvalidated input being used to create file paths to the PKI directory. This issue arises when 'on-demand pillar' data is requested, leading to unintended overwriting of file contents. The vulnerability is present in Salt versions 3006.12 and 3007.4, and is exploited through the VirtKey class, which automatically accepts Minion authentication keys based on a pre-placed authorization file. This functionality is active by default.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 13, 2025CISA-ADP
Assessed Jun 13, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.saltproject.io/en/3006/topics/releases/3006.12.html | [email protected] | Release NotesVendor |
| https://docs.saltproject.io/en/3007/topics/releases/3007.4.html | [email protected] | Release NotesVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') | CISA-ADP |
Affected Products
| Product | Versions |
|---|---|
| Salt | All versions |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2025 | CVE Modified | CISA-ADP |
| Jun 13, 2025 | New CVE Received | [email protected] |
Volerion