{"cve":"CVE-2025-27098","nvd":{"published":"2025-02-20T21:15:26.370","modified":"2026-06-17T09:03:01.720","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","score":7.5},"cwes":["CWE-22"],"references":["https://github.com/ardatan/graphql-mesh/security/advisories/GHSA-j2wh-wrv3-4x4g"],"products":["the-guild:graphql_mesh_cli","the-guild:graphql_mesh_http"],"source":"nvd","synced_at":"2026-10-19T21:59:18.731010617+00:00"},"epss":{"cve":"CVE-2025-27098","score":0.00364,"percentile":0.30278,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-j2wh-wrv3-4x4g","url":"https://osv.dev/vulnerability/GHSA-j2wh-wrv3-4x4g","summary":"Unwanted access to the entire file system vulnerability due to a missing check in `staticFiles` HTTP handler","modified":"2025-02-20T23:12:14.649413Z","packages":[{"ecosystem":"npm","name":"@graphql-mesh/cli","purl":"pkg:npm/%40graphql-mesh/cli","ranges":[">=0.78.0 <0.82.22"],"fixed":["0.82.22"]},{"ecosystem":"npm","name":"@graphql-mesh/http","purl":"pkg:npm/%40graphql-mesh/http","ranges":["<0.3.19"],"fixed":["0.3.19"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}