{"cve":"CVE-2025-27407","nvd":{"published":"2025-03-12T19:15:40.597","modified":"2026-06-17T09:03:31.773","status":"Deferred","description":"graphql-ruby is a Ruby implementation of GraphQL. Starting in version 1.11.5 and prior to versions 1.11.8, 1.12.25, 1.13.24, 2.0.32, 2.1.14, 2.2.17, and 2.3.21, 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 to load external schemas via GraphQL introspection. Versions 1.11.8, 1.12.25, 1.13.24, 2.0.32, 2.1.14, 2.2.17, and 2.3.21 contain a patch for the issue.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.0},"cwes":["CWE-94"],"references":["https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released","https://github.com/github-community-projects/graphql-client","https://github.com/rmosolgo/graphql-ruby/commit/28233b16c0eb9d0fb7808f4980e061dc7507c4cd","https://github.com/rmosolgo/graphql-ruby/commit/2d2f4ed1f79472f8eed29c864b039649e1de238f","https://github.com/rmosolgo/graphql-ruby/commit/5c5a7b9a9bdce143be048074aea50edb7bb747be"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:00:17.429720821+00:00"},"epss":{"cve":"CVE-2025-27407","score":0.03102,"percentile":0.87761,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GHSA-q92j-grw3-h492","url":"https://osv.dev/vulnerability/GHSA-q92j-grw3-h492","summary":"graphql allows remote code execution when loading a crafted GraphQL schema","modified":"2025-11-03T21:56:26.343569Z","packages":[{"ecosystem":"RubyGems","name":"graphql","purl":"pkg:gem/graphql","ranges":[">=2.4.0 <2.4.13"],"fixed":["2.4.13"]},{"ecosystem":"RubyGems","name":"graphql","purl":"pkg:gem/graphql","ranges":[">=2.3.0 <2.3.21"],"fixed":["2.3.21"]},{"ecosystem":"RubyGems","name":"graphql","purl":"pkg:gem/graphql","ranges":[">=2.2.0 <2.2.17"],"fixed":["2.2.17"]},{"ecosystem":"RubyGems","name":"graphql","purl":"pkg:gem/graphql","ranges":[">=2.1.0 <2.1.15"],"fixed":["2.1.15"]},{"ecosystem":"RubyGems","name":"graphql","purl":"pkg:gem/graphql","ranges":[">=2.0.0 <2.0.32"],"fixed":["2.0.32"]},{"ecosystem":"RubyGems","name":"graphql","purl":"pkg:gem/graphql","ranges":[">=1.13.0 <1.13.24"],"fixed":["1.13.24"]},{"ecosystem":"RubyGems","name":"graphql","purl":"pkg:gem/graphql","ranges":[">=1.12.0 <1.12.25"],"fixed":["1.12.25"]},{"ecosystem":"RubyGems","name":"graphql","purl":"pkg:gem/graphql","ranges":[">=1.11.5 <1.11.11"],"fixed":["1.11.11"]}]}],"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."]}