CVE-2021-29441: User-Agent Authentication Bypass in Alibaba Nacos
- 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 based on the attacker-controlled HTTP User-Agent header. Spoofing this header allows an unauthenticated remote attacker to bypass authentication checks and perform administrative operations on the Nacos server.
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.
Successful exploitation compromises the confidentiality and integrity of Nacos-managed configuration and administrative functions. Attackers can retrieve sensitive configuration data, including cloud credentials, database passwords, API tokens, and cryptographic keys, and modify or delete configuration data, potentially disrupting dependent services. Exposed credentials can facilitate lateral movement and downstream compromise. The vulnerability is an authentication bypass, not an independently established arbitrary code execution primitive.
Mitigation
If you can’t patch tonight, do this now.
Until upgrading is possible, restrict Nacos access to trusted application and administrative networks using firewall rules and network segmentation. Remove direct internet exposure and place remote administrative access behind an independently authenticated gateway or VPN. Monitor for unexpected configuration exports, administrative account creation, configuration changes, and externally originated requests claiming to be Nacos inter-server traffic.
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. For potentially compromised deployments, audit administrative accounts and configuration changes, remove unauthorized accounts, and revoke or rotate secrets accessible through Nacos, including downstream service credentials.
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 Nov 25, 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.
- 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 Nov 25, 2026.
Recent activity
34 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.