saltstack/salt · Security
Salt's on demand pillar functionality vulnerable to arbitrary command injections
- GHSA ID
- GHSA-fcr4-h6c4-rvvp
- CVE ID
- CVE-2025-22237
- Severity
- medium
- Published
- Updated
- CVSS
- 6.7 · CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
- CVSS v3
- 6.7 · CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Description
An attacker with access to a minion key can exploit the 'on demand' pillar functionality with a specially crafted git url which could cause and arbitrary command to be run on the master with the same privileges as the master process.
CWEs
- CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22237 ↗
- 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-fcr4-h6c4-rvvp ↗