{"id":"CVE-2023-34049","aliases":["CVE-2023-34049","GHSA-4277-m35q-7c9w","PYSEC-2026-1892"],"related":[],"kind":"vulnerability","state":"published","title":"Salt security advisory release - 2023-OCT-27","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"La opción de pre-vuelo de Salt-SSH copia el script al destino en una ruta predecible, lo que permite a un atacante forzar a Salt-SSH a ejecutar su script. Si un atacante tiene acceso a la máquina virtual de destino y conoce la ruta al script de pre-vuelo antes de que se ejecute, puede asegurarse de que Salt-SSH ejecute su script con los privilegios del usuario que ejecuta Salt-SSH. No haga que la ruta de copia en el destino sea predecible y asegúrese de verificar los códigos de retorno del comando scp si la copia falla.","source":"nvd"}],"published":"2024-11-14T04:13:55.255Z","modified":"2026-07-07T17:57:27.070Z","severity":{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},"severities":[{"scorer":"vmware","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:U/C:H/I:H/A:H","score":6.7,"rating":"MEDIUM"}],"cwes":["CWE-340"],"affected":[{"ranges":[{"type":"oss","introduced":"3005","fixed":"3005.4","status":"affected"},{"type":"oss","introduced":"3004","fixed":"3006.4","status":"affected"}],"vendor":"Salt","product":"SALT","package":"SALT","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"3005","fixed":"3005.4","status":"affected"},{"type":"custom","introduced":"3004","fixed":"3006.4","status":"affected"}],"vendor":"salt_project","product":"salt","cpe":"cpe:2.3:a:salt_project:salt:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3005.4"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"3006.0rc1","status":"affected","fixed":"3006.4"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3005.4"},{"type":"ecosystem","introduced":"3006.0rc1","status":"affected","fixed":"3006.4"}],"ecosystem":"PyPI","package":"salt","purl":"pkg:pypi/salt","source":"pysec"}],"references":[{"url":"https://saltproject.io/security-announcements/2023-10-27-advisory/","tags":[],"sources":["cvelist","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34049","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/saltstack/salt/commit/286d55eb5a6e6bf9428405bdf5632b419bdf8444","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/saltstack/salt/commit/7a14112f2a16ce70e3c3e1862c92e37af5f2c7a4","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/saltstack/salt","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://saltproject.io/security-announcements/2023-10-27-advisory","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/salt","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-4277-m35q-7c9w","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"vmware","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-11-14T15:12:53.355Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-34049","url":"https://www.cve.org/CVERecord?id=CVE-2023-34049","licence":"CVE Terms of Use","modified":"2024-11-14T15:20:15.288Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-4277-m35q-7c9w","url":"https://github.com/advisories/GHSA-4277-m35q-7c9w","licence":"CC-BY-4.0","modified":"2026-07-07T17:57:27.070Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-34049","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-34049","licence":"Public domain","modified":"2026-06-17T06:02:48.060Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-1892","url":"https://osv.dev/vulnerability/PYSEC-2026-1892","licence":"CC-BY-4.0","modified":"2026-07-07T17:47:51.845Z"}],"updatedAt":"2026-11-25T22:58:34.361Z","epss":{"score":0.00267,"percentile":0.11729,"date":"2026-11-30T12:00:22.000Z"}}