---
title: "CWE-305: Authentication Bypass by Primary Weakness"
url: https://radicalnotion.ai/cwe/cwe-305
type: cwe
description: "The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-305: Authentication Bypass by Primary Weakness

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Draft
- **CVEs with this as primary weakness:** 175
- **Of those, in CISA KEV:** 4
- **New in 2026:** 59
- **CWE catalog version:** 4.21

## Description

The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Implementation | REALIZATION: This weakness is caused during implementation of an architectural security tactic. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control | Bypass Protection Mechanism | - |

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2002-1374 | The provided password is only compared against the first character of the real password. |
| CVE-2000-0979 | The password is not properly checked, which allows remote attackers to bypass access controls by sending a 1-character password that matches the first character of the real password. |
| CVE-2001-0088 | Chain: Forum software does not properly initialize an array, which inadvertently sets the password to a single character, allowing remote attackers to easily guess the password and gain administrative privileges. |

## Real CVEs with this weakness (sample of 12 of 175)

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2024-37085 | VMware ESXi Authentication Bypass Vulnerability | critical | 10.0 | - | Yes | 2024-06-25 |
| CVE-2025-31161 | CrushFTP Authentication Bypass Vulnerability | critical | 9.3 | - | Yes | 2025-04-03 |
| CVE-2026-81578 | PaperCut MF/NG: Authentication Bypass | high | 8.8 | - | Yes | 2026-08-28 |
| CVE-2025-41450 | Authentication bypass with privileged access in Danfoss AK-SM 8xxA Series prior to version 4.2 | high | 8.2 | - | Yes | 2025-05-08 |
| CVE-2025-4320 | Information Disclosure in Birebirsoft's Sufirmam | critical | 10.0 | - | No | 2026-01-23 |
| CVE-2024-36388 | MileSight DeviceHub - CWE-305 Missing Authentication for Critical Function | critical | 10.0 | - | No | 2024-06-02 |
| CVE-2024-1403 | Authentication Bypass in OpenEdge Authentication Gateway and AdminServer | critical | 10.0 | - | No | 2024-02-27 |
| CVE-2026-114230 | Apache Qpid Proton C: Potential authentication bypass: regular AMQP frames can be sent as SASL frames | critical | 9.8 | - | No | 2026-10-29 |
| CVE-2026-78619 | Punk::Plugin::TOTP versions before 0.05 for Perl accept another account's recovery code at the two-factor challenge because totp\_use\_recovery compares user identifiers numerically | critical | 9.8 | - | No | 2026-08-25 |
| CVE-2026-19349 | Lemonldap::NG::Portal versions from 2.0.0 before 2.16.9, from 2.17.0 before 2.21.5, from 2.22.0 before 2.23.3 for Perl allow authentication bypass via an OAuth2 state parameter stored as an SSO session in the GitHub and LinkedIn backends | critical | 9.8 | - | No | 2026-08-16 |
| CVE-2026-4670 | Improper Authentication vulnerability in Progress MOVEit Automation | critical | 9.8 | - | No | 2026-04-30 |
| CVE-2025-13915 | Authentication bypass in IBM API Connect | critical | 9.8 | - | No | 2025-12-26 |

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1390](https://radicalnotion.ai/cwe/cwe-1390) | Weak Authentication |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Authentication Bypass by Primary Weakness | - | - |

## Frequently asked questions

### What is CWE-305?

The authentication algorithm is sound, but the implemented mechanism can be bypassed as the result of a separate weakness that is primary to the authentication error.

### What CVEs are caused by CWE-305?

175 recorded CVEs are attributed to CWE-305, including CVE-2024-37085, CVE-2025-31161 and CVE-2026-81578. 4 are listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

### What are the consequences of CWE-305?

Exploiting CWE-305 can lead to: Bypass Protection Mechanism.

### Is CWE-305 actively exploited?

Yes. 4 CWE-305 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 175 recorded CVEs.

Primary source: [MITRE CWE](https://cwe.mitre.org/data/definitions/305.html)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/cwe/cwe-305). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
