nday
CVE-2025-59957

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

Juniper Networks / Junos OS

Disclosed . nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it. Not in CISA KEV.

why these tags

nday derives these tags by fixed rules from the facts below; NVD, the CNA and other sources do not assign them. Vocabulary and rules: ~/tags.

physical
AV:P in 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 (CVSS 4.0) from the CNA juniper
no authentication required
PR:N in 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 (CVSS 4.0) from the CNA juniper
no user interaction
UI:N in 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 (CVSS 4.0) from the CNA juniper
Junos OS
affected products in the CVE record: Juniper Networks · Junos OSCPE names NVD's analysts give as vulnerable: o:juniper:junos
router / switch
affected products in the CVE record: Juniper Networks · Junos OSCPE names NVD's analysts give as vulnerable: o:juniper:junosthe product type of Junos OS in nday's product registry
stage
DIS
disclosed
cvss
7.0 HIGH v4.0

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-10-09T15:43Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
no record yet
KEVKEV
no record yet

Summary

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.

Original text of the CVE record (cvelist), shown as published.

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:P
Physical: needs physical access to the device
Attack complexity AC:L
Low: no target-specific security measures to get around
Attack requirements AT:N
None: success does not depend on how the target is deployed or running
Privileges required PR:N
None: no account or authorization needed
User interaction UI:N
None: no action by anyone other than the attacker

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

CVSS 4.0 vector from the CVE record, scored by the CNA juniper.

Event log

+DISdisclosed

CVE record published by juniper. CVSS 7, high.

src cvelist · nday , bulk import · raw
{
  "id": 386361,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-59957",
  "occurred_at": "2025-10-09T15:43:23.11Z",
  "observed_at": "2026-11-13T05:39:15.862126Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cvss": {
      "source": "cna",
      "vector": "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",
      "version": "4.0",
      "base_score": 7,
      "base_severity": "HIGH"
    },
    "ssvc": {
      "timestamp": "2025-10-09T19:45:08.214706Z",
      "automatable": "no",
      "exploitation": "none",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-10-09T15:43:23.110Z",
    "assigner_short_name": "juniper"
  }
}

Report an error

report an error or omission

Something on this page wrong or missing? Tell the editors; if they accept it, this page's revision log says so publicly. Upstream data is not changed.

Researcher discussion

0 researchers mentioned this in the last 7 days

Posts on X by researchers on nday's list that mention this CVE, shown as posted. nday does not check them.

nday has not collected any post on X by listed researchers that mentions this CVE.

Discussion

0 comments

No comments yet.