CVE-2021-30181
CriticalCode injection in Apache Dubbo
Published Mar 18, 2022 · Updated Jul 9, 2026 · Also known as GHSA-qmfc-6www-fjqw
Key Facts
Patch immediately- CVE-2021-30181 is a critical-severity vulnerability (CVSS 9.8 v3.1) affecting Dubbo (Apache), com.alibaba:dubbo (maven), org.apache.dubbo:dubbo (maven).
- It is not listed in any known-exploited vulnerabilities catalog. No public exploit code is known.
- EPSS estimates a 61% probability of exploitation in the next 30 days.
- Fixed versions are available, including Dubbo 2.6.10, Dubbo 2.6.9, Dubbo 2.7.9.
- Brandefense priority: patch immediately, because it is very likely to be exploited soon.
CVSS v3.1
9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS (30-day exploit likelihood)
61%
Higher than 99.1% of all scored CVEs
Exploited in the wild
No known
Not in a known-exploited catalog
Public exploit code
None known
Get the full CVE-2021-30181 brief as a PDF
Every affected product and fixed release, exploitation status and a first 24 hours response checklist, emailed within minutes.
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 Products
4 affected entries in total| Product | Affected versions | Fixed in |
|---|---|---|
| DubboApache | >= Apache Dubbo 2.7.x | 2.6.10 |
| com.alibaba:dubbomaven | >= 2.5.0 | 2.6.9 |
| org.apache.dubbo:dubbomaven | >= 2.5.0 | 2.7.10 |
Patched Releases
Dubbo
2.6.10, 2.6.9, 2.7.9
com.alibaba:dubbo
2.6.9
org.apache.dubbo:dubbo
2.7.10
Timeline
Publicly disclosed
Mar 18, 2022
Last updated
Jul 9, 2026
Weakness Type
- CWE-94 Improper Control of Generation of Code ('Code Injection')
References
FAQ
Common Questions.
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.
Affected: Dubbo (Apache) versions >= Apache Dubbo 2.7.x; com.alibaba:dubbo (maven) versions >= 2.5.0; org.apache.dubbo:dubbo (maven) versions >= 2.5.0. The full list is in the CVE brief.
It is not listed in any known-exploited vulnerabilities catalog.
No, it is not currently listed in the CISA Known Exploited Vulnerabilities catalog.
No public exploit code is known.
Fixed versions are available, including Dubbo 2.6.10, Dubbo 2.6.9, Dubbo 2.7.9.
Brandefense priority: patch immediately, because it is very likely to be exploited soon.
Is CVE-2021-30181 Running On Your Attack Surface?
Brandefense maps vulnerabilities like this one to your internet-facing assets and tells you exactly where to patch.
Request A Demo