cve.bz

CWE-566: Authorization Bypass Through User-Controlled SQL Primary Key, published in 2025

Filter

The product uses a database table that includes records that should not be accessible to an actor, but it executes a SQL statement with a primary key that can be controlled by that actor.

What the weakness is: CWE-566 at MITRE. OWASP Top 10: A01:2025 Broken Access Control. All weaknesses

Ask an AI about CWE-566

Show the promptExplain CWE-566: Authorization Bypass Through User-Controlled SQL Primary Key and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/566.html and https://cve.bz/cve/cwe/566?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 3.8CVE-2025-56556intelliants subrion cmsEPSS 0.2%

    An issue was discovered in Subrion CMS 4.2.1, allowing authenticated adminitrators or moderators with access to the built-in Run SQL Query feature under the SQL Tool admin panel - to gain escalated privileges in the context of the SQL quer…

  2. 2.7CVE-2025-30369zulip serverEPSS 0.3%

    Zulip is an open-source team collaboration tool. The API for deleting an organization custom profile field is supposed to be restricted to organization administrators, but its handler failed to check that the field belongs to the same orga…

  3. 2.7CVE-2025-30368zulipEPSS 0.3%

    Zulip is an open-source team collaboration tool. The API for deleting an organization export is supposed to be restricted to organization administrators, but its handler failed to check that the field belongs to the same organization as th…