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: 04 July 2026 00:28 UTC
Cumulative inbound coverage
How completely the frameworks we cross-walk collectively cover this — the verdict is the strongest single mapping (overlapping partials are not summed); breadth shows the corroboration behind it.
Collective: full · 2 mapping(s) from 2 framework(s): OWASP-Web 1 (full) · ATT&CK 1 (partial)
OWASP Top 10 for Web (2025)
This weakness contributes to A01:2025 Broken Access Control.
NIST 800-53 r5 controls that address this weakness (2)AI
| Control | Title | Family | Why it addresses this CWE |
|---|---|---|---|
AC-24 | Access Control Decisions | AC | 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 | Consistent enforcement of approved authorizations makes bypassing via user-controlled keys ineffective. |
MITRE ATT&CK techniques this weakness enables
Our own two-way CWE↔ATT&CK cross-walk — a direct mapping with no public source (the CWE→CAPEC→ATT&CK chain leaves most top weaknesses, incl. XSS and SQLi, mapped to nothing). Drafted by Grok and spot-checked by Claude Opus 4.8.
Direction: ← other covers this;
→ this covers other (F/M/P = full / mostly /
partial).
Top CVEs of this weakness type, ranked by Risk Priority
| CVE | Risk | CVSS | EPSS | Published |
|---|---|---|---|---|
CVE-2019-17382 | 8.0 | 9.1 | 0.5415 | 2019-10-09 |
CVE-2021-45428 | 8.0 | 9.8 | 0.5693 | 2022-01-03 |
CVE-2023-6875 | 8.0 | 9.8 | 0.9034 | 2024-01-11 |
CVE-2024-46982 | 8.0 | 7.5 | 0.6062 | 2024-09-17 |
CVE-2019-6716 | 7.0 | 9.4 | 0.0964 | 2019-03-21 |
CVE-2019-9756 | 7.0 | 9.8 | 0.0215 | 2019-04-17 |
CVE-2019-12866 | 7.0 | 9.8 | 0.0194 | 2019-07-03 |
CVE-2019-13360 | 7.0 | 9.8 | 0.2445 | 2019-07-16 |
CVE-2019-17574 | 7.0 | 9.1 | 0.0923 | 2019-10-14 |
CVE-2019-15913 | 7.0 | 9.8 | 0.0125 | 2019-12-20 |
CVE-2020-11658 | 7.0 | 9.8 | 0.0201 | 2020-04-15 |
CVE-2019-15310 | 7.0 | 9.8 | 0.0826 | 2020-07-01 |
CVE-2021-32744 | 7.0 | 9.8 | 0.0105 | 2021-07-21 |
CVE-2021-37184 | 7.0 | 9.8 | 0.0100 | 2021-09-14 |
CVE-2021-41301 | 7.0 | 9.8 | 0.0193 | 2021-09-30 |
CVE-2021-20599 | 7.0 | 9.1 | 0.0130 | 2021-10-14 |
CVE-2021-44949 | 7.0 | 9.8 | 0.0113 | 2021-12-14 |
CVE-2022-22832 | 7.0 | 9.8 | 0.1406 | 2022-02-06 |
CVE-2022-0686 | 7.0 | 9.1 | 0.0183 | 2022-02-20 |
CVE-2022-0691 | 7.0 | 9.8 | 0.0222 | 2022-02-21 |
CVE-2022-1165 | 7.0 | 9.1 | 0.0164 | 2022-04-04 |
CVE-2022-30495 | 7.0 | 9.8 | 0.0111 | 2022-05-26 |
CVE-2022-1996 | 7.0 | 9.1 | 0.0274 | 2022-06-08 |
CVE-2022-1245 | 7.0 | 9.8 | 0.0117 | 2022-07-08 |
CVE-2022-36202 | 7.0 | 9.8 | 0.0094 | 2022-08-31 |