In-depth lesson · technique
GraphQL authorization gaps
What every disclosed GraphQL authorization gaps report in the index teaches, put together: how it works, how it changed year by year, where it turns up, and things to try. Every point shows the reports it is seen in.
- reports cited in this lesson
- 49
- median public bounty
- $1,700
Learning APIs and access control, step 3
Overview
What it is and why programs pay for it.
GraphQL authorisation gaps are a form of insecure direct object reference (IDOR) where a GraphQL resolver accepts a client-supplied identifier and returns or modifies data without checking that the caller is allowed to access that object. These gaps appear across many programmes, often in mutations for write operations such as archive, delete, update and assign, and in node or global identifier lookups. Because GraphQL exposes a single endpoint with a rich schema, a single missing check can expose data across many objects and tenants.
Programmes care about these issues because they can lead to unauthorised access to private data, cross-tenant actions, and even account takeover when combined with other flaws. The impact ranges from information disclosure of private programmes, invoices, conversations and user details, to state-changing actions like deleting another user's content or modifying billing settings. Many reports in this dataset were paid, showing that programmes value clear demonstrations of missing ownership checks.
These gaps are most often found in GraphQL endpoints, particularly in resolvers that handle user lookups, node lookups, and mutations that operate on objects by identifier. Common root causes include trusting client-supplied identifiers, treating UUIDs or global identifiers as proof of access, and failing to mirror the privacy checks enforced by the web interface. They also appear in cross-tenant operations and in features like billing, mod logs, and embedded forms.
Seen in these reports12
-
$25,000 Critical -
$5,000 Medium -
$2,500 Low
Show 5 moreShow fewer
-
$250 Medium -
High -
Medium -
$5,000 High -
Medium
How it works
The mechanics, as the reports show them.
The attack works by taking an identifier that belongs to another user or tenant and supplying it to a GraphQL operation that does not verify ownership. For example, a query might accept a user ID or a global node ID and return data without checking that the authenticated caller matches that user. Similarly, a mutation might accept an object ID and perform an action without confirming the caller has permission over that object.
What makes this possible is that GraphQL resolvers often rely on the client to provide the correct identifier and assume that if the identifier is valid, the caller is authorised. Developers may implement authorisation in the web interface but forget to replicate it in the GraphQL layer, or they may trust that UUIDs or global identifiers are unguessable and therefore sufficient proof of access. In some cases, the resolver uses the server's own credentials (such as a GitHub token) without checking that the requested resource belongs to the authenticated user.
A typical step-by-step approach is to first map the GraphQL schema, often through introspection if enabled, and identify operations that take object identifiers. Then, using two accounts, you substitute an identifier from one account into a request made by the other and observe whether the operation succeeds or returns data. For mutations, you check whether the state changes despite the lack of ownership. For queries, you check whether private data is disclosed.
Common variations include testing node or global identifier lookups, which may resolve objects without checking visibility of the underlying resource, and testing cross-tenant operations where an identifier from one organisation is used in another organisation's context. Another variation is when the resolver checks read permission but not write permission, allowing actions like assigning a security policy project without the right to do so.
The gap is often found in features that have complex permission models, such as billing, mod logs, or embedded forms, where the GraphQL resolver may not enforce the same checks as the web interface. It can also appear in less obvious places like client-side only enforcement of limits, which can be bypassed by sending a direct GraphQL request.
Seen in these reports15
-
$25,000 Critical -
$5,000 High -
$5,000 Medium
Show 5 moreShow fewer
-
$2,500 Low -
$900 Low -
$250 Medium -
Medium -
Medium
Year by year
5 yearsWhat each year's disclosed reports show, newest first. A year with few reports says less.
| 2017 | 2 |
|---|---|
| 2018 | 5 |
| 2019 | 7 |
| 2020 | 2 |
| 2021 | 5 |
| 2022 | 9 |
| 2023 | 6 |
| 2024 | 18 |
| 2025 | 21 |
| 2026 | 27 |
-
2025
New this year1
- A mutation bypassing the intended fix for an earlier security policy flaw appeared in the disclosed reports.
Kept working2
- Querying a PolicyPageAssetGroup by its global identifier without authentication returned a private programme's asset group name in the disclosed reports.
- Global identifier and node lookups were used to reach objects belonging to private programmes or other users in the disclosed reports.
Turned up less2
- The earlier pattern of querying the model registry with guessed incremental model IDs was not repeated in the 2025 disclosed reports.
- The earlier pattern of enumerating embedded submission form UUIDs through the node interface was not repeated in the 2025 disclosed reports.
-
2024
New this year2
- Querying system information fields through GraphQL to see what was exposed appeared in the disclosed reports.
- Global identifier and node lookups were used to reach objects belonging to private programmes or other users in the disclosed reports.
Kept working4
- Querying the model registry GraphQL API with guessed incremental model IDs and then using returned version IDs to query specific versions worked in the disclosed reports.
- Calling the FetchMemberships operation as a user no longer in the organisation returned member names, emails, roles and IDs in the disclosed reports.
Turned up less1
- The earlier pattern of sending GraphQL requests with missing or expired bearer tokens was not repeated in the 2024 disclosed reports.
-
2023
New this year2
- Sending GraphQL requests with a missing, malformed or expired bearer token and checking whether the API still processed them appeared in the disclosed reports.
- Adding variables to a copied GraphQL query to test for mass assignment and account takeover appeared in the disclosed reports.
Kept working4
- Querying data sources of a business account the hunter did not own by supplying its identifier to GraphQL returned data in the disclosed reports.
- Sending the LockReport mutation with the ID of a public report the hunter did not own locked it in the disclosed reports.
Turned up less2
- The earlier pattern of paging through a subreddit's mod log with the end cursor was not repeated in the 2023 disclosed reports.
- The earlier pattern of substituting identifiers in a GraphQL query returning payment card details was not repeated in the 2023 disclosed reports.
Earlier years2
Where it is found
4The features and places the reports found it in, most-reported first.
-
GraphQL endpoints across many programmes were the main place these authorisation gaps appeared.
Seen in 6 reports
-
Write operations such as archive, delete, update and assign mutations were a recurring place for missing ownership checks.
Seen in 5 reports
-
Global identifier and node lookups were used to reach objects belonging to private programmes or other users.
Seen in 3 reports
-
Cross-tenant operations in GraphQL allowed acting on another organisation's resources.
Technologies in these reports13
Root causes
18The mistakes in the code or configuration behind the reports.
-
Resolvers repeatedly trusted client-supplied identifiers without checking that the object belonged to the caller.
Seen in 6 reports
-
UUIDs and global identifiers were treated as sufficient proof of access.
Seen in 3 reports
-
The model and version resolvers did not check that the caller could view the model's project.
Seen in 2 reports
-
The user lookup resolver did not check that the requested user matched the authenticated caller.
Seen in 1 report
-
$250 Medium
-
-
The snippet resolver did not apply the same privacy checks as the web interface.
Things to try
The most-reported tests in the largest contexts. Tick what you have tried; ticks stay in this browser and carry over to the full checklist. Test only what a program's scope allows.
ticked in this lesson
Multi-tenant business and page data
of 3 ticked-
Seen in 1 report
-
Seen in 1 report
-
Seen in 1 report
Repository and project integrations
of 3 ticked-
Seen in 1 report
-
Seen in 1 report
-
Seen in 1 report
Billing, invoices and payments
of 2 ticked-
Seen in 1 report
-
Seen in 1 report
Bypasses and variations
1How reports got past filters, encoders and other defences.
-
The mutation bypassed the intended fix for an earlier security policy flaw.
Seen in 1 report
Payouts
18 paidPublic bounties in US dollars, from the data. 18 of 124 reports show an amount.
- a quarter paid up to
- $925
- median
- $1,700
- three quarters paid up to
- $2,500
- highest
- $25k
One in ten paid reports was paid $5,000 or more.
| Severity | Reports | Paid | Median | Highest |
|---|---|---|---|---|
| Critical | 4 | 1 | $25k | $25k |
| High | 6 | 1 | $5,000 | $5,000 |
| Medium | 18 | 5 | $1,160 | $5,000 |
| Low | 4 | 2 | $1,700 | $2,500 |
| Unrated | 92 | 9 | $1,500 | $3,000 |
Highest-paid reports5
-
$25,000 Critical -
$5,000 Medium -
$5,000 High -
$3,000 -
$2,500
Tips for beginners
11Advice for a first hunt, drawn from the reports.
-
Look for resolvers that trust client-supplied identifiers without checking ownership. This is the root cause in many reports, so any operation that takes an ID is a candidate.
Seen in 6 reports
-
Focus on mutations that perform write operations such as delete, update, archive, or assign. These are common places for missing ownership checks and can lead to clear impact like deleting another user's content or modifying their settings.
Seen in 5 reports
-
Test node and global identifier lookups. These often resolve objects by ID without checking whether the caller can view the underlying resource, potentially exposing private programmes or user data.
Seen in 3 reports
-
Demonstrate impact clearly. Show that you can access data or perform actions that should be restricted, and if possible, show the consequences such as reading private information or modifying another user's data. Avoid reporting without proof of impact.
Seen in 3 reports
-
Create two accounts and use one to generate objects (like posts, conversations, invoices) and the other to attempt access. Substitute identifiers from the first account into requests made by the second and look for data leakage or state changes.
Guides and techniques
The best explainers, cheat sheets and technique posts on GraphQL authorization gaps, from around the web.
-
Hacking GraphQL endpoints with introspection, query, mutation, batching attacksCovers GraphQL introspection, mutation abuse and batching attacks for finding authorisation and data exposure flaws in APIs.
Explainer yeswehack.com
-
GraphQL PenTest Methodology: Common Vulnerabilities and How We Exploit ThemPractical GraphQL testing methodology covering common flaws and how to exploit them during engagements.
Methodology blog.rehack.xyz
-
Exploiting GraphQLAssetnote details practical GraphQL attack techniques including introspection abuse, authorisation flaws and injection paths.
Technique blog.assetnote.io
-
GraphQL Hacking: The Under-Tested Endpoint Full of Classic BugsCovers testing GraphQL endpoints for common flaws such as introspection leaks, authorisation gaps and injection issues.
Methodology kd-200.medium.com
-
GraphQL API Vulnerabilities in Web App Penetration TestingCovers common GraphQL weaknesses such as introspection exposure and broken authorisation during web application penetration tests.
Explainer cyberw1ng.medium.com
Keep learning
Where this lesson fits, and what to read next.
Learning paths
The whole class
Related techniques
How this is made: our model read every listed GraphQL authorization gaps report in the index (our own summary where we have one, otherwise the title and the platform's label), listed the patterns, and merged them. Each point was kept only if the reports it cites exist, are listed and belong here; payouts are computed from the data, not written by the model. Read the originals before relying on a point. Generated 26 Nov 2026 from 49 reports. All GraphQL authorization gaps reports.