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

- Severity: Medium 6.7 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.27%, higher than 12% of CVEs (2026-11-30)
- Published: 2024-11-14T04:13:55.255Z
- Modified: 2026-07-07T17:57:27.070Z
- Also known as: GHSA-4277-m35q-7c9w, PYSEC-2026-1892
- Weaknesses: CWE-340
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: vmware

## 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.

(As written by CVE List.)

## Affected

- SALT: from 3005 before 3005.4; from 3004 before 3006.4
- salt_project salt: from 3005 before 3005.4; from 3004 before 3006.4
- salt (PyPI): before 3005.4; from 3006.0rc1 before 3006.4

## Every score

- vmware: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`
- PyPA Advisory Database: CVSS:3.1 6.7 Medium `CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://saltproject.io/security-announcements/2023-10-27-advisory/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-34049> (advisory)
- <https://github.com/saltstack/salt/commit/286d55eb5a6e6bf9428405bdf5632b419bdf8444> (web)
- <https://github.com/saltstack/salt/commit/7a14112f2a16ce70e3c3e1862c92e37af5f2c7a4> (web)
- <https://github.com/saltstack/salt> (package)
- <https://saltproject.io/security-announcements/2023-10-27-advisory> (web)
- <https://pypi.org/project/salt> (package)
- <https://github.com/advisories/GHSA-4277-m35q-7c9w> (advisory)

## Sources

- CVE List: [CVE-2023-34049](https://www.cve.org/CVERecord?id=CVE-2023-34049), CVE Terms of Use, modified 2024-11-14
- GitHub Advisory Database: [GHSA-4277-m35q-7c9w](https://github.com/advisories/GHSA-4277-m35q-7c9w), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2023-34049](https://nvd.nist.gov/vuln/detail/CVE-2023-34049), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2026-1892](https://osv.dev/vulnerability/PYSEC-2026-1892), CC-BY-4.0, modified 2026-07-07

---

Page: https://cve.day/CVE-2023-34049 · Whole record: https://cve.day/CVE-2023-34049.json · Rebuilt by cve.day 2026-11-25T22:58:34.361Z
