nday
CVE-2025-21590

Junos OS: An local attacker with shell access can execute arbitrary code

Juniper / Junos OS · Juniper Networks / Junos OS

Added to KEV 1 day after disclosure. nday has no fix record for it yet; that does not mean no patch exists. None of the four PoC sources lists it.

tags accesslocalno user interaction productJunos OS product typerouter / switch
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.

local
AV:L in CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA juniper
no user interaction
UI:N in CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N (CVSS 4.0) from the CNA juniper
Junos OS
affected products in the CVE record: Juniper · Junos OS, Juniper Networks · Junos OSCPE names NVD's analysts give as vulnerable: o:juniper:junos
router / switch
affected products in the CVE record: Juniper · Junos OS, 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
KEV
disclosed
disclosure → KEV
T+1d KEV is date-only
cvss
6.7 MEDIUM v4.0
KEV due date
2025-04-03

Lifecycle

x axis UTC; dot = exact minute, wide bar = date only, hollow = unknown or inferred.
time unknown
DISdisclosed
2025-03-12T13:59Z
PATpatch
no record yet
ANAanalysis
no record yet
POCPoC
no record yet
ITWexploited
≤ 2025-03-13, inferred from KEV
KEVKEV
2025-03-13, date only

Summary

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.

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

Exploit conditions

What an attack needs, read from the CVSS vector.
Attack vector AV:L
Local: needs a local or SSH session, or a user tricked into acting on the machine
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:H
High: administrative or similar privileges
User interaction UI:N
None: no action by anyone other than the attacker

CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N

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

Event log

+DISdisclosed

CVE record published by juniper. CVSS 6.7, medium. CISA's SSVC assessment rates exploitation as active.

src cvelist · nday , bulk import · raw
{
  "id": 17579,
  "type": "disclosed",
  "source": "cvelist",
  "url": "https://www.cve.org/CVERecord?id=CVE-2025-21590",
  "occurred_at": "2025-03-12T13:59:43.038Z",
  "observed_at": "2026-11-12T15:01:53.938848Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "kev": {
      "reference": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-21590",
      "date_added": "2025-03-13"
    },
    "cvss": {
      "source": "cna",
      "vector": "CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "version": "4.0",
      "base_score": 6.7,
      "base_severity": "MEDIUM"
    },
    "ssvc": {
      "timestamp": "2025-03-14T03:55:21.999597Z",
      "automatable": "no",
      "exploitation": "active",
      "technical_impact": "total"
    },
    "state": "PUBLISHED",
    "date_published": "2025-03-12T13:59:43.038Z",
    "assigner_short_name": "juniper"
  }
}
2025-03-13date only, from source
+KEVadded to KEV

CISA added it to the Known Exploited Vulnerabilities catalog, with a remediation deadline of 2025-04-03. Ransomware use: unknown.

src kev · nday , bulk import · raw
{
  "id": 478,
  "type": "kev_added",
  "source": "kev",
  "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog",
  "occurred_at": "2025-03-13T00:00:00Z",
  "observed_at": "2026-11-12T13:53:00.018191Z",
  "is_backfill": true,
  "dedupe_key": "",
  "detail": {
    "cwes": [
      "CWE-653"
    ],
    "notes": "https://supportportal.juniper.net/s/article/2025-03-Out-of-Cycle-Security-Bulletin-Junos-OS-A-local-attacker-with-shell-access-can-execute-arbitrary-code-CVE-2025-21590?language=en_US ; https://nvd.nist.gov/vuln/detail/CVE-2025-21590",
    "product": "Junos OS",
    "due_date": "2025-04-03",
    "precision": "day",
    "date_added": "2025-03-13",
    "vendor_project": "Juniper",
    "forensic_triage": "No",
    "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.",
    "vulnerability_name": "Juniper Junos OS Improper Isolation or Compartmentalization Vulnerability",
    "known_ransomware_campaign_use": "Unknown"
  }
}
≤ 2025-03-13inferred, no direct source
~ITWexploited in the wild

No source says when exploitation began. A KEV listing means it was already happening, so only an upper bound is known. CISA's SSVC assessment rates exploitation as active.

based on kev and CISA's assessment in cvelist

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.