CVE-2025-27097
The-guild Graphql Mesh vulnerability
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 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.
Affected products
Graphql Mesh. The exact versions are in the references.
What to do now
- Check your exposureFind out whether The-guild Graphql Mesh runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ardatan/graphql-mesh/security/advisories/GHSA-rr4x-crhf-8886 · Vendor Advisory
- github.com/Urigo/graphql-mesh/security/advisories/GHSA-rr4x-crhf-8886
- github.com/Urigo/graphql-mesh/commit/482d813a9f75935024aa77872125d197f5fca3d0
- github.com/Urigo/graphql-mesh/releases/tag/release-1696859949678
- nvd.nist.gov/vuln/detail/CVE-2025-27097
- github.com/advisories/GHSA-rr4x-crhf-8886
- nvd.nist.gov/vuln/detail/CVE-2025-27097
- cve.org/CVERecord?id=CVE-2025-27097
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.