A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2025-27097

CVE-2025-27097: GraphQL Mesh Information Disclosure Flaw

CVE-2025-27097 is an information disclosure vulnerability in GraphQL Mesh that causes variable caching issues, potentially exposing tokens across requests. This article covers technical details, affected versions, and mitigation.

Published: May 26, 2026

CVE-2025-27097 Overview

CVE-2025-27097 affects GraphQL Mesh, a federation framework and gateway used to compose GraphQL Federation subgraphs, non-GraphQL services such as REST and gRPC, and databases including MongoDB, MySQL, and PostgreSQL. The vulnerability stems from how the gateway caches DocumentNode objects when transforms are applied at the root level or to a single source. When clients send the same query with different variables, the gateway reuses the original variables from the cached document until the LRU eviction policy removes the entry. If a token is passed as a variable, subsequent requests execute under the prior token, leading to a short-lived memory leak and potential cross-request data exposure.

Critical Impact

Authentication tokens or sensitive parameters passed as GraphQL variables can be reused across requests, allowing operations to execute under unintended credentials until cache eviction.

Affected Products

  • the-guild GraphQL Mesh 0.96.5
  • the-guild GraphQL Mesh 0.96.6
  • the-guild GraphQL Mesh 0.96.7
  • the-guild GraphQL Mesh 0.96.8

Discovery Timeline

  • 2025-02-20 - CVE-2025-27097 published to NVD
  • 2025-02-27 - Last updated in NVD database

Technical Details for CVE-2025-27097

Vulnerability Analysis

GraphQL Mesh caches parsed DocumentNode instances to avoid re-parsing identical query strings. When transforms are applied at the root level or to a single source, the cached document retains the variable values from the first request that populated the cache entry. Subsequent requests using the same query string but different variables receive the same cached document with the original variable bindings. The runtime executes the operation using stale variables rather than the new ones supplied by the client. The cache only evicts entries through its least recently used (LRU) policy, so the stale binding can persist across many requests.

The issue maps to CWE-400 (Uncontrolled Resource Consumption) and CWE-401 (Missing Release of Memory after Effective Lifetime). The advisory describes a bounded memory leak that grows per distinct operation rather than per request.

Root Cause

The transform pipeline binds variables to the cached DocumentNode instead of treating variables as request-scoped inputs. The cache key incorporates the operation but not the variable set, so different variable payloads collide on the same cached entry.

Attack Vector

Exploitation requires network access to a GraphQL Mesh endpoint and authenticated client interaction. An authenticated user submitting an operation that another client previously executed can receive responses processed under the previous client's variable values, including any token passed through variables. The condition is triggered by normal client traffic and does not require crafted payloads.

The vulnerability is a GraphQL API logic flaw. No exploitation code or public proof-of-concept is referenced in the advisory.

Detection Methods for CVE-2025-27097

Indicators of Compromise

  • Unexpected access to data that does not match the authenticated principal's token, observed in audit logs of upstream services fronted by GraphQL Mesh.
  • Sustained heap growth in GraphQL Mesh Node.js processes correlated with high cardinality of distinct operations.
  • Backend services receiving requests with tokens that do not match the originating client session.

Detection Strategies

  • Inventory deployed GraphQL Mesh installations and compare versions against the affected range 0.96.5 through 0.96.8.
  • Inspect mesh configuration files for root-level transforms or single-source transforms, which are the configurations that trigger the unsafe caching path.
  • Correlate GraphQL operation logs with upstream authentication logs to identify requests executing under the wrong token.

Monitoring Recommendations

  • Enable structured logging on the gateway and forward GraphQL operation traces, variable hashes, and resolved identity claims to a centralized analytics platform.
  • Track Node.js process memory metrics for gateways using transforms and alert on monotonic growth between LRU eviction cycles.
  • Audit upstream service logs for token reuse anomalies across distinct client sessions.

How to Mitigate CVE-2025-27097

Immediate Actions Required

  • Upgrade GraphQL Mesh to a release later than 0.96.8 that includes the fix referenced in the GitHub Security Advisory.
  • Stop passing authentication tokens, session identifiers, or tenant identifiers through GraphQL variables. Pass them in HTTP headers handled outside the cached DocumentNode scope.
  • Review and tighten root-level and single-source transform configurations until the patched version is deployed.

Patch Information

The vendor published remediation guidance in the GraphQL Mesh GitHub Security Advisory GHSA-rr4x-crhf-8886. Upgrade to a fixed release and validate that transforms operate against request-scoped variables after deployment.

Workarounds

  • Remove root-level transforms and consolidate transforms into per-resolver or per-subgraph scopes that do not share the affected cache path.
  • Move sensitive values from GraphQL variables into HTTP headers and propagate them via context rather than through cached document parameters.
  • Reduce the LRU cache size to shorten the window during which stale variable bindings persist, accepting the parsing cost as a temporary trade-off.
bash
# Upgrade GraphQL Mesh to a patched release
npm install @graphql-mesh/serve-cli@latest
npm ls | grep graphql-mesh

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

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGraphql Mesh

  • SeverityMEDIUM

  • CVSS Score5.1

  • EPSS Probability0.41%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityLow
  • AvailabilityLow
  • CWE References
  • CWE-400

  • CWE-401
  • Vendor Resources
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2025-27098: GraphQL Mesh CLI Path Traversal Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

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.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English