HIGH8.1
PYSEC-2026-1897
Salt vulnerable to arbitrary event injection
Quick fix
PYSEC-2026-1897 — salt: upgrade to the fixed version with the command below.
pip install --upgrade 'salt>=3006.12'Details
Arbitrary event injection on Salt Master. The master's "_minion_event" method can be used by and authorized minion to send arbitrary events onto the master's event bus.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22239[ADVISORY]
- https://github.com/saltstack/salt/commit/41d834bf800d86fc496e4fac2d3875fc2aca7c62[WEB]
- https://docs.saltproject.io/en/3006/topics/releases/3006.12.html[WEB]
- https://docs.saltproject.io/en/3007/topics/releases/3007.4.html[WEB]
- https://github.com/saltstack/salt[PACKAGE]
- https://pypi.org/project/salt[PACKAGE]
- https://github.com/advisories/GHSA-c46w-gr7f-jm2p[ADVISORY]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:pypi/salt"]}'