PyPA Advisory Database
PYSEC-2026-1898
Salt's on demand pillar functionality vulnerable to arbitrary command injections
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| PyPI | salt | From 3006.0rc1 before 3006.12 (fixed in 3006.12) From 3007.0rc1 before 3007.4 (fixed in 3007.4) |
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22237
- 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-fcr4-h6c4-rvvp