{
  "id": "CVE-2025-21590",
  "url": "https://patchtonight.com/cve/CVE-2025-21590/",
  "page": "analysis",
  "vendor": "Juniper Networks",
  "product": "Junos OS (kernel, shell access)",
  "title": "Junos OS shell-to-code flaw, used to backdoor MX routers",
  "summary": "A kernel isolation flaw lets an attacker with root shell access run code on a Junos OS device and get around its binary protections. Exploited by the China-nexus group UNC3886 since mid-2024 and on CISA's KEV list; no public proof of concept is confirmed.",
  "published": "2025-03-12",
  "updated": "2026-10-18",
  "severity": "MEDIUM",
  "cvss": {
    "version": "4.0",
    "score": 6.7,
    "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"
  },
  "exploited": {
    "cisaKev": true,
    "dateAdded": "2025-03-13",
    "dueDate": "2025-04-03",
    "ransomware": false
  },
  "epss": {
    "score": 0.01749,
    "percentile": 0.78548,
    "date": "2026-12-02"
  },
  "publicExploit": false,
  "patchAvailable": true,
  "affected": [
    {
      "branch": "Junos OS before 21.2R3-S9",
      "fixedIn": "21.2R3-S9 or later (use 21.2R3-S9.21; S9.20 was incomplete)"
    },
    {
      "branch": "Junos OS 21.4",
      "fixedIn": "21.4R3-S10 or later"
    },
    {
      "branch": "Junos OS 22.2",
      "fixedIn": "22.2R3-S6 or later"
    },
    {
      "branch": "Junos OS 22.4",
      "fixedIn": "22.4R3-S6 or later"
    },
    {
      "branch": "Junos OS 23.2",
      "fixedIn": "23.2R2-S3 or later"
    },
    {
      "branch": "Junos OS 23.4",
      "fixedIn": "23.4R2-S4 or later"
    },
    {
      "branch": "Junos OS 24.2",
      "fixedIn": "24.2R1-S2, 24.2R2 or later"
    }
  ],
  "vendorAdvisory": {
    "id": "JSA93446",
    "url": "https://supportportal.juniper.net/JSA93446"
  },
  "cwe": "CWE-653 Improper Isolation or Compartmentalization",
  "iocs": {
    "count": 21,
    "list": "https://patchtonight.com/iocs/CVE-2025-21590.csv"
  },
  "sources": [
    {
      "label": "Juniper advisory JSA93446",
      "url": "https://supportportal.juniper.net/JSA93446"
    },
    {
      "label": "CVE record for CVE-2025-21590",
      "url": "https://cveawg.mitre.org/api/cve/CVE-2025-21590"
    },
    {
      "label": "CISA Known Exploited Vulnerabilities catalog entry",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-21590"
    },
    {
      "label": "Google Threat Intelligence (Mandiant) report on UNC3886 and Juniper routers",
      "url": "https://cloud.google.com/blog/topics/threat-intelligence/china-nexus-espionage-targets-juniper-routers"
    }
  ],
  "attribution": "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."
}