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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.3
- **CVSS:** 7.3 (v4.0, CNA) `CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Attack requirements: Present; Privileges required: Low; User interaction: None; Confidentiality impact: High; Integrity impact: High; Availability impact: High; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.25% (percentile 10, 2026-11-26)
- **CWE:** CWE-94
- **Aliases:** GHSA-77w2-v593-vxvv, PYSEC-2026-1894
- **Published:** 2026-01-30T18:57:52.056Z
- **Modified:** 2026-07-07T17:56:37.271Z

## Who should check

- Projects that depend on PyPI package salt (\< 3006.17)
- Anyone running Salt Project Salt \>= 3006.0, \< 3006.17
- Anyone running Salt Project Salt \>= 3007.0, \< 3007.9

## 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.

## Affected and fixed versions

- PyPI `salt`: affected \< 3006.17; fixed 3006.17 (osv)
- Salt Project Salt: \>= 3006.0, \< 3006.17 (cvelist)
- Salt Project Salt: \>= 3007.0, \< 3007.9 (cvelist)

## Mitigation

- Upgrade salt to 3006.17 or later.
- Vendor 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.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-62348. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-62348.md
Affected: salt < 3006.17
Fixed in: 3006.17

Steps:
1. Search this machine and project for salt (PyPI), Salt Project Salt: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-62348 being exploited?

There is no confirmed exploitation: CVE-2025-62348 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.25% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-62348?

High: CVSS 7.3 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2025-62348?

salt \< 3006.17.

### Is there a fix for CVE-2025-62348?

Yes. Fixed in 3006.17. Upgrade salt to 3006.17 or later. Vendor 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.

### How do I check if I'm affected by CVE-2025-62348?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://docs.saltproject.io/en/latest/topics/releases/3006.17.html>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-62348>
- vendor: <https://github.com/advisories/GHSA-77w2-v593-vxvv>
- patch: <https://github.com/saltstack/salt/pull/68472/commits/c17fd645edef208233dcac855615fced69409a00>
- other: <https://github.com/saltstack/salt/issues/68469>
- other: <https://github.com/saltstack/salt>
- other: <https://pypi.org/project/salt>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-62348>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-77w2-v593-vxvv> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/PYSEC-2026-1894> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-62348> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-62348>
