CVE-2025-59957

Junos OS: EX4600 Series and QFX5000 Series: An attacker with physical access can open a persistent backdoor

AllVuln state: AFFECTED

MEDIUM
CVSS
6.8
3.1
EPSS
0.18%
Percentile 8.33%
CISA KEV
Not listed
Published
October 9, 2025
Updated October 9, 2025

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.

Risk details

CVSS vector
CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
attack vector
P
attack complexity
L
privileges required
N
user interaction
N
scope
U
CWE
CWE-346

What should I do?

Review the vendor remediation for fixed or recommended release 21.4R3.

Supported product evidence

Juniper Networks · Junos OS
Confirmed affected by authoritative structured evidence · Juniper Networks CNA / CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.4R3
NOT_AFFECTED · EXACT
21.4R3
AFFECTED · RANGE
22.2R3-S3
NOT_AFFECTED · EXACT
22.2R3-S3
NOT_AFFECTED · DEFAULT
{"defaultStatus": "unaffected"}

Remediation

FIX_AVAILABLE
Release train: 21.4
First fixed: 21.4R3
Vendor recommended: Not supplied
Remediation source ↗
FIX_AVAILABLE
Release train: 22.2
First fixed: 22.2R3-S3
Vendor recommended: Not supplied
Remediation source ↗
Juniper Networks · Junos OS
Referenced / metadata only · CVE List V5
Vendor advisory ↗

Applicability

AFFECTED · RANGE
21.4R3
Platform: EX4600
AFFECTED · RANGE
21.4R3
Platform: QFX5000
AFFECTED · RANGE
22.2 → 22.2R3-S3
Platform: EX4600
AFFECTED · RANGE
22.2 → 22.2R3-S3
Platform: QFX5000

Remediation

UNKNOWN
Release train: 21.4R3
First fixed: Unknown
Vendor recommended: Not supplied
UNKNOWN
Release train: 22.2
First fixed: Unknown
Vendor recommended: Not supplied

Evidence sources

Coverage varies by vendor, product, platform, and historical source availability. Absence of a finding is not a security guarantee. Validate critical remediation against the linked vendor advisory.

AllVuln data refreshed November 5, 2026.

CVE-2025-59957 – Junos OS Affected Versions & Fix | AllVuln