CVE-2021-30181Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)
- 9.8CriticalCVSS base score
- 60.9%Exploitation in 30 daysEPSS · top 0.8% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By apache
- 52 days later
· 52 days later
Published
- 3 years later
· 3 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 60.9% · top 0.8% of all CVEs (18 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
Apache Software Foundation · Apache Dubbo
- affected Apache Dubbo 2.7.x – < 2.7.9
- affected Apache Dubbo 2.6.x – < 2.6.9
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavencom.alibaba:dubboGHSA-qmfc-6www-fjqw (opens in a new tab)
- Mavenorg.apache.dubbo:dubboGHSA-qmfc-6www-fjqw (opens in a new tab)
References
References1
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2022-1521 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-qmfc-6www-fjqw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2021-30181)Record last updated .