CVE-2025-59957 in Juniper Junos and 12 more products
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.
Affects 13 products from 1 vendor. Description from NVD and MITRE.
Requires physical access, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Juniper | Junos | 21.4 22.2 < 21.4 |
| Juniper | EX4600 | 21.4 22.2 < 21.4 |
| Juniper | EX4650 | 21.4 22.2 < 21.4 |
| Juniper | QFX5200 | 21.4 22.2 < 21.4 |
| Juniper | QFX5110 | 21.4 22.2 < 21.4 |
| Juniper | QFX5120 | 21.4 22.2 < 21.4 |
| Juniper | QFX5210 | 21.4 22.2 < 21.4 |
| Juniper | QFX5220 | 21.4 22.2 < 21.4 |
| Juniper | QFX5130 | 21.4 22.2 < 21.4 |
| Juniper | QFX5700 | 21.4 22.2 < 21.4 |
Platforms listed by the source (the vulnerable product runs on these; they are not themselves vulnerable): Juniper QFX5230-64CD, Juniper QFX5240, Juniper QFX5241
Fix and vendor advisory
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Record details
| CVE ID | CVE-2025-59957 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-299844-M |
| CVSS vector | CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| Published | 2025-10-09 |
| Last modified | 2026-10-08 |
| Weakness (CWE) | |
| Source | NVD |
Check devices from your own code or AI agent: free 14-day trial
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-10-08.