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

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

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

1073 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-8196 JeecgBoot mLogin Endpoint LoginController.java authorization — JeecgBoot 3.7 Low2026-05-09
CVE-2026-42291 SysReptor: Read-write access to personal notes by sharing-link creation with no authorization in SysReptor Professional — sysreptor 6.8 Medium2026-05-08
CVE-2026-44400 MailEnable Enterprise Premium < 10.55 Authorization Bypass via WebAdmin — MailEnable Enterprise Premium 8.1 High2026-05-08
CVE-2026-42279 solidtime: Time entry update endpoint allows cross-organization modification of a known time-entry UUID — solidtime 5.8 Medium2026-05-08
CVE-2026-42277 Onyx: IDOR in /chat/file/{file_id} allows any authenticated user to download other users files — onyx 6.5 Medium2026-05-08
CVE-2026-42276 Onyx: IDOR in /chat/stop-chat-session allows any authenticated user to interrupt other users chat sessions — onyx 4.3 Medium2026-05-08
CVE-2026-41906 FreeScout: Conversation Change-Customer Cross-Mailbox Authorization Bypass — freescout 7.1 High2026-05-07
CVE-2026-27329 WordPress YITH WooCommerce Wishlist plugin <= 4.12.0 - Insecure Direct Object References (IDOR) vulnerability — YITH WooCommerce Wishlist 5.3 Medium2026-05-07
CVE-2026-40981 VMware Spring Cloud Config 安全漏洞 — Spring Cloud Config 7.5 High2026-05-07
CVE-2026-20219 Cisco Slido 安全漏洞 — Cisco Webex Meetings 5.4 Medium2026-05-06
CVE-2026-8027 FlowiseAI Flowise User Controller authorization — Flowise 4.3 Medium2026-05-06
CVE-2026-7573 GetUserRoles API endpoint allows any authenticated user to enumerate ACL policies across all organizations — velociraptor 5.0 Medium2026-05-06
CVE-2026-41950 Dify < 1.14.0 Authorization Bypass via File UUID — dify 6.5 Medium2026-05-05
CVE-2026-2729 Forminator – Contact Form, Payment Form & Custom Form Builder <= 1.52.0 - Missing Authorization to Unauthenticated Stripe PaymentIntent Reuse / Underpayment Bypass via 'paymentid' Parameter — Forminator Forms – Contact Form, Payment Form & Custom Form Builder 5.3 Medium2026-05-05
CVE-2026-3454 GenerateBlocks <= 2.2.0 - Insecure Direct Object Reference to Authenticated (Contributor+) Sensitive Information Exposure via Dynamic Tag Replacements — GenerateBlocks 6.5 Medium2026-05-05
CVE-2026-7782 CodeCanyon Perfex CRM Tenant Clients.php project authorization — Perfex CRM 6.3 Medium2026-05-04
CVE-2026-42227 n8n: Public API Variables IDOR Allows Cross-Project Secret Disclosure — n8n 6.5 -2026-05-04
CVE-2026-41471 Easy PayPal Events & Tickets 1.3 Information Disclosure via QR Code Endpoint — easy-paypal-events-tickets 7.5 High2026-05-04
CVE-2026-29200 WebPros Comet Backup 安全漏洞 — Comet Backup 6.5 -2026-05-04
CVE-2026-7702 toeverything AFFiNE Public Markdown Preview Endpoint :docId allowDocPreview authorization — AFFiNE 5.3 Medium2026-05-03
CVE-2026-7681 jsbroks COCO Annotator Dataset API datasets.py authorization — COCO Annotator 6.5 Medium2026-05-03
CVE-2026-2554 WCFM – Frontend Manager for WooCommerce along with Bookings Subscription Listings Compatible <= 6.7.25 - Authenticated (Vendor+) Insecure Direct Object Reference to Arbitrary User Deletion — WCFM – Frontend Manager for WooCommerce 8.1 High2026-05-02
CVE-2026-7491 Zyosoft|School App - Insecure Direct Object Reference — School App 8.1 High2026-05-02
CVE-2026-7638 App Builder <= 5.5.10 - Insecure Direct Object Reference to Authenticated (Subscriber+) Arbitrary User Avatar Modification via 'user_id' Parameter — App Builder – Create Native Android & iOS Apps On The Flight 5.3 Medium2026-05-02
CVE-2026-7510 OWAP DefectDojo Benchmark/Engagement/Product/Survey authorization — DefectDojo 6.3 Medium2026-04-30
CVE-2026-6542 Monitor API allows cross-user read of transaction logs and deletion of build data via flow_id — Langflow OSS 6.5 Medium2026-04-30
CVE-2026-7502 LinkStackOrg LinkStack Management Endpoint UserController.php saveLink authorization — LinkStack 5.4 Medium2026-04-30
CVE-2026-4503 Unauthenticated Insecure Direct Object Reference (IDOR) Vulnerability in Langflow Desktop Image Download Endpoint — Langflow Desktop 7.5 High2026-04-30
CVE-2026-40600 Chartbrew: Incorrect Access Control in project share policy routes via unbound policy_id — chartbrew 8.1 High2026-04-30
CVE-2026-7399 IDOR in MeWare Software's PDKS — PDKS 8.1 High2026-04-30

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