---
id: CVE-2024-22232
aliases:
  - GHSA-2qw3-2wv6-p64x
  - PYSEC-2026-1891
title: Path traversal in saltstack
summary: Path traversal in saltstack
severity: high
cvss: 7.7
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N'
vendor: salt
product: salt
ecosystem: pip
affected:
  - salt < 3005.5
  - 'salt >= 3006.0, < 3006.6'
patched:
  - salt 3005.5
  - salt 3006.6
published: '2024-06-27'
updated: '2026-07-07'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-2qw3-2wv6-p64x'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-22232'
  - url: >-
      https://github.com/saltstack/salt/commit/e0cdb80b55123f4a024759ffcf2b3f0e0788e7ab
  - url: 'https://github.com/saltstack/salt'
  - url: 'https://saltproject.io/security-announcements/2024-01-31-advisory'
tags:
  - osv
  - pip
epss: 0.00837
epssPercentile: 0.56229
ingestedAt: '2026-07-08T18:25:44.602Z'
---

## Overview

A specially crafted url can be created which leads to a directory traversal in the salt file server.
A malicious user can read an arbitrary file from a Salt master’s filesystem.

## Affected packages

- `salt < 3005.5`
- `salt >= 3006.0, < 3006.6`

## Remediation

Upgrade to a patched release:

- `salt 3005.5`
- `salt 3006.6`
