Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-59957

HIGH 7.0EPSS 13%

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

Mitigation

  • Upgrade Junos OS to 22.2R3-S3 or later.
  • Vendor workaround: There are no known workarounds for this issue.

Who should check

  • Anyone running Juniper Networks Junos OS < 21.4R3; >= 22.2, < 22.2R3-S3

Vulnerability facts

Affected
Juniper Networks Junos OS < 21.4R3; >= 22.2, < 22.2R3-S3
Fixed in
Juniper Networks Junos OS 21.4R3, Juniper Networks Junos OS 22.2R3-S3
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
7.0 (v4.0, CNA)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:HOpen in CVSS calculator
Show all 14 CVSS metrics
  • Attack vector: Physical
  • Attack complexity: Low
  • Attack requirements: None
  • Privileges required: None
  • User interaction: None
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
  • AU: N
  • R: U
  • RE: H
EPSS
0.28% chance of exploitation in 30 days (percentile 13, 2026-11-26)
CWE
CWE-346
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
Juniper Networks Junos OS< 21.4R3; >= 22.2, < 22.2R3-S3—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-59957. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-59957.md
Affected: Juniper Networks Junos OS < 21.4R3; >= 22.2, < 22.2R3-S3
Fixed in: Juniper Networks Junos OS 21.4R3, Juniper Networks Junos OS 22.2R3-S3

Steps:
1. Search this machine and project for Juniper Networks Junos OS: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-59957 being exploited?

There is no confirmed exploitation: CVE-2025-59957 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-59957?

High: CVSS 7.0 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2025-59957?

Juniper Networks Junos OS < 21.4R3; >= 22.2, < 22.2R3-S3.

Is there a fix for CVE-2025-59957?

Yes. Fixed in Juniper Networks Junos OS 21.4R3, Juniper Networks Junos OS 22.2R3-S3. Upgrade Junos OS to 22.2R3-S3 or later. Vendor workaround: There are no known workarounds for this issue.

How do I check if I'm affected by CVE-2025-59957?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors