CVE-2025-27098: Unwanted access to the entire file system vulnerability due to a missing check in `staticFiles` HTTP handler in graphql-mesh
Vulnerability summary
CVE-2025-27098 is a high (CVSS 7.5) vulnerability in ardatan graphql-mesh. EPSS estimates a 0.36% chance of exploitation in the next 30 days, higher than 30.3% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 20-02-2025PublishedVulnerability first disclosed.
- 20-02-2025Last modifiedVulnerability information updated.
Description
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. Missing check vulnerability in the static file handler allows any client to access the files in the server's file system. When `staticFiles` is set in the `serve` settings in the configuration file, the following handler doesn't check if `absolutePath` is still under the directory provided as `staticFiles`. Users have two options to fix vulnerability; 1. Update `@graphql-mesh/cli` to a version higher than `0.82.21`, and if you use `@graphql-mesh/http`, update it to a version higher than `0.3.18` 2. Remove `staticFiles` option from the configuration, and use other solutions to serve static files.
CVSS metrics
3 scores · 3 sources · 1 version- CVE.orgCNA5.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:LDiffers
- OSV · NpmEcosystem advisory · calculated5.8MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:LDiffers
EPSS trend
Probability
0.36%
Chance of exploitation in the next 30 days
Percentile
30%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.36% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundGraphql Mesh
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
@graphql-mesh2 products
- cli≥ 0.78.0, < 0.82.22
- http< 0.3.19
The-guild2 products
- graphql_mesh_cli≥ 0.78.0, < 0.82.22
- graphql_mesh_http< 0.3.19
Ardatan1 product
- graphql-mesh@graphql-mesh/cli: >= 0.78.0, < 0.82.22 | @graphql-mesh/http: < 0.3.19
3 vendors · 5 products
References
5 links- github.com/ardatan/graphql-mesh/security/advisories/GHSA-j2wh-wrv3-4x4gX Refsource CONFIRMWEBExploitVendor Advisory