← Vulnerability feed

Vulnerability record · CVE-2021-29441 · published 27 April 2021

CVE-2021-29441: Nacos AuthFilter authentication bypass via spoofed User-Agent

Alibaba · Nacos

Nacos before 1.4.1 contains a backdoor in the AuthFilter servlet filter that lets requests bypass authentication checks when authentication is enabled. The bypass keys off the User-Agent HTTP header, which is trivially spoofed, so the authentication control can be skipped entirely. Because Nacos is a service discovery and configuration platform, this exposes a core infrastructure component to unauthenticated administrative access.

9.8 CVSS 3.1 Critical EPSS 83% · top 0.3% CWE-290 · Authentication bypass by spoofing
9.8CVSS 3.1 base score, v2 7.5
83%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 4 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 18 September 2026. Confidence: high.

critical priorityUnauthenticated network-reachable authentication bypass with full administrative impact, a CVSS score of 9.8, and very high EPSS with public exploit references.

What it is

Nacos before 1.4.1 contains a backdoor in the AuthFilter servlet filter that lets requests bypass authentication checks when authentication is enabled. The bypass keys off the User-Agent HTTP header, which is trivially spoofed, so the authentication control can be skipped entirely. Because Nacos is a service discovery and configuration platform, this exposes a core infrastructure component to unauthenticated administrative access.

Impact

An attacker gains full administrative control of the Nacos server, including reading and modifying service registrations and configuration data. The CVSS vector rates confidentiality, integrity and availability impact as high.

Attack surface

Reachable over the network via HTTP requests to the Nacos server; no authentication is required because the flaw is the authentication bypass itself, and no user interaction is needed. The only precondition is that the target is configured with nacos.core.auth.enabled=true, which is the configuration the bypass defeats.

Exploitation

Not listed in CISA KEV, but EPSS is very high (0.87747, 99.75th percentile) and multiple references are tagged Exploit, indicating public exploit code exists. No ransomware group usage is documented in the record.

What to do

  • Upgrade Nacos to version 1.4.1 or later, which contains the patch referenced in the advisory.
  • If immediate upgrade is not possible, restrict network access to the Nacos server and its API ports to trusted hosts only.
  • Do not rely on the User-Agent header for any authentication or access-control decision; audit custom filters for similar trust assumptions.
  • Rotate any credentials or secrets stored in Nacos configuration, since administrative access may have been abused.
  • Monitor Nacos audit and access logs for administrative operations from unexpected sources.

Detection

  • Search Nacos access logs for administrative API calls that succeeded without valid authentication, especially from unfamiliar source IPs.
  • Alert on requests to Nacos endpoints carrying unusual or spoofed User-Agent values associated with the bypass.
  • Baseline normal administrative API usage and flag configuration or service-registration changes outside that baseline.
  • Review Nacos configuration for nacos.core.auth.enabled=true deployments and verify they are on a patched version.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

LinkTags
https://github.com/advisories/GHSA-36hp-jr8h-556f ExploitThird Party Advisory
https://github.com/alibaba/nacos/issues/4701 ExploitThird Party Advisory
https://github.com/alibaba/nacos/pull/4703 PatchThird Party Advisory
https://github.com/advisories/GHSA-36hp-jr8h-556f ExploitThird Party Advisory
https://github.com/alibaba/nacos/issues/4701 ExploitThird Party Advisory
https://github.com/alibaba/nacos/pull/4703 PatchThird Party Advisory

Track CVE-2021-29441 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.8CVE-2021-43116Alibaba nacos improper authentication vulnerabilityAn Access Control vulnerability exists in Nacos 2.0.3 in the access prompt page; enter username and password, click on login to capture packets and t…EPSS 7.5%7.5CVE-2021-29442Nacos ConfigOpsController derby endpoint missing authenticationIn Nacos before 1.4.1, the ConfigOpsController exposes a /derby endpoint that lacks the @Secured annotation applied to /data/remove, allowing unauthe…EPSS 66%analysed6.1CVE-2021-44667Alibaba nacos cross-site scripting vulnerabilityA Cross Site Scripting (XSS) vulnerability exists in Nacos 2.0.3 in auth/users via the (1) pageSize and (2) pageNo parameters.EPSS 0.83%5.3CVE-2020-19676Alibaba nacos vulnerabilityNacos 1.1.4 is affected by: Incorrect Access Control. An environment can be set up locally to get the service details interface. Then other Nacos ser…EPSS 1.4%6.5CVE-2023-50224TP-Link router httpd authentication bypass exposes stored credentialsThe httpd service on affected TP-Link router firmware contains an improper authentication flaw (CWE-290) that lets a network-adjacent attacker bypass…KEVEPSS 16%analysed10.0CVE-2024-54085AMI MegaRAC SPx BMC authentication bypass via Redfish Host InterfaceAMI's SPx BMC implementation contains an authentication bypass reachable remotely through the Redfish Host Interface, classified as CWE-290 (authenti…KEVEPSS 61%analysed9.8CVE-2024-4358Progress Telerik Report Server authentication bypass via spoofingTelerik Report Server 2024 Q1 (10.0.24.305) and earlier on IIS contains an authentication bypass by spoofing (CWE-290). An unauthenticated remote att…KEVEPSS 97%analysed9.8CVE-2022-24112Apache APISIX batch-requests plugin auth bypass enables RCEThe batch-requests plugin in Apache APISIX can be abused to bypass the Admin API IP restriction because a code bug defeats the check that overrides t…KEVEPSS 96%analysed

Source: NIST National Vulnerability Database (record CVE-2021-29441), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.