Security mailing lists by PureSourceCode

CVE-2025-59957

HIGH 7.0CVSS 4.0

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.
Published
9 Oct 2025
Last modified
8 Oct 2026
Assigned by
sirt@juniper.net
NVD status
Analyzed
Weakness
CWE-346
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD sirt@juniper.net (Secondary) CVSS 4.0 HIGH 7.0 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:N/R:U/V:X/RE:H/U:X
NVD sirt@juniper.net (Secondary) CVSS 3.1 MEDIUM 6.8 CVSS:3.1/AV:P/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD juniper junos
cpe:2.3:o:juniper:junos:*:*:*:*:*:*:*:*
< 21.4 21.4
NVD juniper junos
cpe:2.3:o:juniper:junos:21.4:-:*:*:*:*:*:*
= 21.4
NVD juniper junos
cpe:2.3:o:juniper:junos:21.4:r1:*:*:*:*:*:*
= 21.4
NVD juniper junos
cpe:2.3:o:juniper:junos:21.4:r1-s1:*:*:*:*:*:*
= 21.4
NVD juniper junos
cpe:2.3:o:juniper:junos:21.4:r1-s2:*:*:*:*:*:*
= 21.4
NVD juniper junos
cpe:2.3:o:juniper:junos:21.4:r2:*:*:*:*:*:*
= 21.4
NVD juniper junos
cpe:2.3:o:juniper:junos:21.4:r2-s1:*:*:*:*:*:*
= 21.4
NVD juniper junos
cpe:2.3:o:juniper:junos:21.4:r2-s2:*:*:*:*:*:*
= 21.4
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:-:*:*:*:*:*:*
= 22.2
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:r1:*:*:*:*:*:*
= 22.2
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:r1-s1:*:*:*:*:*:*
= 22.2
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:r1-s2:*:*:*:*:*:*
= 22.2
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:r2:*:*:*:*:*:*
= 22.2
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:r2-s1:*:*:*:*:*:*
= 22.2
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:r2-s2:*:*:*:*:*:*
= 22.2
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:r3:*:*:*:*:*:*
= 22.2
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:r3-s1:*:*:*:*:*:*
= 22.2
NVD juniper junos
cpe:2.3:o:juniper:junos:22.2:r3-s2:*:*:*:*:*:*
= 22.2

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 9 Oct 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.