CVE-2021-30180: Arbitrary Constructor Invocation in Apache Dubbo Tag Routing
- Vendor
- Apache Software Foundation
In Apache Dubbo versions prior to 2.7.9, the Tag routing feature allows users to define routing rules in YAML format. When parsing these YAML rules, the implementation may allow the instantiation of arbitrary Java classes via constructor invocation, potentially leading to code execution or other unintended behavior.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
An attacker with the ability to supply or modify YAML routing rules could exploit this vulnerability to instantiate arbitrary classes on the server, potentially leading to remote code execution or other security impacts depending on the available classes and the server's configuration.
Mitigation
If you can’t patch tonight, do this now.
Restrict access to the configuration interfaces and files that allow modification of Tag routing rules. Monitor and validate YAML rule inputs to ensure they do not contain unsafe constructs. Apply least privilege principles to the Dubbo process to limit the impact of potential exploitation.
Remediation
Patch, then assume compromise.
Upgrade Apache Dubbo to version 2.7.9 or later, where the YAML parsing logic has been hardened to prevent arbitrary constructor invocation during rule parsing.
Exploits
No validated public exploits yet. Hidden: 1 rejected by Mallory's analysis as not a working exploit.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2021-30180 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2021-30180 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2021-30180?
- As of Oct 16, 2026, Mallory has found no public exploit for CVE-2021-30180.
- Is there a patch for CVE-2021-30180?
- Upgrade Apache Dubbo to version 2.7.9 or later, where the YAML parsing logic has been hardened to prevent arbitrary constructor invocation during rule parsing.
- What products are affected by CVE-2021-30180?
- Apache Software Foundation Dubbo.
- How severe is CVE-2021-30180?
- CVE-2021-30180 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 60.3% (99th percentile) as of Oct 16, 2026.
Recent activity
2 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.