{"id":"CVE-2025-22237","aliases":["GHSA-fcr4-h6c4-rvvp","PYSEC-2026-1898"],"title":"Salt's on demand pillar functionality vulnerable to arbitrary command injections ","summary":"Salt's on demand pillar functionality vulnerable to arbitrary command injections ","severity":"medium","cvss":6.7,"cvssVector":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","vendor":"salt","product":"salt","ecosystem":"pip","affected":["salt >= 3006.0rc1, < 3006.12","salt >= 3007.0rc1, < 3007.4"],"patched":["salt 3006.12","salt 3007.4"],"published":"2025-06-13","updated":"2026-07-07","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-fcr4-h6c4-rvvp","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22237"},{"url":"https://github.com/saltstack/salt/commit/9445f496fed61b15dc4364818007e5b765b0746f"},{"url":"https://docs.saltproject.io/en/3006/topics/releases/3006.12.html"},{"url":"https://docs.saltproject.io/en/3007/topics/releases/3007.4.html"},{"url":"https://github.com/saltstack/salt"}],"tags":["osv","pip"],"epss":0.00179,"epssPercentile":0.07716,"ingestedAt":"2026-07-08T18:25:48.863Z","slug":"CVE-2025-22237","body":"## Overview\n\nAn 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.\n\n## Affected packages\n\n- `salt >= 3006.0rc1, < 3006.12`\n- `salt >= 3007.0rc1, < 3007.4`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `salt 3006.12`\n- `salt 3007.4`","depth":"sunlit","depthScore":37,"depthScoreParts":{"impact":36.9,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}