Code Injection in graphql-ruby - CVE-2025-27407

 

Code Injection in graphql-ruby - CVE-2025-27407

Published: March 13, 2025 / Updated: April 3, 2025


Vulnerability identifier: #VU105689
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Amber
CVE-ID: CVE-2025-27407
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Robert Mosolgo
Affected software:
graphql-ruby

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation when loading a malicious schema definition in "GraphQL::Schema.from_introspection". A remote attacker can execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


How to mitigate CVE-2025-27407

Install updates from vendor's website.

Sources