draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2025-21590: Juniper Junos OS Improper Isolation or Compartmentalization Vulnerability

Exploited in attacks

Yes. CVE-2025-21590 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 13 March 2025. We found no public exploit code for it in Exploit-DB, Metasploit or Nuclei, so the attacks rely on tooling that is not openly published in those sources. EPSS puts the chance of further exploitation attempts in the next 30 days at 1.7%.

Exploited in real attacks
Yes. On CISA's exploited list since 13 March 2025
Used in ransomware
Not known
Public exploit code
None found in Exploit-DB, Metasploit or Nuclei
Chance of exploitation (EPSS)
1.7% in the next 30 days, higher than 78.7% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
4.4 Medium (version 3.1)
Affects
Juniper Junos OS
Type of flaw
Improper Isolation or Compartmentalization (CWE-653)
Published
12 March 2025
US federal patch deadline
3 April 2025

What it is

Juniper Junos OS contains an improper isolation or compartmentalization vulnerability. This vulnerability could allows a local attacker with high privileges to inject arbitrary code.

An Improper Isolation or Compartmentalization vulnerability in the kernel of Juniper Networks Junos OS allows a local attacker with high privileges to compromise the integrity of the device. A local attacker with access to the shell is able to inject arbitrary code which can compromise an affected device. This issue is not exploitable from the Junos CLI. This issue affects Junos OS: * All versions before 21.2R3-S9, * 21.4 versions before 21.4R3-S10, * 22.2 versions before 22.2R3-S6, * 22.4 versions before 22.4R3-S6, * 23.2 versions before 23.2R2-S3, * 23.4 versions before 23.4R2-S4, * 24.2 versions before 24.2R1-S2, 24.2R2.

Description from the CVE record.

Is CVE-2025-21590 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2025-21590 on 13 March 2025. That was 1 day after the CVE was published.

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Juniper Junos OS runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Junos OS. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in Juniper products

CVEWhat it affectsStatusEPSSPublished
CVE-2015-7755Juniper ScreenOSPublic exploit61.4%19 December 2015
CVE-2023-36845Juniper Junos OSPublic exploit98.7%17 August 2023
CVE-2023-36846Juniper Junos OSNo public exploit found93.5%17 August 2023
CVE-2023-36844Juniper Junos OSPublic exploit90.0%17 August 2023
CVE-2023-36847Juniper Junos OSNo public exploit found83.5%17 August 2023
CVE-2023-36851Juniper Junos OSNo public exploit found1.1%26 September 2023

Sources

Machine-readable: /api/cve/CVE-2025-21590.json