Advisory

PYSEC-2026-1896

Also known as: CVE-2025-22242, GHSA-989c-m532-p2hv

Summary

Salt's worker process vulnerable to denial of service through file read operation

Details

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.

Severity

Medium Basis: CVSS v3 score 5.6, vector CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:H

Dates

Published
2026-07-07 16:02 UTC
Modified
2026-07-07 17:48 UTC

Affected packages and fixes

salt

PyPI · All systems

Affected

  • introduced 3007.0rc1, fixed 3007.4, introduced 3006.0rc1, fixed 3006.12 (ecosystem)

Fixed versions

3007.4, 3006.12

Fix

  • Fixed version 3007.4
    pip install --upgrade salt==3007.4
  • Fixed version 3006.12
    pip install --upgrade salt==3006.12

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences