---
id: CVE-2025-22242
aliases:
  - GHSA-989c-m532-p2hv
  - PYSEC-2026-1896
title: >-
  Salt's worker process vulnerable to denial of service through file read
  operation
summary: >-
  Salt's worker process vulnerable to denial of service through file read
  operation
severity: medium
cvss: 5.6
cvssVector: 'CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:H/I:N/A:H'
vendor: salt
product: salt
ecosystem: pip
affected:
  - 'salt >= 3007.0rc1, < 3007.4'
  - 'salt >= 3006.0rc1, < 3006.12'
patched:
  - salt 3007.4
  - salt 3006.12
published: '2025-06-13'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-989c-m532-p2hv'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2025-22242'
  - url: >-
      https://github.com/saltstack/salt/commit/e39116fb87bf4db9bcb9aade8258c66df87d41fe
  - url: 'https://docs.saltproject.io/en/3006/topics/releases/3006.12.html'
  - url: 'https://docs.saltproject.io/en/3007/topics/releases/3007.4.html'
  - url: 'https://github.com/saltstack/salt'
tags:
  - osv
  - pip
epss: 0.00139
epssPercentile: 0.02684
ingestedAt: '2026-07-08T18:25:47.793Z'
---

## Overview

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.

## Affected packages

- `salt >= 3007.0rc1, < 3007.4`
- `salt >= 3006.0rc1, < 3006.12`

## Remediation

Upgrade to a patched release:

- `salt 3007.4`
- `salt 3006.12`
