Live threats

All CVEs / Salt

CVE-2023-34049SALT

Medium 6.7

Priority
40
CVSS 3.1
6.7
EPSS
0.3%
probability of exploitation in 30 days · percentile 12
Auth required
Yes
Published
Nov 14, 2024
Updated
Jun 17, 2026
Category
Application · Cross-platform
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H

What happens

The Salt-SSH pre-flight option copies the script to the target at a predictable path, which allows an attacker to force Salt-SSH to run their script. If an attacker has access to the target VM and knows the path to the pre-flight script before it runs they can ensure Salt-SSH runs their script with the privileges of the user running Salt-SSH. Do not make the copy path on the target predictable and ensure we check return codes of the scp command if the copy fails.

Original NVD text.

What to do

  1. Apply the vendor's security update for SALT.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI salt < 3005.4 3005.4 pip install "salt>=3005.4"
PyPI salt ≥ 3006.0rc1 < 3006.4 3006.4 pip install "salt>=3006.4"
PyPI salt < 3005.4 3005.4 pip install "salt>=3005.4"
PyPI salt ≥ 3006.0rc1 < 3006.4 3006.4 pip install "salt>=3006.4"

Per OSV / GitHub Advisories (GHSA-4277-m35q-7c9w, PYSEC-2026-1892). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.