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-60104 Bitwarden Server < 2026.6.0 Authorization Bypass via Admin Auth Request — server 8.7 High 2026-07-08
CVE-2026-15036 Harness gitspaces Endpoint list_all.go getAuthorizedSpaces authorization — Harness 4.3 Medium 2026-07-08
CVE-2026-59253 n8n - Improper Authorization in Workflow Assignment to Folders — n8n - - 2026-07-08
CVE-2026-5459 User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration <= 4.3.1 - Unauthenticated Insecure Direct Object Reference to Arbitrary User Subscription Overwrite — User Frontend: AI Powered Frontend Posting, User Directory, Profile Builder, Membership & User Registration 5.3 Medium 2026-07-08
CVE-2026-3688 WCFM - WooCommerce Multivendor Membership <= 2.11.10 - Insecure Direct Object Reference to Limited Privilege Escalation via User Role Overwrite — WCFM Membership – WooCommerce Memberships for Multivendor Marketplace 8.1 High 2026-07-08
CVE-2026-55429 Coder's workspace app upsert allows cross-workspace agent rebinding via user-controlled app ID — coder 8.7 High 2026-07-08
CVE-2026-54602 FastGPT: Cross-team LLM request/response disclosure (IDOR) via /api/core/ai/record/getRecord — FastGPT - - 2026-07-07
CVE-2026-55418 FastGPT: S3 presign/read handlers do not bind the object key to the caller's team (cross-team file disclosure) — FastGPT 8.6 High 2026-07-07
CVE-2026-50530 DataEase: Token with Overly Broad Privileges in Share Mode: Access to Unshared Datasets — dataease - - 2026-07-07
CVE-2026-53729 DataEase ExportCenter IDOR allows cross-user export task access — dataease - - 2026-07-07
CVE-2026-49296 Apache Airflow: Per-DAG read bypass discloses co-located DAGs' source via GET /api/v2/dagSources/{dag_id} — Apache Airflow - - 2026-07-07
CVE-2026-5799 IDOR in Idvlabs' Ontime — Ontime 7.5 High 2026-07-07
CVE-2026-5730 IDOR in Idvlabs' Ontime — Ontime 7.5 High 2026-07-07
CVE-2026-57870 MicroRealEstate 授权问题漏洞 — MicroRealEstate - - 2026-07-07
CVE-2026-57869 MicroRealEstate 加密问题漏洞 — MicroRealEstate - - 2026-07-07
CVE-2026-57868 MicroRealEstate 授权问题漏洞 — MicroRealEstate - - 2026-07-07
CVE-2026-34037 Cross-Tenant Resource Cloning via Broken Object-Level Authorization in cloneTo() — coolify 9.9 Critical 2026-07-07
CVE-2026-34044 Coolify: Cross-team IDOR in logs component (resource lookup not team-scoped) — coolify 7.7 High 2026-07-07
CVE-2026-53644 FOSSBilling's missing order-state validation allows clients to read and reset API key secrets for non-active orders — FOSSBilling - - 2026-07-06
CVE-2026-34167 Coolify: Cross-tenant activity log disclosure via unlocked Livewire property in ActivityMonitor — coolify 5.0 Medium 2026-07-06
CVE-2026-59712 Leantime - JSON-RPC API Broken Access Control via users.getUser — Leantime 8.1 High 2026-07-06
CVE-2026-12686 Incorrect authorisation in Adiss’s Biloop — Biloop - - 2026-07-06
CVE-2026-14793 Craft CMS reorder-sets Endpoint GlobalsController.php actionReorderSets authorization — CMS 4.3 Medium 2026-07-06
CVE-2026-14753 mjperpinosa stumasy Note Handler/Assignment notes authorization — stumasy 7.3 High 2026-07-05
CVE-2026-28740 Gitea LFS object reuse bypasses Code-unit authorization — Gitea Open Source Git Server 7.1 High 2026-07-03
CVE-2026-27657 Gitea email settings allow changing another user's primary email address — Gitea Open Source Git Server - - 2026-07-03
CVE-2026-25782 Gitea tracked-time deletion can target entries from another issue — Gitea Open Source Git Server - - 2026-07-03
CVE-2026-14608 SourceCodester CET Automated Grading System with AI Predictive Analytics POST index.php view_student authorization — CET Automated Grading System with AI Predictive Analytics 4.3 Medium 2026-07-03
CVE-2026-14614 Keycloak-services: keycloak-services: fgap v2 client scope assignment bypass via clientresource — Red Hat build of Keycloak 26.4 5.4 Medium 2026-07-03
CVE-2026-59234 Authorization Bypass Through User-Controlled Key in Prospero Flow CRM calendar event deletion — Prospero Flow CRM - - 2026-07-03

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