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

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

2041 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 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.
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.
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 ID Title CVSS Severity Published
CVE-2026-57943 LibrePhotos < 1.0.0 - Insecure Direct Object Reference in SetPhotosShared Endpoint — librephotos 5.9 Medium 2026-06-29
CVE-2026-56781 Teable - Unauthenticated Hidden Field Disclosure via Projection Parameter Override — teable 5.3 Medium 2026-06-29
CVE-2026-56780 Modoboa < 2.9.0 - Insecure Direct Object Reference in Account Password Change API — modoboa 7.5 High 2026-06-29
CVE-2026-57341 WordPress Colissimo Officiel : Méthodes de livraison pour WooCommerce plugin <= 2.9.0 - Insecure Direct Object References (IDOR) vulnerability — Colissimo Officiel : Méthodes de livraison pour WooCommerce 6.5 Medium 2026-06-29
CVE-2026-57676 WordPress Simple User Avatar plugin <= 4.9 - Insecure Direct Object References (IDOR) vulnerability — Simple User Avatar 4.3 Medium 2026-06-29
CVE-2026-13549 CodeAstro Complaint Management System Report Endpoint Report.php deletereport authorization — Complaint Management System 5.4 Medium 2026-06-29
CVE-2026-13534 CherryHQ cherry-studio CherryIN Preload API MemoryService.ts sha256 authorization — cherry-studio 5.0 Medium 2026-06-29
CVE-2026-13512 Databend Tenant client_session_manager.rs state_key authorization — Databend 6.3 Medium 2026-06-28
CVE-2026-13490 glpi-project glpi Document document.send.php canViewFile authorization — glpi 3.7 Low 2026-06-28
CVE-2026-11987 Dokan: AI Powered WooCommerce Multivendor Marketplace Solution <= 5.0.4 - Authenticated (Subscriber+) Insecure Direct Object Reference to Information Disclosure via 'id' Parameter — Dokan: AI Powered WooCommerce Multivendor Marketplace Solution – Build Your Own Amazon, eBay, Etsy 4.3 Medium 2026-06-27
CVE-2026-44731 OpenProject: Improper Access Control on OpenProject through /projects/[projectName]/meetings via "invited_user_id" in GET parameter "filters" leads to user names disclosure — openproject 4.3 Medium 2026-06-26
CVE-2026-44732 OpenProject: IDOR on OpenProject through /api/v3/documents/{id} via PATCH parameter "project_id" leads to Unauthorized Modification of Resources — openproject 4.3 Medium 2026-06-26
CVE-2026-52779 OpenProject: Cross-project authorization bypass allows deleting public Calendar and Team Planner queries from unauthorized projects — openproject 5.4 Medium 2026-06-26
CVE-2026-52782 OpenProject: IDOR through /projects/<A>/settings/project_storages/<A_ps_id> via PATCH parameter "storages_project_storage[project_folder_id]" leads to Access to Unauthorized Resources — openproject 9.9 Critical 2026-06-26
CVE-2026-12411 Broken Access Control in Canonical LXD DevLXD API — lxd 8.4 High 2026-06-26
CVE-2026-57665 WordPress GravityView plugin <= 3.0.0 - Insecure Direct Object References (IDOR) vulnerability — GravityView 5.3 Medium 2026-06-26
CVE-2026-57652 WordPress JS Help Desk plugin <= 3.1.0 - Insecure Direct Object References (IDOR) vulnerability — JS Help Desk 5.3 Medium 2026-06-26
CVE-2026-57646 WordPress Majestic Support plugin <= 1.1.7 - Insecure Direct Object References (IDOR) vulnerability — Majestic Support 5.4 Medium 2026-06-26
CVE-2026-57634 WordPress PPWP plugin <= 1.9.19 - Insecure Direct Object References (IDOR) vulnerability — PPWP 4.3 Medium 2026-06-26
CVE-2026-57630 WordPress Blocksy Companion Pro plugin <= 2.1.46 - Insecure Direct Object References (IDOR) vulnerability — Blocksy Companion Pro 5.3 Medium 2026-06-26
CVE-2026-56069 WordPress Toolset Forms plugin <= 2.6.24 - Insecure Direct Object References (IDOR) vulnerability — Toolset Forms 7.5 High 2026-06-26
CVE-2026-56048 WordPress Payment Gateway Based Fees and Discounts for WooCommerce plugin <= 3.0.0 - Insecure Direct Object References (IDOR) vulnerability — Payment Gateway Based Fees and Discounts for WooCommerce 6.5 Medium 2026-06-26
CVE-2026-54839 WordPress Trinity Backup – Backup, Migrate, Restore, Clone & Schedule Backups plugin <= 2.0.9 - Sensitive Data Exposure vulnerability — Trinity Backup &#8211; Backup, Migrate, Restore, Clone &amp; Schedule Backups 7.5 High 2026-06-26
CVE-2026-54826 WordPress SupportCandy plugin <= 3.4.6 - Insecure Direct Object References (IDOR) vulnerability — SupportCandy 7.6 High 2026-06-26
CVE-2025-66123 WordPress BookPro plugin <= 1.1.0 - Insecure Direct Object References (IDOR) vulnerability — BookPro 5.3 Medium 2026-06-26
CVE-2026-56774 Kanboard - Cross-User Deletion of Persistent Login Sessions via Unvalidated Session ID — kanboard 5.4 Medium 2026-06-25
CVE-2026-56772 NewsBlur < 14.5.0 - Insecure Direct Object Reference in Social Interactions Endpoint — NewsBlur 4.3 Medium 2026-06-25
CVE-2026-54097 File Browser: Cross-user unauthorized share-link deletion via unbounded prefix match in DeleteWithPathPrefix — filebrowser - - 2026-06-25
CVE-2026-9799 Keycloak: keycloak: unauthorized access to resources via uma permission ticket bypass — Red Hat build of Keycloak 26.4 4.6 Medium 2026-06-25
CVE-2026-9099 Keycloak: group-admin escalation to realm-admin — Red Hat build of Keycloak 26.4 7.7 High 2026-06-25

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