CVE-2025-62348Salt junos module uses an unsafe YAML loader which may allow unintended code execution
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.
What to do
Fixed builds are available from Alpine, PyPI: see the table below for the fixed version per release.
Ubuntu has not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 22.04 | salt | Fix pending | UBUNTU-CVE-2025-62348 | |
| Alpine Linux 3.24 | salt | Fixed | 3007.9-r0 | ALPINE-CVE-2025-62348 |
| Alpine Linux 3.24 | salt-lts | Fixed | 3006.17-r0 | ALPINE-CVE-2025-62348 |
| Alpine Linux 3.23 | salt | Fixed | 3007.9-r0 | ALPINE-CVE-2025-62348 |
| Alpine Linux 3.23 | salt-lts | Fixed | 3006.17-r0 | ALPINE-CVE-2025-62348 |
| Alpine Linux 3.22 | salt | Fixed | 3007.9-r0 | ALPINE-CVE-2025-62348 |
| Alpine Linux 3.22 | salt-lts | Fixed | 3006.17-r0 | ALPINE-CVE-2025-62348 |
| PyPI library | salt | Fixed | 3006.17 | PYSEC-2026-1894 |
What the vendor says
As published in the CVE record by vmware, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- Salt Project Salt: affected: 3006.0 to before 3006.17; fixed in
3006.17 - Salt Project Salt: affected: 3007.0 to before 3007.9; fixed in
3007.9
Solution: Upgrade Salt to a release that includes the Junos module YAML loader fix (e.g., Salt 3006.17 or later for the 3006 LTS line). For distro-packaged builds, install the vendor-provided fixed package version (for example Alpine salt-lts 3006.17-r0 or higher).
Workaround: If upgrading immediately is not possible, reduce exposure by restricting which users/automation can invoke junos execution module functions and by limiting access to any YAML inputs used by the junos module. Prefer trusted sources only for YAML content.
Vendor advisories:
- https://docs.saltproject.io/en/latest/topics/releases/3006.17.html (release-notes, vendor-advisory)
References
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.