← Lab /Security & privacy

Airline GraphQL API leaked all passenger records via BOLA

An autonomous AI agent can obtain an anonymous session and extract full read and write access to passenger data from the airline’s GraphQL booking API within 15 minutes.

Security & privacy Wiz Research 29 Jun 2026 Disclosure Real-world evidence

Published as “レッドエージェントの視点:航空会社のGraphQL APIにおけるオブジェクトレベルの認可の不備の悪用”

Why it matters

Organizations must enforce object-level authorization and restrict GraphQL introspection to prevent automated mass data theft.

Summary

The Red Agent AI scanned a public airline website, minted an anonymous session token, and performed a full GraphQL schema introspection. It discovered that resolvers accepted sequential integer booking IDs without backend authorization checks. By querying 20 sequential IDs, it retrieved complete passenger profiles and could modify or delete bookings, all within 15 minutes. The evidence is based on live requests to the production API, showing consistent data exposure across two years of records.

What they found 2

  1. Anonymous session could retrieve full booking records by supplying sequential booking IDs

    “The backend processed the request and returned the complete, unredacted booking record of an active customer.”

  2. All 20 tested sequential IDs returned distinct passenger profiles

    “Every single request returned a distinct customer profileincluding names, contact details, billing addresses, and flight itineraries.”

Caveats 4

  • The exploit relied on the API exposing the full GraphQL schema to anonymous sessions, which enabled enumeration of resolvers.
  • Armed with a valid anonymous session token, the Red Agent issued a comprehensive GraphQL introspection query to dynamically map the backend schema. The response revealed a massive footprint: 514 queries and 428 mutations - all available to the anonymous session.
  • The Red Agent successfully minted an anonymous web session token by executing the token flow using empty credentials.
  • The attack depended on the API allowing anonymous sessions to perform full GraphQL introspection, exposing all queries and mutations.

What’s new here 4

  • Demonstrates fully autonomous AI discovery of a BOLA flaw in a production GraphQL API.
  • Shows complete read and write access to passenger data using only an anonymous session.
  • Highlights that unrestricted GraphQL introspection enables rapid enumeration of vulnerable resolvers.
  • Points out the inability of traditional DAST scanners to detect this logic flaw.