CVE-2025-62348: Salt Package Vulnerable to Code Injection via Specially Crafted YAML Payload

salt Updated 07 Jul 2026

Summary

07/07/2026
Yes i
High
7.8

CVE-2025-62348: Salt junos Module Vulnerable to Code Injection via Specially Crafted YAML Payload. Affects salt versions < 3006.17. Fixed in 3006.17. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored MarkAI Find prospects already talking about the problem you solve AI watches the communities your customers use to find qualified prospects, then alerts you when a conversation is worth joining. See MarkAI

Background

Salt is an open-source configuration management and orchestration tool that allows users to manage and automate the deployment of software and systems. It utilizes a master-minion architecture, where commands are sent from a master server to minion clients. The Salt junos module is specifically designed for managing network devices running Junos OS. This module is widely used in network automation but has been found to contain a critical vulnerability that could lead to severe security risks.

Vulnerability Detail

The vulnerability arises from an unsafe usage of YAML decode/load functions within the Salt junos execution module. A specially crafted YAML payload can be processed by the junos module, leading to unintended code execution within the context of the Salt process. This could allow an attacker to execute arbitrary code, potentially compromising the entire system and leading to data breaches or unauthorized access.

How To Fix

Latest published version: 3008.3.0 as of 22 Oct 2026

pip install --upgrade "salt==3008.3.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3006.17

This is the first release that contains the fix.

pip install --upgrade "salt==3006.17"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

As a temporary workaround, it is advisable to avoid processing untrusted YAML payloads with the junos module until the package is updated. Additionally, implementing strict input validation can help mitigate the risk of code injection.

Conclusion

The Salt package has a critical vulnerability (CVE-2025-62348) that allows for code injection via specially crafted YAML payloads. It is crucial to update to version 3006.17 or later to mitigate this risk. Users should also consider temporary workarounds until they can apply the necessary updates.

See every vulnerability recorded for salt →

Share this vulnerability

FAQ

CVE-2025-62348 is a vulnerability in the Salt package that allows for code injection through specially crafted YAML payloads.

If exploited, this vulnerability can lead to arbitrary code execution, potentially compromising your system and data.

All versions of Salt prior to 3006.17 are affected by this vulnerability.

You can use Vulert's playground at Vulert Scanner to check if your application is affected by this vulnerability without any signup.

If an immediate update is not possible, avoid processing untrusted YAML payloads and implement strict input validation as a temporary measure.

Related vulnerabilities

Recent vulnerabilities recorded for salt.

How To Fix

Latest published version: 3008.3.0 as of 22 Oct 2026

pip install --upgrade "salt==3008.3.0"

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

3006.17

This is the first release that contains the fix.

pip install --upgrade "salt==3006.17"

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback