Home / rmosolgo / graphql-ruby / CVE-2025-27407
CVE-2025-27407: is it exploited, and which versions of rmosolgo graphql-ruby are affected and fixed?
CVE-2025-27407 is a code injection (remote code execution) vulnerability in rmosolgo graphql-ruby. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 15:09 UTC). Affected: graphql from 2.4.0 before 2.4.13, graphql from 2.3.0 before 2.3.21, graphql from 2.2.0 before 2.2.17 and 5 more (GitHub advisory GHSA-q92j-grw3-h492). Fixed in 2.4.13, 2.3.21, 2.2.17, 2.1.15 and 2 more (GitHub advisory GHSA-q92j-grw3-h492). Severity: Critical (9.1, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 15:09 UTC, CVE record November 19, 2026, 07:09 UTC and NVD November 19, 2026, 07:22 UTC.
What is CVE-2025-27407?
Remote code execution when loading a crafted GraphQL schema
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.
From the CVE record by GitHub_M, last updated November 3, 2025, 19:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| rmosolgo | graphql-ruby | >= 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 |
As the CVE record by GitHub_M states it, last updated November 3, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| RubyGems | graphql | >= 2.4.0, < 2.4.13 | 2.4.13 | GHSA-q92j-grw3-h492 |
| RubyGems | graphql | >= 2.3.0, < 2.3.21 | 2.3.21 | GHSA-q92j-grw3-h492 |
| RubyGems | graphql | >= 2.2.0, < 2.2.17 | 2.2.17 | GHSA-q92j-grw3-h492 |
| RubyGems | graphql | >= 2.1.0, < 2.1.15 | 2.1.15 | GHSA-q92j-grw3-h492 |
| RubyGems | graphql | >= 2.0.0, < 2.0.32 | 2.0.32 | GHSA-q92j-grw3-h492 |
| RubyGems | graphql | >= 1.13.0, < 1.13.24 | 1.13.24 | GHSA-q92j-grw3-h492 |
| RubyGems | graphql | >= 1.12.0, < 1.12.25 | 1.12.25 | GHSA-q92j-grw3-h492 |
| RubyGems | graphql | >= 1.11.5, < 1.11.11 | 1.11.11 | GHSA-q92j-grw3-h492 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 3, 2025. Summary: graphql allows remote code execution when loading a crafted GraphQL schema.
How severe is CVE-2025-27407?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-27407 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, March 12, 2025)
- EPSS
- 3.10% probability of exploitation activity in the next 30 days, percentile 88.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-94 Improper Control of Generation of Code
Where are the vendor advisories and references?
- https://github.com/rmosolgo/graphql-ruby/security/advisories/GHSA-q92j-grw3-h492 x_refsource_CONFIRM
- https://github.com/rmosolgo/graphql-ruby/commit/28233b16c0eb9d0fb7808f4980e061dc7507c4cd x_refsource_MISC
- https://github.com/rmosolgo/graphql-ruby/commit/2d2f4ed1f79472f8eed29c864b039649e1de238f x_refsource_MISC
- https://github.com/rmosolgo/graphql-ruby/commit/5c5a7b9a9bdce143be048074aea50edb7bb747be x_refsource_MISC
- https://github.com/rmosolgo/graphql-ruby/commit/6eca16b9fa553aa957099a30dbde64ddcdac52ca x_refsource_MISC
- https://github.com/rmosolgo/graphql-ruby/commit/d0963289e0dab4ea893bbecf12bb7d89294957bb x_refsource_MISC
- https://github.com/rmosolgo/graphql-ruby/commit/d1117ae0361d9ed67e0795b07f5c3e98e62f3c7c x_refsource_MISC
- https://github.com/rmosolgo/graphql-ruby/commit/e3b33ace05391da2871c75ab4d3b66e29133b367 x_refsource_MISC
- https://about.gitlab.com/releases/2025/03/12/patch-release-gitlab-17-9-2-released x_refsource_MISC
- https://github.com/github-community-projects/graphql-client x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2025/08/msg00002.html
When was it published, and where is the official record?
- Reserved
- February 24, 2025
- Published
- March 12, 2025, 18:15 UTC
- CVE record updated
- November 3, 2025, 19:45 UTC by GitHub_M
- NVD
- Deferred, last modified June 17, 2026, 09:03 UTC
- Last checked
- CVE list November 19, 2026, 07:09 UTC; NVD November 19, 2026, 07:22 UTC; KEV December 3, 2026, 15:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2025-27407
Is CVE-2025-27407 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 15:09 UTC. FIRST's EPSS gives it a 3.10% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of rmosolgo graphql-ruby are affected by CVE-2025-27407?
graphql from 2.4.0 before 2.4.13, graphql from 2.3.0 before 2.3.21, graphql from 2.2.0 before 2.2.17, graphql from 2.1.0 before 2.1.15, graphql from 2.0.0 before 2.0.32, graphql from 1.13.0 before 1.13.24 and 2 more, per the GitHub advisory GHSA-q92j-grw3-h492. The tables above give every range the sources list.
Which version fixes CVE-2025-27407?
2.4.13, 2.3.21, 2.2.17, 2.1.15, 2.0.32 and 1.13.24, per the GitHub advisory GHSA-q92j-grw3-h492. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-27407?
Critical (9.1, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2025-27407?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.