CVE-2025-22241
File contents overwrite the VirtKey class is called when “on-demand …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- docs.saltproject.io/en/3006/topics/releases/3006.12.html
- docs.saltproject.io/en/3007/topics/releases/3007.4.html
- nvd.nist.gov/vuln/detail/CVE-2025-22241
- github.com/saltstack/salt/commit/9445f496fed61b15dc4364818007e5b765b0746f
- github.com/advisories/GHSA-7f3f-x5f5-79gw
- nvd.nist.gov/vuln/detail/CVE-2025-22241
- cve.org/CVERecord?id=CVE-2025-22241
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.