Skip to main content
Mallory
HighPublic exploitVulnerability

CVE-2021-29442: Unauthenticated Derby Database Access in Alibaba Nacos

Published Apr 27, 2021 · Updated 3 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
CVSS7.5High · v3.1
EPSS64.2%99th percentile
CISA KEVNoNot listed
In the wildReported349 exploitation records in Mallory
Vendor
Alibaba Group
IdentifiersCVE-2021-29442CWE-306 · Missing Authentication for…

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.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

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.

Exposure surface

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.

VendorProductType
Alibaba GroupNacosapplication
FAQ

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.
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence4Every report linking this CVE to a named adversary.
Associated malware11Malware families linked to this CVE, with evidence and IOCs.
Detection signatures1YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activityCommunity discussion across Reddit, Mastodon, and other social sources.