CWEweakness
CWE-289 Authentication Bypass by Alternate Name
- Abstraction
- Base
- Structure
- Simple
- Status
- Incomplete
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product performs authentication based on the name of a resource being accessed, or the name of the actor performing the access, but it does not properly check all possible names for that resource or actor.
Common consequences
• Access Control: Bypass Protection Mechanism
Potential mitigations
• [Architecture and Design] Avoid making decisions based on names of resources (e.g. files) if those resources can have alternate names.
• [Implementation] Assume all input is malicious. Use an "accept known good" input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, "boat" may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as "red" or "blue."
Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code's environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
• [Implementation] Inputs should be decoded and canonicalized to the application's current internal representation before being validated (CWE-180). Make sure that the application does not decode the same input twice (CWE-174). Such errors could be used to bypass allowlist validation schemes by introducing dangerous inputs after they have been checked.
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Observed examples
• CVE-2003-0317: Protection mechanism that restricts URL access can be bypassed using URL encoding.
• CVE-2004-0847: web framework for .NET allows remote attackers to bypass authentication for .aspx files in restricted directories via a request containing a (1) "\" (backslash) or (2) "%5C" (encoded backslash)
Related
Observed example · CVE (2)
- CVE-2004-0847 The Microsoft .NET forms authentication capability for ASP.NET allows remote attackers to bypass authentication for .aspx files in… vulnerability
- CVE-2003-0317 iisPROTECT 2.1 and 2.2 allows remote attackers to bypass authentication via an HTTP request containing URL-encoded characters. vulnerability
Child of · CWE (1)
- CWE-1390 Weak Authentication weakness
Referenced by CVE · weakness (49)
- CVE-2026-100351 kin-openapi is a Go project for handling OpenAPI files. vulnerability
- CVE-2026-104143 DataEase is an open source data visualization and analysis tool. vulnerability
- CVE-2026-57176 Python Social Auth is a social authentication/registration mechanism. vulnerability
- CVE-2026-76183 Authentication Bypass by Alternate Name vulnerability in Apache Tomcat allowed the security constraints for any WebSocket endpoint to be… vulnerability
- CVE-2026-95514 Unauthenticated Bypass Vulnerability in Netgsm <= 2.10.0 versions. vulnerability
- CVE-2026-73511 Envoy is an open source edge and service proxy designed for cloud-native applications. vulnerability
- CVE-2026-92579 In AVideo through 29.0, the autoCSRFGuard() function maintains a hardcoded allowlist of exempt basenames tested without directory context,… vulnerability
- CVE-2026-12101 IBM Verify Identity Access could allow an administrator to execute additional commands they are not entitled to due to improper validation… vulnerability
- CVE-2026-15980 The MyHome Core plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 4.4.5. vulnerability
- CVE-2026-15985 The Classified Listing - Mobile Number Verification plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and… vulnerability
- CVE-2026-32639 Winter CMS is a content management system built on the Laravel PHP framework. vulnerability
- CVE-2026-8457 The WooCommerce - Social Login plugin for WordPress is vulnerable to Authentication Bypass in all versions up to and including 2.8.7. vulnerability
- CVE-2026-10842 IBM WebSphere Application Server 8.5, and 9.0 and IBM WebSphere Application Server - Liberty 17.0.0.3 through 26.0.0.7 Traditional and… vulnerability
- CVE-2026-9701 The Eventer plugin for WordPress is vulnerable to an insecure password reset mechanism in all versions up to, and including, 4.4.2. vulnerability
- CVE-2026-55075 Coder allows organizations to provision remote development environments via Terraform. vulnerability
- CVE-2026-48618 A flaw in Node.js TLS hostname handling can cause Node.js unicode dot separator handling can lead to tls wildcard-depth authentication… vulnerability
- CVE-2026-56091 When using Apache Shiro with the shiro-guice module in a web servlet context, a specially crafted HTTP request may cause an authentication… vulnerability
- CVE-2026-53622 Traefik is an HTTP reverse proxy and load balancer. vulnerability
- CVE-2026-50627 The JwtAccessTokenValidator class in Apache CXF fails to validate the 'aud' (Audience) claims of incoming JWT access tokens. vulnerability
- CVE-2026-44492 Axios is a promise based HTTP client for the browser and Node.js. vulnerability
- CVE-2026-43617 Rsync version 3.4.2 and prior contain an authorization bypass vulnerability in the rsync daemon's hostname-based access control list… vulnerability
- CVE-2026-39858 Traefik is an HTTP reverse proxy and load balancer. vulnerability
- CVE-2026-3184 A flaw was found in util-linux. vulnerability
- CVE-2026-32036 OpenClaw gateway plugin versions prior to 2026.2.26 contain a path traversal vulnerability that allows remote attackers to bypass route… vulnerability
- CVE-2026-23903 Authentication Bypass by Alternate Name vulnerability in Apache Shiro. vulnerability
- CVE-2026-24058 Soft Serve is a self-hostable Git server for the command line. vulnerability
- CVE-2025-55130 A flaw in Node.js’s Permissions model allows attackers to bypass `--allow-fs-read` and `--allow-fs-write` restrictions using crafted… vulnerability
- CVE-2025-14777 A flaw was found in Keycloak. vulnerability
- CVE-2025-13613 The Elated Membership plugin for WordPress is vulnerable to Authentication Bypass in all versions up to, and including, 1.2. vulnerability
- CVE-2025-64521 authentik is an open-source Identity Provider. vulnerability
Referenced by CWE · can precede (4)
Referenced by OWASP · mapped cwe (1)
- A07:2025 Authentication Failures Top 10 2025