# CVE-2025-52983: Junos OS: After removing ssh public key authentication root can still log in

- Vendor: Juniper Networks, Junos OS
- Severity: HIGH (CVSS 4.0 8.6)
- Exploited (CISA KEV): not listed
- EPSS: 0.7% on 2026-12-02
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: JSA100089, https://supportportal.juniper.net/JSA100089
- Published: 2025-07-09; updated: 2025-07-11
- Page: https://patchtonight.com/cve/CVE-2025-52983/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| Junos OS 0 | 22.2R3-S7 or later |
| Junos OS 22.4 | 22.4R3-S5 or later |
| Junos OS 23.2 | 23.2R2-S3 or later |
| Junos OS 23.4 | 23.4R2-S3 or later |
| Junos OS 24.2 | 24.2R1-S2, 24.2R2 or later |

## The vendor's description

A UI Discrepancy for Security Feature

vulnerability in the UI of Juniper Networks Junos OS on VM Host systems allows a network-based, unauthenticated attacker to access the device.



On VM Host Routing Engines (RE), even if the configured public key for root has been removed, remote users which are in possession of the corresponding private key can still log in as root.
This issue affects Junos OS:



  *  all versions before 22.2R3-S7,
  *  22.4 versions before 22.4R3-S5,
  *  23.2 versions before 23.2R2-S3,
  *  23.4 versions before 23.4R2-S3,
  *  24.2 versions before 24.2R1-S2, 24.2R2.

## Workarounds

To prevent this issue from being ocuring, public key authentication for root can be explicitly disabled with:

[

system root-authentication no-public-keys

]

## Sources

- [Juniper Networks advisory](https://supportportal.juniper.net/JSA100089)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
