---
title: "CWE-303: Incorrect Implementation of Authentication Algorithm"
url: https://radicalnotion.ai/cwe/cwe-303
type: cwe
description: "The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-303: Incorrect Implementation of Authentication Algorithm

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

## Description

The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.

## 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 | An incorrect implementation may allow authentication to be bypassed. |

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2003-0750 | Conditional should have been an 'or' not an 'and'. |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2023-29357 | Microsoft SharePoint Server Elevation of Privilege Vulnerability | critical | 9.3 | - | Yes | 2023-06-13 |
| CVE-2025-13390 | WP Directory Kit \<= 1.4.4 - Authentication Bypass to Privilege Escalation via Account Takeover | critical | 10.0 | - | No | 2025-12-03 |
| CVE-2024-4985 | - | critical | 10.0 | - | No | 2024-05-20 |
| CVE-2022-20695 | Cisco Wireless LAN Controller Management Interface Authentication Bypass Vulnerability | critical | 10.0 | - | No | 2022-04-15 |
| CVE-2025-66489 | Cal.com Authentication Bypass via bad TOTP + password checks | critical | 9.9 | - | No | 2025-12-03 |
| CVE-2025-12421 | Account Takeover via Code Exchange Endpoint | critical | 9.9 | - | No | 2025-11-27 |
| CVE-2025-12419 | Account takeover on OAuth/OpenID-enabled servers | critical | 9.9 | - | No | 2025-11-27 |
| CVE-2022-39366 | DataHub missing JWT signature check | critical | 9.9 | - | No | 2022-10-28 |
| CVE-2026-59309 | vCenter authentication-bypass vulnerability | critical | 9.8 | - | No | 2026-07-30 |
| CVE-2025-21311 | Windows NTLM V1 Elevation of Privilege Vulnerability | critical | 9.8 | - | No | 2025-01-14 |
| CVE-2023-3326 | Network authentication attack via pam\_krb5 | critical | 9.8 | - | No | 2023-06-22 |
| CVE-2023-29129 | Incorrect Implementation of Authentication Algorithm in Siemens Mendix SAML Module | critical | 9.8 | - | No | 2023-06-13 |

## Related attack patterns (CAPEC)

- [CAPEC-90](https://radicalnotion.ai/capec/capec-90): Reflection Attack in Authentication Protocol

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-1390](https://radicalnotion.ai/cwe/cwe-1390) | Weak Authentication |
| Child | [CWE-304](https://radicalnotion.ai/cwe/cwe-304) | Missing Critical Step in Authentication |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| PLOVER | Authentication Logic Error | - | - |

## Frequently asked questions

### What is CWE-303?

The requirements for the product dictate the use of an established authentication algorithm, but the implementation of the algorithm is incorrect.

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

113 recorded CVEs are attributed to CWE-303, including CVE-2023-29357, CVE-2025-13390 and CVE-2024-4985. 1 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

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

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

### Is CWE-303 actively exploited?

Yes. 1 CWE-303 vulnerability is in CISA's KEV catalog of actively exploited flaws, out of 113 recorded CVEs.

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

---

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