CVE-2025-22241
MEDIUM 5.6CVSS 3.1Salt's file contents overwrite the VirtKey class
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.
- Published
- 13 Jun 2025
- Last modified
- 7 Jul 2026
- Assigned by
- security@vmware.com
- NVD status
- Deferred
- Weakness
- CWE-22CWE-73
- Also known as
- GHSA-7f3f-x5f5-79gwPYSEC-2026-1895
- Sources
- NVDJSONOSV GHSA-7f3f-x5f5-79gwJSONOSV PYSEC-2026-1895JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | PyPI | salt | >= 3007.0rc1, < 3007.4 | 3007.4 |
| OSV | PyPI | salt | >= 3006.0rc1, < 3006.12 | 3006.12 |
| OSV | PyPI | salt | >= 3007.0rc1, < 3007.4; >= 3006.0rc1, < 3006.12 | 3007.4, 3006.12 |
References
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html · WEB
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-22241 · ADVISORY
- https://github.com/saltstack/salt/commit/9445f496fed61b15dc4364818007e5b765b0746f · WEB
- https://github.com/saltstack/salt · PACKAGE
- https://pypi.org/project/salt · PACKAGE
- https://github.com/advisories/GHSA-7f3f-x5f5-79gw · ADVISORY
History
- 25 Nov 2026 20:58 UTC · NVD: first stored (published 13 Jun 2025)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jun 2025)