CVE-2021-29442: Unauthenticated Derby Database Access in Alibaba Nacos
- Vendor
- Alibaba Group
Alibaba Nacos versions before 1.4.1 contain a missing-authentication vulnerability in ConfigOpsController when embedded Apache Derby storage is used. The Derby database query endpoint lacks the @Secured annotation, allowing unauthenticated users to access database-query functionality. The separate database-removal endpoint is protected. Installations using external database storage, such as MySQL, are not affected by this vulnerability.
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 unauthenticated remote attacker can query the embedded Nacos database, exposing stored configuration and other database information. This can compromise the confidentiality of service-management data and facilitate further attacks. Direct database deletion through the separately protected removal endpoint is not established by this flaw. Remote code execution is associated with campaign activity involving this CVE and CVE-2021-29441, but the supplied technical details do not establish standalone code execution through CVE-2021-29442.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to Nacos management interfaces to trusted administrative systems, and block external access to the Derby query endpoint until the software is upgraded. Using supported external database storage instead of embedded Derby avoids the affected functionality.
Remediation
Patch, then assume compromise.
Upgrade Nacos to version 1.4.1 or a later supported release containing the authentication fix.
Exploits
1 exploit validated by Mallory's analysis.
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.
References
Frequently asked questions
- Is CVE-2021-29442 exploited in the wild?
- Yes. As of Nov 25, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-29442?
- Yes. Mallory tracks 1 public exploit or proof of concept for CVE-2021-29442, the earliest disclosed Jul 31, 2024.
- Is there a patch for CVE-2021-29442?
- Upgrade Nacos to version 1.4.1 or a later supported release containing the authentication fix.
- What products are affected by CVE-2021-29442?
- Alibaba Group Nacos.
- How severe is CVE-2021-29442?
- CVE-2021-29442 has a CVSS v3.1 score of 7.5 (High) and an EPSS score of 64.2% (99th percentile) as of Nov 25, 2026.
Recent activity
5 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.