BaseIncomplete

CWE-639Authorization Bypass Through User-Controlled Key

Category: auth

Description

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.

Common consequences· 3

  • Access Control — Bypass Protection Mechanism
    Access control checks for specific user data or functionality can be bypassed.
  • Access Control — Gain Privileges or Assume Identity
    Horizontal escalation of privilege is possible (one user can view/modify information of another user).
  • Access Control — Gain Privileges or Assume Identity
    Vertical escalation of privilege is possible if the user-controlled key is actually a flag that indicates administrator status, allowing the attacker to gain administrative access.

Potential mitigations· 3

  • [Architecture and Design]For each and every data access, ensure that the user has sufficient privilege to access the record that is being requested.
  • [Architecture and Design, Implementation]Make sure that the key that is used in the lookup of a specific user's record is not controllable externally by the user or that any tampering can be detected.
  • [Architecture and Design]Use encryption in order to make it more difficult to guess other legitimate values of the key or associate a digital signature with the key so that the server can verify that there has been no tampering.

References

  1. https://cwe.mitre.org/data/definitions/639.html

Compliance frameworks addressing this (incoming)3

TypeTargetConfidenceTier
ComplianceControlowasp_api_top10-api01100%live
ComplianceControlowasp_top10-a01100%live
ComplianceControlowasp_api_top10-api03100%live

(incoming)147

TypeTargetConfidenceTier
VulnerabilityCVE-2025-0987cve-2025-09870%live
VulnerabilityCVE-2025-10742cve-2025-107420%live
VulnerabilityCVE-2025-11690cve-2025-116900%live
VulnerabilityCVE-2025-11957cve-2025-119570%live
VulnerabilityCVE-2025-12008cve-2025-120080%live
VulnerabilityCVE-2025-12283cve-2025-122830%live
VulnerabilityCVE-2025-12288cve-2025-122880%live
VulnerabilityCVE-2025-13615cve-2025-136150%live
VulnerabilityCVE-2025-13768cve-2025-137680%live
VulnerabilityCVE-2025-14459cve-2025-144590%live
VulnerabilityCVE-2025-14996cve-2025-149960%live
VulnerabilityCVE-2025-14998cve-2025-149980%live
VulnerabilityCVE-2025-15001cve-2025-150010%live
VulnerabilityCVE-2025-15018cve-2025-150180%live
VulnerabilityCVE-2025-15025cve-2025-150250%live
VulnerabilityCVE-2025-15096cve-2025-150960%live
VulnerabilityCVE-2025-15521cve-2025-155210%live
VulnerabilityCVE-2025-15582cve-2025-155820%live
VulnerabilityCVE-2025-2526cve-2025-25260%live
VulnerabilityCVE-2025-25282cve-2025-252820%live
VulnerabilityCVE-2025-25777cve-2025-257770%live
VulnerabilityCVE-2025-26788cve-2025-267880%live
VulnerabilityCVE-2025-27507cve-2025-275070%live
VulnerabilityCVE-2025-34436cve-2025-344360%live
VulnerabilityCVE-2025-34437cve-2025-344370%live
VulnerabilityCVE-2025-34438cve-2025-344380%live
VulnerabilityCVE-2025-3605cve-2025-36050%live
VulnerabilityCVE-2025-3610cve-2025-36100%live
VulnerabilityCVE-2025-3810cve-2025-38100%live
VulnerabilityCVE-2025-3811cve-2025-38110%live

Showing top 30 of 147 by confidence. Click any target to see the full neighbourhood.

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CWE
Authorization Bypass Through User-Controlled SQL Primary Key
CWE
Improper Authorization
CWE
Authentication Bypass by Assumed-Immutable Data
CWE
Improper Access Control
CWE
Incorrect Authorization
CWE
Missing Authorization
Sourced from MITRE CWE 4.20. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.