CVE-2021-29441: Authentication Bypass in Alibaba Nacos AuthFilter
- Vendor
- Alibaba Group
CVE-2021-29441 is an authentication bypass vulnerability in Alibaba Nacos versions before 1.4.1. When built-in authentication is enabled, the AuthFilter servlet filter exempts requests identified as inter-server traffic using the client-controlled HTTP User-Agent header. An unauthenticated attacker can impersonate a Nacos server by setting this header to Nacos-Server, bypassing authentication checks and accessing administrative functionality.
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.
Unauthenticated attackers can perform administrative operations on an affected Nacos instance, including accessing sensitive service configurations, modifying configuration data, and creating rogue administrator accounts. Exposed configurations can disclose cloud credentials, database passwords, API tokens, and private keys, enabling downstream compromise. Unauthorized configuration changes or deletion can disrupt dependent services. Remote code execution is not an intrinsic capability established for this vulnerability alone; it can arise through additional vulnerabilities or abuse of downstream services and exposed credentials.
Mitigation
If you can’t patch tonight, do this now.
Restrict network access to Nacos administrative and configuration interfaces to authorized clients and trusted cluster members using firewall rules, segmentation, or an authenticated access gateway. Remove unnecessary internet exposure and monitor for unexpected administrative account creation, bulk configuration retrieval, and unauthorized configuration changes. Do not treat the User-Agent header as proof of server identity.
Remediation
Patch, then assume compromise.
Upgrade affected Nacos installations to a currently supported release incorporating the fix introduced in version 1.4.1. Keep authentication enabled after upgrading; enabling authentication alone does not resolve the vulnerable header-based bypass. If exploitation is suspected, audit administrator accounts and configuration changes, remove unauthorized accounts, restore altered configurations from trusted backups, and revoke or rotate exposed credentials and cryptographic keys.
Exploits
2 exploits 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-29441 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2021-29441?
- Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-29441, the earliest disclosed Jun 25, 2026.
- Is there a patch for CVE-2021-29441?
- Upgrade affected Nacos installations to a currently supported release incorporating the fix introduced in version 1.4.1. Keep authentication enabled after upgrading; enabling authentication alone does not resolve the vulnerable header-based bypass.
- What products are affected by CVE-2021-29441?
- Alibaba Group Nacos.
- How severe is CVE-2021-29441?
- CVE-2021-29441 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 83.2% (100th percentile) as of Oct 16, 2026.
Recent activity
33 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.