Salt'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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | salt | >= 3007.0rc1, < 3007.4, >= 3006.0rc1, < 3006.12 | 3007.4, 3006.12 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22241
- https://github.com/saltstack/salt/commit/9445f496fed61b15dc4364818007e5b765b0746f
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html
- https://github.com/saltstack/salt
- https://pypi.org/project/salt
- https://github.com/advisories/GHSA-7f3f-x5f5-79gw
- CVSS vector
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N- Weakness (CWE)
CWE-22, CWE-73- Platform
- Python (PyPI)
- Package
salt- Disclosed
- 13.06.2025
- Updated
- 11.10.2026 13:19
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-1895 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-7f3f-x5f5-79gw - CC BY 4.0
Vulnerability history: salt
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 69
- First → latest
- 11.2013 01.2026
- Without a fix
- 0
- Exploited in attacks
- 3
Severity breakdown
- Critical 17
- High 32
- Medium 16
- Low 2
- Unrated 2
Disclosures per year
- 2017: 14
- 2018: 3
- 2019: 1
- 2020: 6
- 2021: 14
- 2022: 6
- 2023: 3
- 2024: 3
- 2025: 9
- 2026: 2
earlier: 8
-
Salt's file contents overwrite the VirtKey class this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.