CWE-305: Authentication Bypass by Primary Weakness
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.
Last updated
Overview
CWE-305 (Authentication Bypass by Primary Weakness) is a base-level software weakness catalogued by MITRE in the Common Weakness Enumeration (CWE). It describes a recurring type of mistake that can lead to exploitable security vulnerabilities.
Real-world CVEs
143 recorded CVEs are caused by CWE-305 (Authentication Bypass by Primary Weakness), including 2 in CISA's KEV (Known Exploited Vulnerabilities) catalog. KEVs are shown first. 40 new CWE-305 CVEs have been recorded so far in 2026 (36 in 2025).
- CVE-2024-37085CISA KEVCritical · CVSS 10.0 · EPSS 98th2024-06-25
- CVE-2025-31161CISA KEVCritical · CVSS 9.3 · EPSS 100th2025-04-03
- CVE-2025-4320
Information Disclosure in Birebirsoft's Sufirmam
Critical · CVSS 10.0 · EPSS 39th2026-01-23 - CVE-2024-36388Critical · CVSS 10.0 · EPSS 39th2024-06-02
- CVE-2024-1403Critical · CVSS 10.0 · EPSS 88th2024-02-27
- 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 · CVSS 9.8 · EPSS 47th2026-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 · CVSS 9.8 · EPSS 38th2026-08-16 - CVE-2026-4670
Improper Authentication vulnerability in Progress MOVEit Automation
Critical · CVSS 9.8 · EPSS 92th2026-04-30 - CVE-2025-13915
Authentication bypass in IBM API Connect
Critical · CVSS 9.8 · EPSS 95th2025-12-26 - CVE-2025-41733
Possible malfunction credential injection
Critical · CVSS 9.8 · EPSS 48th2025-11-18 - CVE-2025-36386
There is a vulnerability in the IBM Maximo Manage application in IBM Maximo Application Suite for Cognos Analytics
Critical · CVSS 9.8 · EPSS 42th2025-10-28 - CVE-2021-26102Critical · CVSS 9.8 · EPSS 97th2024-12-19
Showing 12 of 143 recorded CWE-305 CVEs. Track new ones as they are published and get AI-written analysis and fixes.
Monitor CWE-305 vulnerabilitiesCommon consequences
What can happen when CWE-305 is exploited.
Bypass Protection Mechanism
Affects: Access Control
How it happens
When it is introduced
Typically introduced during these phases of the software lifecycle.
Illustrative examples
Real CVEs that MITRE cites as examples of this weakness.
- 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-byte 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.
Terminology & mappings
Mapped taxonomies
- PLOVER: Authentication Bypass by Primary Weakness
Frequently asked questions
Common questions about CWE-305.
- 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?
- 143 recorded CVEs are attributed to CWE-305, including CVE-2024-37085, CVE-2025-31161, CVE-2025-4320. 2 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. 2 CWE-305 vulnerabilities are in CISA's KEV catalog of actively exploited flaws, out of 143 recorded CVEs.
References
- MITRE CWE definition (CWE-305) (opens in a new tab)
- CWE-305 vulnerabilities on NVD (opens in a new tab)
- Learn: What is a CWE?
Weakness data is sourced from the MITRE CWE catalog (v4.20). CVE associations are aggregated and kept current by RadicalNotion.AI.
Stay ahead of CWE-305
Get alerted the moment a new CWE-305 vulnerability affects your stack, with AI-written analysis, severity context, and remediation guidance.