NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2025-22237: Salt's on demand pillar functionality vulnerable to arbitrary command injections

mediumCVSS 3.1 6.7GHSA-fcr4-h6c4-rvvp

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.

Published Jun 13, 2025

Affected packages

salt

Ecosystem
PyPI
Affected
>= 3006.0rc1, < 3006.12
Fixed in
3006.12
Check
pip show salt

salt

Ecosystem
PyPI
Affected
>= 3007.0rc1, < 3007.4
Fixed in
3007.4
Check
pip show salt

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries