saltstack/salt · Security
Salt's file contents overwrite the VirtKey class
- GHSA ID
- GHSA-7f3f-x5f5-79gw
- CVE ID
- CVE-2025-22241
- Severity
- medium
- Published
- Updated
- CVSS
- 5.6 · CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
- CVSS v3
- 5.6 · CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
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.
CWEs
- CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
- CWE-73 · External Control of File Name or Path
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22241 ↗
- 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/commit/9445f496fed61b15dc4364818007e5b765b0746f ↗
- https://github.com/advisories/GHSA-7f3f-x5f5-79gw ↗