# CVE-2021-30181: Apache Dubbo RCE on customers via Script route poisoning (Nashorn script injection)

- Priority: **Prioritise**
- Reason: Severe, CVSS 9.8 (NVD); no exploitation reported by the 5 checked sources; EPSS 61% (FIRST, 04-12-2026)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2021-05-29 · Modified: 2024-08-03
- Aliases: GHSA-qmfc-6www-fjqw
- Record: https://cvemate.com/vulnerability/CVE-2021-30181 · JSON: https://cvemate.com/vulnerability/CVE-2021-30181/json

## Description

```text
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.
```

## Signals

- CVSS: 9.8 critical (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- EPSS: 60.858%, percentile 99.171%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache dubbo: ≥ Apache Dubbo 2.7.x, \< 2.7.9 \| ≥ Apache Dubbo 2.6.x, \< 2.6.9
- apache dubbo: ≥ 2.5.0, \< 2.6.10 \| ≥ 2.7.0, \< 2.7.10
- com.alibaba dubbo (Maven): ≥ 2.5.0, \< 2.6.9
- org.apache.dubbo dubbo (Maven): ≥ 2.5.0, \< 2.7.10

## References

- <https://lists.apache.org/thread.html/re22410dc704a09bc7032ddf15140cf5e7df3e8ece390fc9032ff5587%40%3Cdev.dubbo.apache.org%3E>
- <https://nvd.nist.gov/vuln/detail/CVE-2021-30181>

---

Data as of 2026-12-05T05:56:29.592Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
