Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CWE-639 (通过用户控制密钥绕过授权机制) — Vulnerability Class 1596

1596 vulnerabilities classified as CWE-639 (通过用户控制密钥绕过授权机制). AI Chinese analysis included.

CWE-639 represents an authorization bypass weakness where systems fail to validate that a user is permitted to access a resource identified by a user-controlled key. Attackers typically exploit this by manipulating identifiers, such as changing a numeric user ID in a URL or API parameter, to retrieve or modify another user’s private data. This insecure direct object reference allows unauthorized access without requiring authentication bypasses. Developers prevent this vulnerability by implementing robust server-side authorization checks that verify the requesting user’s permissions against the requested resource, rather than trusting client-supplied identifiers. Additionally, using indirect references or opaque tokens instead of predictable, sequential keys can mitigate the risk of enumeration and unauthorized access attempts.

MITRE CWE 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. 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.
Common Consequences (3)
Access ControlBypass Protection Mechanism
Access control checks for specific user data or functionality can be bypassed.
Access ControlGain Privileges or Assume Identity
Horizontal escalation of privilege is possible (one user can view/modify information of another user).
Access ControlGain 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.
Mitigations (3)
Architecture and DesignFor each and every data access, ensure that the user has sufficient privilege to access the record that is being requested.
Architecture and Design, ImplementationMake 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 DesignUse 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.
Examples (1)
The following code uses a parameterized statement, which escapes metacharacters and prevents SQL injection vulnerabilities, to construct and execute a SQL query that searches for an invoice matching the specified identifier [1]. The identifier is selected from a list of all invoices associated with the current authenticated user.
... conn = new SqlConnection(_ConnectionString); conn.Open(); int16 id = System.Convert.ToInt16(invoiceID.Text); SqlCommand query = new SqlCommand( "SELECT * FROM invoices WHERE id = @id", conn); query.Parameters.AddWithValue("@id", id); SqlDataReader objReader = objCommand.ExecuteReader(); ...
Bad · C#
CVE IDTitleCVSSSeverityPublished
CVE-2026-19997 Webkul Bagisto Backend Sales RMA Endpoint requests authorization — Bagisto 4.7 Medium2026-08-17
CVE-2026-19994 Webkul Bagisto Configuration Management execute authorization — Bagisto 6.3 Medium2026-08-17
CVE-2026-19979 GL.iNet XE3000 WebDAV Service MOVE authorization — A1300 8.3 High2026-08-17
CVE-2026-19966 CodeCanyon TimeCamp Integration for CRM Contact Information Update save_contact authorization — TimeCamp Integration for CRM 5.4 Medium2026-08-17
CVE-2026-12998 Forminator Forms <= 1.55.0.2 - Insecure Direct Object Reference to Unauthenticated Sensitive Information Disclosure via 'draft' Parameter — Forminator Forms – Contact Form, Payment Form & Custom Form Builder 5.3 Medium2026-08-16
CVE-2025-10005 Password Protect WordPress Lite <= 1.9.20 - Insecure Direct Object Reference to Authenticated (Contributor+) Password Protected Post Password Update — PPWP – Password Protect Pages 4.3 Medium2026-08-16
CVE-2026-13358 Appointment Booking Calendar — Simply Schedule Appointments Booking Plugin <= 1.6.12.10 - Authenticated (Contributor+) Insecure Direct Object Reference to Sensitive Information Exposure — Simply Schedule Appointments 6.5 Medium2026-08-16
CVE-2026-12905 Online Scheduling and Appointment Booking System – Bookly <= 27.7 - Authenticated (Staff+) Insecure Direct Object Reference to Sensitive Information Exposure via 'params[id]' Parameter — Online Scheduling and Appointment Booking System – Bookly 4.3 Medium2026-08-16
CVE-2026-16142 TrueBooker <= 1.2.6 - Unauthenticated Account Takeover via Insecure Direct Object Reference in 'truebooker_wp_user_id' Parameter — TrueBooker – Appointment Booking and Scheduler System 9.8 Critical2026-08-15
CVE-2026-74242 Quay: repository notification uuid idor in quay api — Red Hat OpenShift Update Service 5.3 Medium2026-08-14
CVE-2026-19838 Webkul Bagisto Backend Reporting Endpoint sales authorization — Bagisto 4.3 Medium2026-08-14
CVE-2026-19836 Webkul Bagisto Backend Customer Detail Feature view authorization — Bagisto 4.3 Medium2026-08-14
CVE-2026-19834 Webkul Bagisto Admin Customer Impersonation Feature login-as-customer authorization — Bagisto 4.7 Medium2026-08-14
CVE-2026-19870 IDOR in Prospero Flow CRM allows cross-tenant payroll disclosure and creation — Prospero Flow CRM 8.6 High2026-08-14
CVE-2026-19784 francoisjacquet RosarioSIS Referrals.php DBUpdate authorization — RosarioSIS 4.3 Medium2026-08-14
CVE-2026-73841 OpenChoreo: Cross-project command execution and wirelog view access via OpenChoreo openchoreo-api exec and wirelogs endpoints — openchoreo 8.8 High2026-08-13
CVE-2026-73039 streama Insecure Direct Object Reference via ViewingStatusController — streama 5.4 Medium2026-08-13
CVE-2026-73656 Trigger.dev: Cross-project deployment worker registration can modify another project's deployment state — trigger.dev 9.9 Critical2026-08-13
CVE-2026-72629 Authorization Bypass Through User-Controlled Key in Kibana Leading to Cross-Space Access to Machine Learning Trained Models — Kibana 7.1 High2026-08-13
CVE-2026-72657 Authorization Bypass Through User-Controlled Key in Fleet Server Leading to Information Disclosure — Fleet Server 6.5 Medium2026-08-13
CVE-2026-72650 Authorization Bypass Through User-Controlled Key in Kibana Leading to Information Disclosure — Kibana 4.3 Medium2026-08-13
CVE-2026-72666 Authorization Bypass Through User-Controlled Key in Kibana Leading to Unauthorized Query Execution on Managed Hosts — Kibana 6.8 Medium2026-08-13
CVE-2026-72680 Authorization Bypass Through User-Controlled Key in Kibana Agent Builder Leading to Unauthorized Data Modification — Kibana 6.5 Medium2026-08-13
CVE-2026-72741 Rainbond 6.9.7 Region API Cross-Enterprise IDOR via Tenant Access — rainbond 8.1 High2026-08-13
CVE-2026-57886 Cross-repository issue/comment attachment re-linking can expose private attachment content — Gitea Open Source Git Server--2026-08-13
CVE-2026-19734 IDOR in Prospero Flow CRM allows cross-tenant product disclosure and hijacking — Prospero Flow CRM 8.6 High2026-08-13
CVE-2026-28155 WordPress Do Lasso plugin <= 358 - Insecure Direct Object References (IDOR) vulnerability — Do Lasso 6.5 Medium2026-08-13
CVE-2026-73616 OpenRemote Notification Delete Cross-Realm Insecure Direct Object Reference — openremote 6.5 Medium2026-08-13
CVE-2026-73612 File Browser before v2.63.22 Authorization Bypass via Recursive Operations — filebrowser 8.1 High2026-08-13
CVE-2026-73610 SiYuan before v3.7.4 Information Disclosure via Local Storage — siyuan 5.8 Medium2026-08-13

Vulnerabilities classified as CWE-639 (通过用户控制密钥绕过授权机制) represent 1596 CVEs. The CWE taxonomy describes the weakness; review individual CVEs for product-specific impact.