{"schemaVersion":3,"id":"CVE-2025-27407","aliases":["UBUNTU-CVE-2025-27407","DEBIAN-CVE-2025-27407","DLA-4263-1","GHSA-q92j-grw3-h492"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2025-03-12T18:15:57.957Z","modified":"2025-11-03T19:45:32.739Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.1,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":9.1,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":5.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":5.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Rubygems","score":9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":5.6,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03102,"percentile":0.8759,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.03102},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03102,"percentile":0.8759}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03102,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.03102,"percentile":0.8759}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-94","name":"Improper Control of Generation of Code ('Code Injection')","description":"The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"Medium","url":"https://cwe.mitre.org/data/definitions/94.html"}],"affected":[{"vendor":"debian","product":"ruby-graphql","name":"ruby-graphql","label":"ruby-graphql","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/ruby-graphql","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null},{"text":"< 2.2.17-1","noFixRecorded":false,"fixedIn":null},{"text":"< 1.11.12-0+deb11u1","noFixRecorded":false,"fixedIn":null}],"versionsText":"All versions (No fix recorded) | < 2.2.17-1 | < 1.11.12-0+deb11u1","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"ruby-graphql","name":"ruby-graphql","label":"ruby-graphql","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/ruby-graphql","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"graphql","name":"graphql","label":"graphql","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/graphql","purlType":"gem","versions":[{"text":"≥ 2.4.0, < 2.4.13","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.2.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.1.0, < 2.1.15","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.32","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.13.24","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.12.0, < 1.12.25","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.11.5, < 1.11.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.4.0, < 2.4.13 | ≥ 2.3.0, < 2.3.21 | ≥ 2.2.0, < 2.2.17 | ≥ 2.1.0, < 2.1.15 | ≥ 2.0.0, < 2.0.32 | ≥ 1.13.0, < 1.13.24 | ≥ 1.12.0, < 1.12.25 | ≥ 1.11.5, < 1.11.11","eol":null,"hubHref":null},{"vendor":"rmosolgo","product":"graphql-ruby","name":"graphql-ruby","label":"graphql-ruby","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 1.11.5, < 1.11.8","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.12.0, < 1.12.25","noFixRecorded":false,"fixedIn":null},{"text":"≥ 1.13.0, < 1.13.24","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.0.32","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.1.0, < 2.1.14","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.2.0, < 2.2.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.21","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 1.11.5, < 1.11.8 | ≥ 1.12.0, < 1.12.25 | ≥ 1.13.0, < 1.13.24 | ≥ 2.0.0, < 2.0.32 | ≥ 2.1.0, < 2.1.14 | ≥ 2.2.0, < 2.2.17 | ≥ 2.3.0, < 2.3.21","eol":null,"hubHref":"/vendor/rmosolgo/graphql-ruby"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-q92j-grw3-h492","label":"github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-q92j-grw3-h492","hostname":"github.com","tags":["X Refsource CONFIRM","REPORT","WEB"]},{"url":"https://github.com/rmosolgo/graphql-ruby/commit/28233b16c0eb9d0fb7808f4980e061dc7507c4cd","label":"github.com/rmosolgo/graphql-ruby/commit/28233b16c0eb9d0fb7808f4980e061dc7507c4cd","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://github.com/rmosolgo/graphql-ruby/commit/2d2f4ed1f79472f8eed29c864b039649e1de238f","label":"github.com/rmosolgo/graphql-ruby/commit/2d2f4ed1f79472f8eed29c864b039649e1de238f","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://github.com/rmosolgo/graphql-ruby/commit/5c5a7b9a9bdce143be048074aea50edb7bb747be","label":"github.com/rmosolgo/graphql-ruby/commit/5c5a7b9a9bdce143be048074aea50edb7bb747be","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://github.com/rmosolgo/graphql-ruby/commit/6eca16b9fa553aa957099a30dbde64ddcdac52ca","label":"github.com/rmosolgo/graphql-ruby/commit/6eca16b9fa553aa957099a30dbde64ddcdac52ca","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://github.com/rmosolgo/graphql-ruby/commit/d0963289e0dab4ea893bbecf12bb7d89294957bb","label":"github.com/rmosolgo/graphql-ruby/commit/d0963289e0dab4ea893bbecf12bb7d89294957bb","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://github.com/rmosolgo/graphql-ruby/commit/d1117ae0361d9ed67e0795b07f5c3e98e62f3c7c","label":"github.com/rmosolgo/graphql-ruby/commit/d1117ae0361d9ed67e0795b07f5c3e98e62f3c7c","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://github.com/rmosolgo/graphql-ruby/commit/e3b33ace05391da2871c75ab4d3b66e29133b367","label":"github.com/rmosolgo/graphql-ruby/commit/e3b33ace05391da2871c75ab4d3b66e29133b367","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released","label":"about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released","hostname":"about.gitlab.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://github.com/github-community-projects/graphql-client","label":"github.com/github-community-projects/graphql-client","hostname":"github.com","tags":["X Refsource MISC","REPORT","WEB"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/08/msg00002.html","label":"lists.debian.org/debian-lts-announce/2025/08/msg00002.html","hostname":"lists.debian.org","tags":["WEB"]},{"url":"https://ubuntu.com/security/CVE-2025-27407","label":"ubuntu.com/security/CVE-2025-27407","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2025-27407","label":"www.cve.org/CVERecord?id=CVE-2025-27407","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2025-27407","label":"security-tracker.debian.org/tracker/CVE-2025-27407","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27407","label":"nvd.nist.gov/vuln/detail/CVE-2025-27407","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/rmosolgo/graphql-ruby/commit/e58676c70aa695e3052ba1fbc787efee4ba7d67e","label":"github.com/rmosolgo/graphql-ruby/commit/e58676c70aa695e3052ba1fbc787efee4ba7d67e","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/rmosolgo/graphql-ruby","label":"github.com/rmosolgo/graphql-ruby","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/graphql/CVE-2025-27407.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/graphql/CVE-2025-27407.yml","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["RHSA-2025:3490","RHSA-2025:3491","RHSA-2025:3492","RHSA-2025:4576"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2025-03-12T18:15:57.957Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-11-03T19:45:32.739Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T18:32:24.913Z","stale":false,"partial":false}}