CVE-2025-62348 Salt junos module uses an unsafe YAML loader which may allow unintended code execution

High 7.3 Published Updated

Attackers can execute arbitrary code via crafted YAML payloads in the Salt junos module, requiring immediate patching of the Salt automation framework.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
Available

What is CVE-2025-62348?

CVE-2025-62348 is a high-severity code injection vulnerability in Salt, published on 30 Jan 2026. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

Salt's junos execution module contained an unsafe YAML decode/load usage. A specially crafted YAML payload processed by the junos module could lead to unintended code execution under the context of the Salt process.

Weakness: CWE-94

Which versions are affected by CVE-2025-62348?

3 open source packages ship an affected version, including salt.

PackageAffectedFixed in
salt PyPIAll versions3006.17
salt PyPIAll versions3006.17
salt PyPIAll versions3006.17

How do I fix CVE-2025-62348?

Upgrade salt to 3006.17 or later.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2025-62348 being exploited?

There is no known exploitation of CVE-2025-62348 in the wild and no public exploit code.

Sources

Also known as GHSA-77w2-v593-vxvv, PYSEC-2026-1894, UBUNTU-CVE-2025-62348.

Is CVE-2025-62348 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free