Intel

AIKIDO-2026-164230

graphql is vulnerable to Incorrect Authorization

GHSA-p3g2-4c7r-4fwwPublished Sep 23, 2026
September 23, 2026

75

CVE Score

High

Incorrect Authorization

Are you affected? Scan for Free

TL;DR

GraphQL::Schema::Member::HasArguments#authorize_application_object always returns true for an argument's loads: Object type when that type is not used as a field return type or reachable through an Interface/Union anywhere in the schema, without checking that the object loaded from the client supplied ID matches the declared type. A client supplied global ID for a different type can be loaded and authorized through such an argument as if it matched the expected loads: type. The fix requires the resolved object's type to exactly equal the declared loads: type before authorizing it.

How do I fix this?

Upgrade the graphql library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you declare an argument with loads: referencing an Object type that is not otherwise used as a return type (or reachable through an Interface/Union) elsewhere in your schema.

Package

Versions

2.1.2 - 2.6.10

Fixed in 2.6.11

Background info

graphql is vulnerable to Incorrect Authorization in versions 2.1.2 - 2.6.10.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea