Security Resilience

CVE-2025-27097

DoS in The-Guild Graphql Mesh 0.96.5 … 0.96.8

Published
20 February 2025
Modified
27 February 2025
Patch / advisory
CVSS Score v4 5.1
Click a component to see what it means
Raw vectorCVSS: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
EPSS Score 0.0043 38th percentile
Risk Priority 35 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-27097 is a medium-severity Uncontrolled Resource Consumption (CWE-400) vulnerability in The-Guild Graphql Mesh. Its CVSS base score is 5.1 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Endpoint Denial of Service (T1499); ranked at the 38th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.

The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and SC-5 (Denial-of-service Protection) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

CVE-2025-27097 is a vulnerability in GraphQL Mesh, an open-source GraphQL Federation framework and gateway that supports GraphQL Federation and non-GraphQL subgraphs, including REST, gRPC services, and databases like MongoDB, MySQL, and PostgreSQL. The issue arises when users apply transforms at the root level or to a single source, causing the cache to retain initial variables for subsequent identical queries with different variables until the DocumentNode is evicted by the LRU mechanism. This results in later requests reusing the initial variables—such as authentication tokens—regardless of new values provided, alongside a bounded memory leak that grows per unique operation rather than per request. The vulnerability is rated 7.5 on the CVSS 3.1 scale (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) and is associated with CWE-400 (Uncontrolled Resource Consumption) and CWE-401 (Memory Leak).

Any unauthenticated remote attacker with network access can exploit this vulnerability by sending repeated queries with varying variables, such as different authentication tokens, against an affected GraphQL Mesh instance configured with the specified transforms. This forces the cache to apply the initial variables across requests, potentially leading to incorrect token handling and a denial-of-service condition through gradual memory consumption, as the leak accumulates based on distinct operations until LRU eviction occurs.

The official security advisory, published on GitHub at https://github.com/ardatan/graphql-mesh/security/advisories/GHSA-rr4x-crhf-8886, provides details on mitigation steps for this vulnerability. Security practitioners should consult this advisory for patching instructions, workarounds, and affected versions of GraphQL Mesh.

EU & UK References

Vulnerability Data

GraphQL Mesh is a GraphQL Federation framework and gateway for both GraphQL Federation and non-GraphQL Federation subgraphs, non-GraphQL services, such as REST and gRPC, and also databases such as MongoDB, MySQL, and PostgreSQL. When a user transforms on the root…

more

level or single source with transforms, and the client sends the same query with different variables, the initial variables are used in all following requests until the cache evicts DocumentNode. If a token is sent via variables, the following requests will act like the same token is sent even if the following requests have different tokens. This can cause a short memory leak but it won't grow per each request but per different operation until the cache evicts DocumentNode by LRU mechanism.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1499.002 Service Exhaustion Flood Impact
Adversaries may target the different network services provided by systems to conduct a denial of service (DoS).
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2026-53132Shared CWE-400, CWE-401
CVE-2026-119286Shared CWE-400, CWE-401
CVE-2024-7708Shared CWE-400, CWE-401
CVE-2026-69208Shared CWE-400, CWE-401
CVE-2026-56819Shared CWE-400, CWE-401
CVE-2023-41102Shared CWE-400, CWE-401
CVE-2024-8626Shared CWE-400, CWE-401
CVE-2024-24750Shared CWE-400, CWE-401
CVE-2026-56018Shared CWE-400, CWE-401
CVE-2023-2683Shared CWE-400, CWE-401

Affected Assets

the-guild
graphql mesh
0.96.5, 0.96.6, 0.96.7, 0.96.8

Mitigating Controls

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Developer testing and evaluation (static analysis, fuzzing, or runtime leak detection) directly finds missing deallocation.

SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.

SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.

Requiring documented development standards and tools can mandate memory-management disciplines that avoid leaks at introduction.

Engineering principles applied during development can require explicit resource-release patterns that stop memory leaks from being coded.

Process isolation confines resource consumption to separate domains, reducing blast radius without stopping the root flaw.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-06 mostly match
blocks

Secure SDLC practices directly enforce proper memory allocation/deallocation via coding standards, reviews, and tooling.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.

finds

Security testing in development can detect unreleased memory, providing partial coverage of the weakness.

prevents

Training technical teams in secure coding and resource management raises awareness of memory lifetime issues and reduces a minority of memory leaks, but the defect is written in code and the strongest controls are code review, static analysis, and testing (A.8.29), so a nameable remainder of leaks persists even with well-trained developers.

blocks

A.8.20 implements network-level protections (firewalls, segmentation, protocol hardening, monitoring, authentication of systems/devices) that can limit abuse of a resource-consuming weakness but do not stop the weakness from being exploitable; the flaw remains present in the product and can still be triggered from an authorized or internal context.

prevents

Secure coding standards directly require proper allocation/deallocation, covering most of this weakness.

prevents

A.8.30 carries its effect through the secure-development practices (8.25–8.29) its contract requires of the supplier, and secure coding practice reduces memory leaks the way it reduces other implementation defects — a real but minority effect, capped at the clause's declared ceiling of `partial`.

Hardening callouts derived

DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.

  • No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.

References