CVE-2025-22242: Salt's worker process vulnerable to denial of service through file read operation
Worker process denial of service through file read operation. .A vulnerability exists in the Master's “pubret” method which is exposed to all minions. The un-sanitized input value “jid” is used to construct a path which is then opened for reading. An attacker could exploit this vulnerabilities by attempting to read from a filename that will not return any data, e.g. by targeting a pipe node on the proc file system.
Published Jun 13, 2025
Affected packages
salt
- Ecosystem
- PyPI
- Affected
- >= 3007.0rc1, < 3007.4
- Fixed in
- 3007.4
- Check
pip show salt
salt
- Ecosystem
- PyPI
- Affected
- >= 3006.0rc1, < 3006.12
- Fixed in
- 3006.12
- Check
pip show salt
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Worker process denial of service through file read operation. .A vulnerability exists in the Master's “pub_ret” method which is exposed to all minions. The un-sanitized input value “jid” is used to construct a path which is then opened for reading. An attacker could exploit this vulnerabilities by attempting to read from a filename that will not return any data, e.g. by targeting a pipe node on the proc file system.
References
- https://nvd.nist.gov/vuln/detail/CVE-2025-22242
- 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/commit/e39116fb87bf4db9bcb9aade8258c66df87d41fe
- https://github.com/advisories/GHSA-989c-m532-p2hv
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 entriesCVE-2025-62348
Salt junos Module Vulnerable to Code Injection via Specially Crafted YAML Payload
high7.8Jan 30, 2026CVE-2025-62349
Salt Authentication Protocol Version Downgrade Allows Minion Impersonation
high6.2Jan 30, 2026CVE-2024-38824
Salt vulnerable to directory traversal attack in file receiving method
critical9.6Jun 13, 2025CVE-2024-38825
Salt's salt.auth.pki module does not properly authenticate callers
medium6.4Jun 13, 2025CVE-2025-22236
Salt has minion event bus authorization bypass vulnerability
high8.1Jun 13, 2025CVE-2025-22237
Salt's on demand pillar functionality vulnerable to arbitrary command injections
medium6.7Jun 13, 2025
