Skip to main content
Meet us at Black Hat USA 2026— Las Vegas, August 1–6Book a Meeting
Mallory
CriticalPublic exploit

Authentication Bypass in Nacos AuthFilter (User-Agent Backdoor)

IdentifiersCVE-2021-29441CWE-287

Nacos before version 1.4.1 contains an authentication bypass vulnerability in its AuthFilter servlet filter. When authentication is enabled, the filter is supposed to enforce authentication for administrative actions. However, a backdoor mechanism in the filter allows requests with a specific user-agent HTTP header to bypass authentication entirely. This allows attackers to spoof the user-agent and gain unauthorized administrative access to the Nacos server.

Share:
For your environment

Are you exposed to this one?

Mallory correlates every CVE against your assets, your vendors, and active adversary campaigns. Know which vulnerabilities matter for you, not just which ones are loud.

ANALYST BRIEF

Impact, mitigation & remediation

What it means. What to do now. Patch path, mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

An attacker can bypass authentication controls and perform any administrative action on the Nacos server, including modifying configurations, managing services, and potentially impacting the integrity and availability of the managed services. This can lead to full compromise of the Nacos environment.

Mitigation

If you can’t patch tonight, do this now.

If immediate upgrade is not possible, restrict network access to the Nacos server to trusted hosts only, and monitor for suspicious user-agent headers in HTTP requests. Consider deploying a reverse proxy to filter or block malicious user-agent values.

Remediation

Patch, then assume compromise.

Upgrade Nacos to version 1.4.1 or later, where the backdoor in the AuthFilter has been removed and proper authentication enforcement is restored.
PUBLIC EXPLOITS

Exploits

1 valid exploit after Mallory filtered fakes, detection scripts, and README-only repos.

VALID 1 / 1 TOTALView more in app
CVE-2021-29441MaturityPoCVerified exploit

This repository is a small standalone Python proof-of-concept/operational exploit for CVE-2021-29441, an authentication bypass in Alibaba Nacos before 1.4.1. The repo contains only two files: a README describing the vulnerability and exploit conditions, and a single executable script, exploit.py, which is the main entry point. The exploit works by creating a requests.Session and hardcoding the spoofed header 'User-Agent: Nacos-Server', which the vulnerable Nacos AuthFilter incorrectly trusts as an internal request marker. Using that bypass, the script interacts directly with Nacos administrative user-management APIs under /nacos/v1/auth/users. Capabilities implemented in code are broader than simple detection: it can check vulnerability by attempting to list users, enumerate existing users, create a new user with attacker-chosen credentials, delete an existing user, and update/reset a user's password. This makes it an operational exploit rather than a detection-only script. Repository structure is minimal and straightforward. README.md provides context, impact, affected versions, and remediation. exploit.py contains a NacosExploit class with helper request logic, individual methods for each administrative action, CLI argument parsing, and a main() routine. The script supports target selection, optional SSL verification disabling, and action flags (--check, --list, --create, --delete, --update-password). It prints status codes and optionally formats output with the rich library if installed. No reverse shell or post-exploitation implant is included; the payload is the crafted HTTP interaction itself. The primary security impact is unauthorized administrative access to Nacos user management over the network.

K3ysTr0K3RDisclosed Jun 25, 2026pythonmarkdownnetworkweb
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

Vendor-confirmed product mapping. Mallory continuously reconciles this list against your asset inventory.

What this page doesn’t show

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, which detections to deploy, and what to do tonight.
Exposure mapping

Query your assets running an affected version, and investigate the blast radius.

Threat actor evidence1

Every observed campaign linking this CVE to a named adversary.

Associated malware

Malware families riding this exploit, with evidence and IOCs.

Detection signatures1

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

Vendor-by-vendor mapping

Cross-references every affected SKU, including bundled OEM variants.

Social activity

Community discussion across Reddit, Mastodon, and other social sources.