Live threats

All CVEs / rmosolgo

CVE-2025-27407rmosolgo graphql-ruby

Critical 9.0 No auth needed

Priority
69
CVSS 3.1
9.0
EPSS
—
Auth required
No
Published
Mar 12, 2025
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-94
SSVC (CISA)
Exploitation: none · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for graphql-ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems graphql ≥ 2.4.0 < 2.4.13 2.4.13 gem "graphql", ">= 2.4.13"
RubyGems graphql ≥ 2.3.0 < 2.3.21 2.3.21 gem "graphql", ">= 2.3.21"
RubyGems graphql ≥ 2.2.0 < 2.2.17 2.2.17 gem "graphql", ">= 2.2.17"
RubyGems graphql ≥ 2.1.0 < 2.1.15 2.1.15 gem "graphql", ">= 2.1.15"
RubyGems graphql ≥ 2.0.0 < 2.0.32 2.0.32 gem "graphql", ">= 2.0.32"
RubyGems graphql ≥ 1.13.0 < 1.13.24 1.13.24 gem "graphql", ">= 1.13.24"
RubyGems graphql ≥ 1.12.0 < 1.12.25 1.12.25 gem "graphql", ">= 1.12.25"
RubyGems graphql ≥ 1.11.5 < 1.11.11 1.11.11 gem "graphql", ">= 1.11.11"

Per OSV / GitHub Advisories (GHSA-q92j-grw3-h492). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.