CVE-2021-29441
CRITICAL 9.8CVSS 3.1Authentication Bypass
Nacos is a platform designed for dynamic service discovery and configuration and service management. In Nacos before version 1.4.1, when configured to use authentication (-Dnacos.core.auth.enabled=true) Nacos uses the AuthFilter servlet filter to enforce authentication. This filter has a backdoor that enables Nacos servers to bypass this filter and therefore skip authentication checks. This mechanism relies on the user-agent HTTP header so it can be easily spoofed. This issue may allow any user to carry out any administrative tasks on the Nacos server.
- Published
- 27 Apr 2021
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-290CWE-306
- Also known as
- CVE-2021-29442GHSA-36hp-jr8h-556fGHSA-xv5h-v7jh-p2qh
- Sources
- NVDJSONOSV GHSA-36hp-jr8h-556fJSONOSV GHSA-xv5h-v7jh-p2qhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | alibaba | nacoscpe:2.3:a:alibaba:nacos:*:*:*:*:*:*:*:* |
< 1.4.1 | 1.4.1 |
| OSV | Maven | com.alibaba.nacos:nacos-common | < 1.4.1 | 1.4.1 |
References
- https://github.com/advisories/GHSA-36hp-jr8h-556f · Exploit, Third Party Advisory, ADVISORY
- https://github.com/alibaba/nacos/issues/4701 · Exploit, Third Party Advisory, WEB
- https://github.com/alibaba/nacos/pull/4703 · Patch, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-29441 · ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2021-29442 · ADVISORY
- https://github.com/alibaba/nacos/issues/4463 · WEB
- https://github.com/alibaba/nacos/pull/4517 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 27 Apr 2021)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 27 Apr 2021)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 27 Apr 2021)