---
title: "CWE-645: Overly Restrictive Account Lockout Mechanism"
url: https://radicalnotion.ai/cwe/cwe-645
type: cwe
description: "The product contains an account lockout protection mechanism, but the mechanism is too restrictive and can be triggered too easily, which allows attackers to deny service to legitimate users by causing their accounts to be locked out."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-645: Overly Restrictive Account Lockout Mechanism

- **Abstraction:** Base
- **Structure:** Simple
- **Status:** Incomplete
- **Likelihood of exploit:** High
- **CVEs with this as primary weakness:** 11
- **Of those, in CISA KEV:** 1
- **New in 2026:** 6
- **CWE catalog version:** 4.21

## Description

The product contains an account lockout protection mechanism, but the mechanism is too restrictive and can be triggered too easily, which allows attackers to deny service to legitimate users by causing their accounts to be locked out.

## Background

Account lockout is a security feature often present in applications as a countermeasure to the brute force attack on the password based authentication mechanism of the system. After a certain number of failed login attempts, the user's account may be disabled for a certain period of time or until it is unlocked by an administrator. Other security events may also possibly trigger account lockout.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Availability | DoS: Resource Consumption (Other) | An attacker could lock users out of their accounts by causing the account lockout mechanism to trigger, e.g. by attempting many logins. This could deny service to legitimate system users. |

## Potential mitigations

### Architecture and Design

Implement more intelligent password throttling mechanisms such as those that take IP address into account, in addition to the login name.

### Architecture and Design

Implement a lockout timeout that grows as the number of incorrect login attempts goes up, eventually resulting in a complete lockout.

### Architecture and Design

Consider alternatives to account lockout that would still be effective against password brute force attacks, such as presenting the user machine with a puzzle to solve (making it do some computation).

## Demonstrative examples

### Example 1

A famous example of this type of weakness being exploited is the eBay attack. eBay always displays the user id of the highest bidder. In the final minutes of the auction, one of the bidders could try to log in as the highest bidder three times. After three incorrect log in attempts, eBay password throttling would kick in and lock out the highest bidder's account for some time. An attacker could then make their own bid and their victim would not have a chance to place the counter bid because they would be locked out. Thus an attacker could win the auction.

## Real CVEs with this weakness

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2023-4346 | KNX Association KNX Protocol Connection Authorization Option 1 Overly Restrictive Account Lockout Mechanism Vulnerability | high | 7.5 | - | Yes | 2023-08-29 |
| CVE-2026-25907 | - | high | 7.5 | - | No | 2026-03-04 |
| CVE-2026-53982 | Cap-go Console \< 12.28.2 Account Deletion DoS via Device Identifier Association | high | 7.1 | - | No | 2026-06-12 |
| CVE-2026-135165 | CISO Assistant before 4.2.3 Login Denial of Service via Shared Rate Limit | medium | 6.9 | - | No | 2026-11-23 |
| CVE-2026-105624 | Zenitel Connect login allows account-lockout denial of service | medium | 6.9 | - | No | 2026-11-13 |
| CVE-2024-37028 | BIG-IP Next Central Manager vulnerability | medium | 6.3 | - | No | 2024-08-14 |
| CVE-2025-31947 | Repeated LDAP login failures can lock an LDAP account | medium | 5.8 | - | No | 2025-05-15 |
| CVE-2026-126626 | Overly Restrictive Account Lockout Mechanism in hMailServer | medium | 5.3 | - | No | 2026-11-11 |
| CVE-2026-35161 | - | medium | 5.3 | - | No | 2026-10-14 |
| CVE-2025-5241 | Denial-of-Service Vulnerability in MELSEC iQ-F Series | medium | 5.3 | - | No | 2025-07-11 |
| CVE-2024-1722 | Keycloak-core: dos via account lockout | medium | 5.3 | - | No | 2024-02-27 |

## Related attack patterns (CAPEC)

- [CAPEC-2](https://radicalnotion.ai/capec/capec-2): Inducing Account Lockout

## Related weaknesses

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

## Frequently asked questions

### What is CWE-645?

The product contains an account lockout protection mechanism, but the mechanism is too restrictive and can be triggered too easily, which allows attackers to deny service to legitimate users by causing their accounts to be locked out.

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

11 recorded CVEs are attributed to CWE-645, including CVE-2023-4346, CVE-2026-25907 and CVE-2026-53982. 1 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

### How do you prevent CWE-645?

Implement more intelligent password throttling mechanisms such as those that take IP address into account, in addition to the login name.

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

Exploiting CWE-645 can lead to: DoS: Resource Consumption (Other).

### Is CWE-645 actively exploited?

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

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

---

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