CVE-2025-22241
Salt's file contents overwrite the VirtKey class
5.6
MEDIUM
CVSS 3.1
EPSS 0.14%
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.
How to fix CVE-2025-22241
To remediate CVE-2025-22241, upgrade the affected package to a fixed version below.
- —upgrade to 3007.4 or later
Is CVE-2025-22241 being exploited?
Low — EPSS is 0.1%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- >= 3007.0rc1, < 3007.4
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.6 | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N |