NetSight
critical9.0

CVE-2025-27407

graphql allows remote code execution when loading a crafted GraphQL schema

Impact

# Summary Loading a malicious schema definition in `GraphQL::Schema.from_introspection` (or `GraphQL::Schema::Loader.load`) can result in remote code execution. Any system which loads a schema by JSON from an untrusted source is vulnerable, including those that use [GraphQL::Client](https://github.com/github-community-projects/graphql-client) to load external schemas via GraphQL introspection.

Affected packages

EcosystemPackageAffectedFixed in
rubygemsgraphql>= 2.4.0, < 2.4.132.4.13

Weakness classification

References