CVE-2025-52989 Junos OS and Junos OS Evolved: Annotate configuration command can be used to change the configuration

Medium 6.8 Published Updated

A local authenticated attacker with limited permissions can modify any part of the device configuration via a crafted annotate command.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-52989?

CVE-2025-52989 is a medium-severity vulnerability in Juniper Junos, published on 11 Jul 2025. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

An Improper Neutralization of Delimiters vulnerability in the UI of Juniper Networks Junos OS and Junos OS Evolved allows a local, authenticated attacker with high privileges to modify the system configuration.

A user with limited configuration and commit permissions, using a specifically crafted annotate configuration command, can change any part of the device configuration.

This issue affects:

 Junos OS: 

* all versions before 22.2R3-S7, * 22.4 versions before 22.4R3-S7, * 23.2 versions before 23.2R2-S4, * 23.4 versions before 23.4R2-S4, * 24.2 versions before 24.2R2-S1, * 24.4 versions before 24.4R1-S2, 24.4R2;

Junos OS Evolved:

* all versions before 22.4R3-S7-EVO, * 23.2-EVO versions before 23.2R2-S4-EVO, * 23.4-EVO versions before 23.4R2-S5-EVO,  * 24.2-EVO versions before 24.2R2-S1-EVO

* 24.4-EVO versions before 24.4R2-EVO.

Weakness: CWE-140

Which versions are affected by CVE-2025-52989?

It affects 2 products.

Products include Juniper Junos, Juniper Junos Os Evolved.

How do I fix CVE-2025-52989?

No fix has been published for CVE-2025-52989 yet. Limit exposure of the affected software until one is available.

Is CVE-2025-52989 being exploited?

There is no known exploitation of CVE-2025-52989 in the wild and no public exploit code.

All Juniper Junos vulnerabilities

Sources

Also known as GHSA-23x4-8x8q-6443.

Is CVE-2025-52989 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free