CWE · MITRE source
CWE-639Authorization Bypass Through User-Controlled Key
The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.
Retrieval of a user record occurs in the system based on some key value that is under user control. The key would typically identify a user-related record stored in the system and would be used to lookup that record for presentation to the user. It is likely that an attacker would have to be an authenticated user in the system. However, the authorization process would not properly check the data access operation to ensure that the authenticated user performing the operation has sufficient entitlements to perform the requested data access, hence bypassing any other authorization checks present in the system. For example, attackers can look at places where user specific data is retrieved (e.g. search screens) and determine whether the key for the item being looked up is controllable externally. The key may be a hidden field in the HTML form field, might be passed as a URL parameter or as an unencrypted cookie variable, then in each of these cases it will be possible to tamper with the key value. One manifestation of this weakness is when a system uses sequential or otherwise easily-guessable session IDs that would allow one user to easily switch to another user's session and read/modify their data.
Last updated: 16 October 2026 10:19 UTC
OWASP Top 10 for Web (2025)
This weakness contributes to A01:2025 Broken Access Control.
Control responseHuman-reviewed
Answering this weakness across the control lifecycle, from our framework cross-walks.
NIST 800-53 r5 controls PROPOSED for this weakness (2)AI-assisted
These are model PROPOSALS, not graded mappings. They come
from controls_to_cwe_proposals, which carries no grade field at
all; across the CWE pages 1,540 of 1,722 such associations (89%) have never
been graded by anything. The heading said “address” until
2026-09-29, which asserted a relationship the data does not carry.
Graded cross-walks are on the framework map, not here.
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
AC-24 | Access Control Decisions | AC | graded mostly Per-request decision making makes it harder to bypass authorization using user-controlled keys without proper validation in the decision process. |
AC-3 | Access Enforcement | AC | graded full Consistent enforcement of approved authorizations makes bypassing via user-controlled keys ineffective. |
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2023-6875 UPD | 9.9 | 9.8 | 0.9034 | 2024-01-11 |
CVE-2021-45428 UPD | 9.5 | 9.8 | 0.5693 | 2022-01-03 |
CVE-2019-17382 UPD | 9.0 | 9.1 | 0.5415 | 2019-10-09 |
CVE-2019-13360 UPD | 8.7 | 9.8 | 0.2445 | 2019-07-16 |
CVE-2026-55255 KEV UPD | 8.6 | 8.4 | 0.0089 | 2026-06-23 |
CVE-2022-22832 UPD | 8.3 | 9.8 | 0.1406 | 2022-02-06 |
CVE-2019-15310 UPD | 8.1 | 9.8 | 0.0826 | 2020-07-01 |
CVE-2024-46982 UPD | 8.1 | 7.5 | 0.5918 | 2024-09-17 |
CVE-2025-3605 UPD | 8.1 | 9.8 | 0.0744 | 2025-05-09 |
CVE-2019-25487 UPD | 8.1 | 9.8 | 0.0804 | 2026-03-11 |
CVE-2019-6716 UPD | 7.9 | 9.4 | 0.0964 | 2019-03-21 |
CVE-2025-5947 UPD | 7.9 | 9.8 | 0.0451 | 2025-08-01 |
CVE-2022-31692 UPD | 7.8 | 9.8 | 0.0339 | 2022-10-31 |
CVE-2019-9756 UPD | 7.7 | 9.8 | 0.0215 | 2019-04-17 |
CVE-2019-12866 UPD | 7.7 | 9.8 | 0.0194 | 2019-07-03 |
CVE-2019-17574 UPD | 7.7 | 9.1 | 0.0943 | 2019-10-14 |
CVE-2020-11658 UPD | 7.7 | 9.8 | 0.0238 | 2020-04-15 |
CVE-2021-41301 UPD | 7.7 | 9.8 | 0.0199 | 2021-09-30 |
CVE-2022-0691 UPD | 7.7 | 9.8 | 0.0222 | 2022-02-21 |
CVE-2024-50483 UPD | 7.7 | 9.8 | 0.0235 | 2024-10-28 |
CVE-2019-13605 UPD | 7.6 | 8.8 | 0.1531 | 2019-07-16 |
CVE-2022-1245 UPD | 7.6 | 9.8 | 0.0141 | 2022-07-08 |
CVE-2023-3048 UPD | 7.6 | 9.8 | 0.0131 | 2023-06-13 |
CVE-2023-38965 UPD | 7.6 | 9.8 | 0.0152 | 2023-11-03 |
CVE-2025-14998 UPD | 7.6 | 9.8 | 0.0186 | 2026-01-02 |