Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-30181
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:10 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-30181
Complete source record
{
"id": "b83e411b643ee7ba81969a52a8bd4a8d0666748a2f2eba650861dad4a725066a",
"url": "https://osv.dev/vulnerability/CVE-2021-30181",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-30181",
"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.",
"evidence": "osv:CVE-2021-30181",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2021-30181",
"aliases": [
"CVE-2021-30181",
"GHSA-qmfc-6www-fjqw"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/dubbo",
"type": "GIT",
"events": [
{
"introduced": "31ca18c712de2016795ba59f499f7c254f9281d5"
},
{
"fixed": "9783ef060aa4fee95db01e8270c20688f30d773e"
},
{
"introduced": "614bcebc01336ee5047a98f96b28915680c0399c"
},
{
"fixed": "de9fc426cf57a74fab0d0cd37fabb0d9cf6086bd"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.5.0"
},
{
"fixed": "2.6.10"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:dubbo:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "2.7.0"
},
{
"fixed": "2.7.10"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-30181.json"
}
}
],
"modified": "2026-10-24T10:30:49.799929286Z",
"provider": "osv",
"references": [
"https://lists.apache.org/thread.html/re22410dc704a09bc7032ddf15140cf5e7df3e8ece390fc9032ff5587%40%3Cdev.dubbo.apache.org%3E"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-30181",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 437074,
"published_at": "2021-06-01T14:15:09.967+00:00"
}