Skip to main content
Vulnerability Database/CVE-2026-108096

CVE-2026-108096: AWS Amplify Authorization Bypass Vulnerability

CVE-2026-108096 is an authorization bypass flaw in AWS Amplify GraphQL that allows authenticated users to access records owned by others through crafted queries. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-108096 Overview

CVE-2026-108096 is an improper authorization vulnerability [CWE-639] in the query resolvers generated by @aws-amplify/graphql-index-transformer in the AWS Amplify API Category. Versions before 3.1.2 generate resolvers that fail to correctly enforce ownership checks on index-based queries. An authenticated remote user of the same application can craft queries to read records owned by other users. AWS addressed the issue in @aws-amplify/graphql-index-transformer3.1.2, bundled in @aws-amplify/data-construct1.17.4 and @aws-amplify/graphql-api-construct1.21.4.

Critical Impact

Authenticated application users can read records owned by other tenants or users via crafted GraphQL index queries, breaking the per-owner data isolation model that Amplify applications rely on.

Affected Products

  • @aws-amplify/graphql-index-transformer versions before 3.1.2
  • @aws-amplify/data-construct versions before 1.17.4
  • @aws-amplify/graphql-api-construct versions before 1.21.4

Discovery Timeline

  • 2026-10-09 - CVE-2026-108096 published to NVD
  • 2026-10-16 - Last updated in NVD database

Technical Details for CVE-2026-108096

Vulnerability Analysis

AWS Amplify API Category uses GraphQL transformers to generate AWS AppSync resolvers from a schema. The @aws-amplify/graphql-index-transformer processes @index directives to produce query resolvers backed by DynamoDB Global Secondary Indexes. When a model also declares owner-based authorization, the generated query resolver on the secondary index path omits or incorrectly applies the owner condition. An authenticated client of the same AppSync API can issue a query against the indexed field and receive items that belong to other owners.

The flaw sits at the resolver-generation layer, so every deployed backend that includes a vulnerable transformer version inherits the gap. Forked or vendored copies of the transformer remain vulnerable until regenerated against the patched version.

Root Cause

The root cause is a missing or incomplete authorization check [CWE-639] in the Velocity Template Language (VTL) code that the index transformer emits for index query resolvers. The resolver evaluates the index key condition but does not consistently add the owner filter expression that the primary query resolver applies. The resolver therefore returns items whose ownership attribute does not match the invoking identity.

Attack Vector

Exploitation requires a valid authenticated identity in the target Amplify application. The attacker calls the auto-generated index query (for example, listByStatus or a similar queryBy<Index> operation) with argument values that match records owned by other users. The AppSync endpoint returns the records because the resolver skips the per-owner authorization filter. No elevated privileges, user interaction, or client-side exploitation is required beyond standard GraphQL requests.

No verified public exploit code is available. See the GitHub Security Advisory GHSA-69c4-mvf5-5xm3 for the vendor's technical description.

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-108096

Indicators of Compromise

  • AppSync CloudWatch logs showing successful Query operations against @index-generated fields where the returned item owner attribute differs from the caller's Cognito sub.
  • Unusual spikes in queryBy<Index> or listBy<Index> operations from a single authenticated principal across a short time window.
  • DynamoDB Query operations against Global Secondary Indexes returning items whose owner field does not match the originating identity recorded in AppSync request logs.

Detection Strategies

  • Enable AppSync field-level logging at ALL and correlate the identity.sub claim with the owner attribute of returned items for every index-backed query.
  • Audit deployed Amplify backends for the installed versions of @aws-amplify/graphql-index-transformer, @aws-amplify/data-construct, and @aws-amplify/graphql-api-construct, and flag versions below the fixed releases.
  • Inspect generated resolver VTL under amplify/#current-cloud-backend or the CDK output for index query resolvers that lack an $util.qr($ctx.stash.conditions.put("owner", ...)) or equivalent owner filter.

Monitoring Recommendations

  • Forward AWS AppSync and DynamoDB CloudTrail and CloudWatch logs to a centralized data lake and alert on cross-owner access patterns.
  • Track CI/CD pipeline dependency manifests (package.json, package-lock.json, yarn.lock) for regressions to vulnerable Amplify transformer versions.
  • Monitor the AWS Security Bulletin 2026-133 page and the upstream GitHub advisory for additional guidance.

How to Mitigate CVE-2026-108096

Immediate Actions Required

  • Upgrade @aws-amplify/graphql-index-transformer to 3.1.2 or later, or upgrade the parent constructs @aws-amplify/data-construct to 1.17.4 and @aws-amplify/graphql-api-construct to 1.21.4.
  • Rebuild and redeploy every Amplify backend that depends on the transformer so the patched resolvers replace the vulnerable VTL.
  • Patch any forked or vendored copies of the transformer code to incorporate the upstream fix before redeployment.
  • Review audit logs for the period between the first vulnerable deployment and the patched redeployment to assess potential cross-user data access.

Patch Information

AWS released fixes in the following npm packages: @aws-amplify/graphql-index-transformer v3.1.2, @aws-amplify/data-construct v1.17.4, and @aws-amplify/graphql-api-construct v1.21.4. Full vendor guidance is published in AWS Security Bulletin 2026-133 and GitHub Security Advisory GHSA-69c4-mvf5-5xm3.

Workarounds

  • Temporarily remove @index directives from owner-scoped models and rely on the primary query resolver until the patched transformer is deployed.
  • Add a custom VTL resolver or AppSync pipeline function that re-applies the owner filter condition on index-backed queries.
  • Restrict access to affected AppSync APIs at the identity-pool or user-pool group level to shrink the authenticated attack surface while patching is in progress.
bash
# Upgrade the Amplify GraphQL transformer and constructs to patched versions
npm install \
  @aws-amplify/graphql-index-transformer@3.1.2 \
  @aws-amplify/data-construct@1.17.4 \
  @aws-amplify/graphql-api-construct@1.21.4

# Rebuild and redeploy the backend so patched resolvers are generated
amplify push --yes

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.