CWE-305: Authentication Bypass by Primary Weakness

What is CWE-305?

CWE-305 is Authentication Bypass by Primary Weakness. The flaw arises when 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. The database currently holds 48 vulnerabilities mapped to CWE-305 and 1 of them are in the CISA Known Exploited Vulnerabilities catalog.

OWASP TOP 10:2025 RANK7 — A07:2025 — Authentication Failures
Related CVES (365 days)48
AbstractionBase
Likelihood of exploit-

Vulnerabilities mapped to CWE-305

48 vulnerabilities269% increase year over year

Vulnerabilities in CISA KEV for CWE-305

1 vulnerabilitiesNo change year over year

Official definition

ByMitre CWE

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.

Characteristics

Modes of introduction

  • Implementation: REALIZATION: This weakness is caused during implementation of an architectural security tactic.

Common consequences

ImpactScopeExplanation
Bypass Protection MechanismAccess Control-

Representative vulnerabilities

Sources (2)

CWE™ Program, operated by The MITRE Corporation. Copyright © 2006–2026, The MITRE Corporation. The MITRE Corporation hereby grants you a non-exclusive, royalty-free license to use CWE for research, development, and commercial purposes. CWE Terms of Use.

Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.