Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-94.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Dubbo | Apache Dubbo 2.7.x to before 2.7.9; Apache Dubbo 2.6.x to before 2.6.9 | 2.7.9, 2.6.9 | Patch available | CNA |
| — | com.alibaba:dubbo (Maven) | 2.5.0 to before 2.6.9 | 2.6.9 | Patch available | GHSA-qmfc-6www-fjqw |
| — | org.apache.dubbo:dubbo (Maven) | 2.5.0 to before 2.7.10 | 2.7.10 | Patch available | GHSA-qmfc-6www-fjqw |
- Apache Dubbo VendorApache Affected Apache Dubbo 2.7.x to before 2.7.9; Apache Dubbo 2.6.x to before 2.6.9 Fixed in 2.7.9, 2.6.9 Patch available CNA
- com.alibaba:dubbo (Maven) Vendor— Affected 2.5.0 to before 2.6.9 Fixed in 2.6.9 Patch available GHSA-qmfc-6www-fjqw
- org.apache.dubbo:dubbo (Maven) Vendor— Affected 2.5.0 to before 2.7.10 Fixed in 2.7.10 Patch available GHSA-qmfc-6www-fjqw
Remediation
- Fix · CNA Apache Dubbo (Apache Software Foundation) Fixed in 2.7.9, 2.6.9
- Fix · GHSA-qmfc-6www-fjqw com.alibaba:dubbo (Maven) Fixed in 2.6.9 Advisory →
- Fix · GHSA-qmfc-6www-fjqw org.apache.dubbo:dubbo (Maven) Fixed in 2.7.10 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2021-30181
- 2026-10-03 Alias added: GHSA-qmfc-6www-fjqw
References
More Apache Dubbo vulnerabilities
- TI-2021-12489 Regular expression Denial of Service in MooTools CVSS 3.1CRITICAL 9.8
- TI-2021-10720 Apache Dubbo RCE on customers via Condition route poisoning (Unsafe YAML unmarshaling) CVSS 3.1CRITICAL 9.8
- TI-2019-13107 Deserialization of untrusted data in Apache Dubbo CVSS 3.1CRITICAL 9.8
- TI-2021-07774 Dubbo Zookeeper does not check serialization id CVSS 3.1CRITICAL 9.8
- TI-2021-19290 Dubbo Hessian cause RCE when parse error CVSS 3.1CRITICAL 9.8
- TI-2020-01872 Deserialization of untrusted data in Apache Dubbo CVSS 3.1CRITICAL 9.8
Sources
- CVE-2021-30181 · CVE Program
- CVE-2021-30181 · NVD
- FIRST EPSS
- GHSA-qmfc-6www-fjqw · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences