Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2025-27407

CRITICAL 9.1EPSS 89%

Remote code execution when loading a crafted GraphQL schema

Also known as GHSA-q92j-grw3-h492

Mitigation

  • Upgrade graphql to one of 2.4.13, 2.3.21, 2.2.17, 2.1.15, 2.0.32, 1.13.24, 1.12.25, 1.11.11 (or later in the same release line).

Who should check

  • Projects that depend on RubyGems package graphql (>= 2.4.0, < 2.4.13)
  • Anyone running 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

Vulnerability facts

Affected
graphql >= 2.4.0, < 2.4.13
Fixed in
2.4.13, 2.3.21, 2.2.17, 2.1.15, 2.0.32, 1.13.24, 1.12.25, 1.11.11
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Remote, no login needed
CVSS
9.1 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: High
  • Privileges required: None
  • User interaction: None
  • Scope: Changed (impact reaches other components)
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
3.25% chance of exploitation in 30 days (percentile 89, 2026-11-26)
CWE
CWE-94
Published
Modified

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.

Affected and fixed versions

Package / productAffectedFixedSource
RubyGems graphql>= 2.4.0, < 2.4.132.4.13, 2.3.21, 2.2.17, 2.1.15, 2.0.32, 1.13.24, 1.12.25, 1.11.11osv
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—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2025-27407. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-27407.md
Affected: graphql >= 2.4.0, < 2.4.13
Fixed in: 2.4.13, 2.3.21, 2.2.17, 2.1.15, 2.0.32, 1.13.24, 1.12.25, 1.11.11

Steps:
1. Search this machine and project for graphql (RubyGems), rmosolgo graphql-ruby: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2025-27407 being exploited?

There is no confirmed exploitation: CVE-2025-27407 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 3.25% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2025-27407?

Critical: CVSS 9.1 (v3.1, scored by CNA). Remote, no login needed. The attack needs conditions outside the attacker's control, which makes it harder.

Which versions are affected by CVE-2025-27407?

graphql >= 2.4.0, < 2.4.13.

Is there a fix for CVE-2025-27407?

Yes. Fixed in 2.4.13, 2.3.21, 2.2.17, 2.1.15, 2.0.32, 1.13.24, 1.12.25, 1.11.11. Upgrade graphql to one of 2.4.13, 2.3.21, 2.2.17, 2.1.15, 2.0.32, 1.13.24, 1.12.25, 1.11.11 (or later in the same release line).

How do I check if I'm affected by CVE-2025-27407?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors