PoC Monitor
← All CVEs
CVE-2025-27407published 12 Mar 2025 18:15 UTCData: JSON · API

Rmosolgo graphql-ruby

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.

First public PoC 1.1 yearsafter publication · 25 Apr 2026
Public PoCs11 on GitHub
CVSS9.1critical · scored by CNA · CWE-94
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

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

Fixed in 1.11.8, 1.12.25, 1.13.24, 2.0.32, 2.1.14, 2.2.17, 2.3.21

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300+360CVE published12 Mar 2025 · t = 0First public PoC25 Apr 2026 · t+1.1y

First public PoC 1.1 years after publication; not in CISA KEV. First PoC: LoGGGG2402/CVE-2025-27407 (created 25 Apr 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
LoGGGG2402/CVE-2025-27407 25 Apr 2026 +1.1 y 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /users/sign_in

Ports
18080
Seen in
1 repo: LoGGGG2402/CVE-2025-27407
Evidence
LoGGGG2402/CVE-2025-27407/lab.sh:64

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /users/sign_in
(?i)^/users/sign_in(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /users/sign_in
alert http any any -> $HOME_NET [18080] (msg:"GG PoC-Monitor CVE-2025-27407 rmosolgo graphql-ruby exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/users/sign_in"; reference:url,poc.griffinguard.io/cve/CVE-2025-27407; classtype:web-application-attack; sid:9413713; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /users/sign_in
title: rmosolgo graphql-ruby exploit attempt (CVE-2025-27407)
id: gg-pocmon-cve-2025-27407-9413713
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-27407. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-27407
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/users/sign_in'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.27407