Code injection in Salt - CVE-2025-62348

 

Code injection in Salt - CVE-2025-62348

Published: December 19, 2025


Vulnerability identifier: #VU120228
CSH Severity: Medium
CVSS v4.0: CVSS:4.0/AV:L/AC:H/AT:N/PR:N/UI:A/VC:L/VI:H/VA:L/SC:N/SI:N/SA:N/E:U/U:Green
CVE-ID: CVE-2025-62348
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: SaltStack
Affected software:
Salt

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper input validation within the junos module when parsing yaml files. A remote attacker can trick the victim into using a specially crafted yaml file and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2025-62348

Install updates from vendor's website.

Sources