{"id":"GHSA-fcr4-h6c4-rvvp","summary":"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.","aliases":["CVE-2025-22237","PYSEC-2026-1898"],"modified":"2026-07-07T17:57:08.592890231Z","published":"2025-06-13T09:30:33Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2025-06-13T21:19:46Z","nvd_published_at":"2025-06-13T07:15:21Z","cwe_ids":["CWE-77"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-22237"},{"type":"WEB","url":"https://github.com/saltstack/salt/commit/9445f496fed61b15dc4364818007e5b765b0746f"},{"type":"WEB","url":"https://docs.saltproject.io/en/3006/topics/releases/3006.12.html"},{"type":"WEB","url":"https://docs.saltproject.io/en/3007/topics/releases/3007.4.html"},{"type":"PACKAGE","url":"https://github.com/saltstack/salt"}],"affected":[{"package":{"name":"salt","ecosystem":"PyPI","purl":"pkg:pypi/salt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3006.0rc1"},{"fixed":"3006.12"}]}],"versions":["3006.0","3006.0rc1","3006.0rc2","3006.0rc3","3006.1","3006.10","3006.11","3006.2","3006.3","3006.4","3006.5","3006.6","3006.7","3006.8","3006.9"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-fcr4-h6c4-rvvp/GHSA-fcr4-h6c4-rvvp.json"}},{"package":{"name":"salt","ecosystem":"PyPI","purl":"pkg:pypi/salt"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3007.0rc1"},{"fixed":"3007.4"}]}],"versions":["3007.0","3007.0rc1","3007.1","3007.2","3007.3"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/06/GHSA-fcr4-h6c4-rvvp/GHSA-fcr4-h6c4-rvvp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H"}]}