PT-2023-36349 · Unknown · @Graphql-Mesh/Cli+1
Ardatan
·
Published
2023-02-16
·
Updated
2025-02-20
·
CVE-2025-27098
CVSS v3.1
7.5
High
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
@graphql-mesh/cli versions prior to 0.82.21
@graphql-mesh/http versions prior to 0.3.18
Description
A missing check vulnerability in the static file handler allows any client to access files in the server's file system. When
staticFiles is set in the serve settings in the configuration file, the handler doesn't check if absolutePath is still under the directory provided as staticFiles. This issue affects GraphQL Mesh, a framework and gateway for GraphQL Federation and non-GraphQL Federation subgraphs, non-GraphQL services, and databases.Recommendations
- Update
@graphql-mesh/clito a version higher than 0.82.21. - If using
@graphql-mesh/http, update it to a version higher than 0.3.18. - Remove the
staticFilesoption from the configuration and use other solutions to serve static files.
Exploit
Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
@Graphql-Mesh/Cli
@Graphql-Mesh/Http