# CVE-2025-59957: Junos OS: EX4600 Series and QFX5000 Series: An attacker with physical access can open a persistent backdoor

- Severity: High 7.0 (CVSS:4.0, scored by juniper) `CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:N/R:U/RE:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Published: 2025-10-09T15:43:23.110Z
- Modified: 2026-10-08T13:10:00.200Z
- Weaknesses: CWE-346
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: juniper

## Description

An Origin Validation Error vulnerability in an insufficient protected file of Juniper Networks Junos OS on EX4600 Series and QFX5000 Series allows an unauthenticated attacker with physical access to the device to create a backdoor which allows complete control of the system.

When a device isn't configured with a root password, an attacker can modify a specific file. It's contents will be added to the Junos configuration of the device without being visible. This allows for the addition of any configuration unknown 

to the actual operator, which includes users, IP addresses and other configuration which could allow unauthorized access to the device.
This exploit is persistent across reboots and even zeroization.

The indicator of compromise is a modified /etc/config/<platform>-defaults[-flex].conf file. Review that file for unexpected configuration statements, or compare it to an unmodified version which can be extracted from the original Juniper software image file. For details on the extraction procedure please contact Juniper Technical Assistance Center (JTAC).

To restore the device to a trusted initial configuration the system needs to be reinstalled from physical media. 

This issue affects Junos OS on EX4600 Series and QFX5000 Series:



  *  All versions before 21.4R3,
  *  22.2 versions before 22.2R3-S3.

(As written by CVE List.)

## Affected

- Juniper Networks Junos OS: before 21.4R3; from 22.2 before 22.2R3-S3
- juniper junos: before 21.4; 21.4; 22.2

## Every score

- juniper: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- juniper: CVSS:4.0 7.0 High `CVSS:4.0/AV:P/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/AU:N/R:U/RE:H`

## References

- <https://supportportal.juniper.net/JSA103146> (vendor-advisory)
- <https://supportportal.juniper.net/s/article/EX-QFX-Procedure-to-format-install-QFX5K-device-using-a-USB> (technical-description)
- <https://support.juniper.net/support/requesting-support/> (technical-description, vendor-advisory)

## Sources

- CVE List: [CVE-2025-59957](https://www.cve.org/CVERecord?id=CVE-2025-59957), CVE Terms of Use, modified 2025-10-09
- NVD: [CVE-2025-59957](https://nvd.nist.gov/vuln/detail/CVE-2025-59957), Public domain, modified 2026-10-08

---

Page: https://cve.day/CVE-2025-59957 · Whole record: https://cve.day/CVE-2025-59957.json · Rebuilt by cve.day 2026-11-25T22:59:05.706Z
