Advisory

PYSEC-2026-1900

Also known as: CVE-2024-22231, GHSA-q27c-j6j9-53w3

Summary

Directory creation by malicious user in saltstack

Details

Syndic cache directory creation is vulnerable to a directory traversal attack in salt project which can lead a malicious attacker to create an arbitrary directory on a Salt master.

Severity

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

Dates

Published
2026-07-07 14:34 UTC
Modified
2026-07-07 17:48 UTC

Affected packages and fixes

salt

PyPI · All systems

Affected

  • introduced 0, fixed 3005.5, introduced 3006.0, fixed 3006.6 (ecosystem)

Fixed versions

3005.5, 3006.6

Fix

  • Fixed version 3005.5
    pip install --upgrade salt==3005.5
  • Fixed version 3006.6
    pip install --upgrade salt==3006.6

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