Input validation error in graphql-ruby - #VU130247

 

Input validation error in graphql-ruby - #VU130247

Published: May 6, 2026


Vulnerability identifier: #VU130247
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: N/A
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to the Ruby lexer does not count comment tokens for the purposes of max_query_string_tokens. A remote attacker can pass specially crafted input to the application and perform a denial of service (DoS) attack.


Affected software

graphql-ruby

Remediation

Install updates from vendor's website.

graphql-ruby - addressed in versions 2.3.23, 2.4.18, 2.5.26, 2.6.1

External References

Related Security Bulletins