---
title: "CWE-521: Weak Password Requirements"
url: https://radicalnotion.ai/cwe/cwe-521
type: cwe
description: "The product does not require that users should have strong passwords."
updated: 2026-11-10
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# CWE-521: Weak Password Requirements

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

## Description

The product does not require that users should have strong passwords.

## Background

Authentication mechanisms often rely on a memorized secret (also known as a password) to provide an assertion of identity for a user of a system. It is therefore important that this password be of sufficient complexity and impractical for an adversary to guess. The specific requirements around how complex a password needs to be depends on the type of system being protected. Selecting the correct password requirements and enforcing them through implementation are critical to the overall success of the authentication mechanism.

## Modes of introduction

| Phase | Note |
| --- | --- |
| Architecture and Design | COMMISSION: This weakness refers to an incorrect design related to an architectural security tactic. |
| Implementation | Not enforcing the password policy stated in a products design can allow users to create passwords that do not provide the necessary level of protection. |

## Common consequences

| Scope | Impact | Note |
| --- | --- | --- |
| Access Control | Gain Privileges or Assume Identity | An attacker could easily guess user passwords and gain access user accounts. |

## Potential mitigations

### Architecture and Design

A product's design should require adherence to an appropriate password policy. Specific password requirements depend strongly on contextual factors, but it is recommended to contain the following attributes:

Depending on the threat model, the password policy may include several additional attributes.

See NIST 800-63B \[REF-1053\] for further information on password requirements.

- Enforcement of a minimum and maximum length
- Restrictions against password reuse
- Restrictions against using common passwords
- Restrictions against using contextual string in the password (e.g., user id, app name)
- Complex passwords requiring mixed character sets (alpha, numeric, special, mixed case) Increasing the range of characters makes the password harder to crack and may be appropriate for systems relying on single factor authentication. Unfortunately, a complex password may be difficult to memorize, encouraging a user to select a short password or to incorrectly manage the password (write it down). Another disadvantage of this approach is that it often does not result in a significant increase in overall password complexity due to people's predictable usage of various symbols.
- Large Minimum Length (encouraging passphrases instead of passwords) Increasing the number of characters makes the password harder to crack and may be appropriate for systems relying on single factor authentication. A disadvantage of this approach is that selecting a good passphrase is not easy and poor passwords can still be generated. Some prompting may be needed to encourage long un-predictable passwords.
- Randomly Chosen Secrets Generating a password for the user can help make sure that length and complexity requirements are met, and can result in secure passwords being used. A disadvantage of this approach is that the resulting password or passphrase may be too difficult to memorize, encouraging them to be written down. However, there is growing adoption of password managers that allow users to manage many passwords with varying complexity requirements.

### Architecture and Design

Consider a second authentication factor beyond the password, which prevents the password from being a single point of failure. See CWE-308 for further information.

### Implementation

Consider implementing a password complexity meter to inform users when a chosen password meets the required attributes.

### Implementation

Previously, "password expiration" was widely advocated as a defense-in-depth approach to minimize the risk of weak passwords, and it has become a common practice. Password expiration requires a password to be changed within a fixed time window (such as every 90 days). However, this approach has significant limitations in the current threat landscape, and its utility has been reduced in light of the adoption of related protection mechanisms (such as password complexity and computational effort), along with the recognition that regular password changes often caused users to generate more predictable passwords. As a result, this is now a Discouraged Common Practice \[REF-1488\] \[REF-1489\], especially as the sole factor in protecting passwords. It is still strongly encouraged to force password changes in case of evidence of compromise, but this is not the same as a forced "expiration" on an arbitrary time frame.

Effectiveness: Discouraged Common Practice

## Detection methods

### Automated Static Analysis

Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

Effectiveness: High

## Observed examples

| CVE | Description |
| --- | --- |
| CVE-2020-4574 | key server application does not require strong passwords |

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

| CVE | Title | Severity | CVSS | EPSS | CISA KEV | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2019-18988 | TeamViewer Desktop Bypass Remote Login Vulnerability | high | 8.4 | - | Yes | 2020-02-07 |
| CVE-2025-12364 | Weak Password Policy | critical | 10.0 | - | No | 2025-10-27 |
| CVE-2026-73778 | Credential Manager Vulnerability Allows Unauthorized Administrative Access | critical | 9.8 | - | No | 2026-09-01 |
| CVE-2024-40684 | IBM Operations Analytics - Log Analysis is affected by Weak Password Policy and Inadequate Account Lockout Mechanism | critical | 9.8 | - | No | 2026-05-27 |
| CVE-2025-55269 | HCL Aftermarket DPC is affected by Weak Password Policy vulnerability | critical | 9.8 | - | No | 2026-03-26 |
| CVE-2026-25715 | Jinan USR IOT Technology Limited (PUSR) USR-W610 Weak Password Requirements | critical | 9.8 | - | No | 2026-02-20 |
| CVE-2025-55252 | HCL AION is affected by a Weak Password Policy vulnerability | critical | 9.8 | - | No | 2026-01-19 |
| CVE-2025-53963 | - | critical | 9.8 | - | No | 2025-12-04 |
| CVE-2025-63747 | - | critical | 9.8 | - | No | 2025-11-17 |
| CVE-2025-11200 | MLflow Weak Password Requirements Authentication Bypass Vulnerability | critical | 9.8 | - | No | 2025-10-29 |
| CVE-2025-30127 | - | critical | 9.8 | - | No | 2025-08-06 |
| CVE-2025-28389 | - | critical | 9.8 | - | No | 2025-06-13 |

## Related attack patterns (CAPEC)

- [CAPEC-112](https://radicalnotion.ai/capec/capec-112): Brute Force
- [CAPEC-16](https://radicalnotion.ai/capec/capec-16): Dictionary-based Password Attack
- [CAPEC-49](https://radicalnotion.ai/capec/capec-49): Password Brute Forcing
- [CAPEC-509](https://radicalnotion.ai/capec/capec-509): Kerberoasting
- [CAPEC-55](https://radicalnotion.ai/capec/capec-55): Rainbow Table Password Cracking
- [CAPEC-555](https://radicalnotion.ai/capec/capec-555): Remote Services with Stolen Credentials
- [CAPEC-561](https://radicalnotion.ai/capec/capec-561): Windows Admin Shares with Stolen Credentials
- [CAPEC-565](https://radicalnotion.ai/capec/capec-565): Password Spraying
- [CAPEC-70](https://radicalnotion.ai/capec/capec-70): Try Common or Default Usernames and Passwords

## Related weaknesses

| Relationship | CWE | Name |
| --- | --- | --- |
| Parent | [CWE-287](https://radicalnotion.ai/cwe/cwe-287) | Improper Authentication |
| Parent | [CWE-1391](https://radicalnotion.ai/cwe/cwe-1391) | Use of Weak Credentials |
| Child | [CWE-258](https://radicalnotion.ai/cwe/cwe-258) | Empty Password in Configuration File |

## Taxonomy mappings

| Taxonomy | Entry | Id | Fit |
| --- | --- | --- | --- |
| OWASP Top Ten 2004 | Broken Authentication and Session Management | A3 | CWE More Specific |

## Frequently asked questions

### What is CWE-521?

The product does not require that users should have strong passwords.

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

239 recorded CVEs are attributed to CWE-521, including CVE-2019-18988, CVE-2025-12364 and CVE-2026-73778. 1 is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog.

### Is CWE-521 part of the OWASP Top 10?

CWE-521 maps to OWASP Top Ten 2004: Broken Authentication and Session Management (A3) in the OWASP security taxonomy.

### How do you prevent CWE-521?

A product's design should require adherence to an appropriate password policy. Specific password requirements depend strongly on contextual factors, but it is recommended to contain the following attributes:

### How is CWE-521 detected?

Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)

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

Exploiting CWE-521 can lead to: Gain Privileges or Assume Identity.

### Is CWE-521 actively exploited?

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

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

---

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