CVE-2021-30181

Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)

CRITICAL
9.8
CVSS Score
Published: May 29, 2021 at 07:30 AM UTC
Updated: June 17, 2026 at 03:49 AM UTC
1 product affected across 1 vendorDubbo

Using Apache Dubbo by Apache Software Foundation?

Get instant alerts when new vulnerabilities affect Apache Dubbo - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
CRITICAL9.8
Exploit prediction
EPSS 61%

Description

Apache Dubbo prior to 2.6.9 and 2.7.9 supports Script routing which will enable a customer to route the request to the right server. These rules are used by the customers when making a request in order to find the right endpoint. When parsing these rules, Dubbo customers use ScriptEngine and run the rule provided by the script which by default may enable executing arbitrary code.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

2.5.0 ≤ v < 2.6.102.7.0 ≤ v < 2.7.10Apache Dubbo 2.6.x ≤ v < 2.6.9Apache Dubbo 2.7.x ≤ v < 2.7.92.6.x2.7.x
Affected range stops below 2.6.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.6.9, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.7.10, so it looks safe — our inference, not a vendor statement
Affected range stops below 2.7.9, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
HIGH
Availability
HIGH
Vector?

Quick Info

StatusMODIFIED
CWE
NVD-CWE-noinfo

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card