CVE-2024-37155: Security Bypass in OpenCTI GraphQL Introspection via Whitespace and Control Character Manipulation
Vulnerability ID: CVE-2024-37155
CVSS Score: 6.5
Published: 2026-06-22
OpenCTI versions prior to 6.1.9 fail to properly restrict GraphQL schema introspection queries due to a weak pattern-matching implementation. An unauthenticated attacker can bypass the introspection block list by stripping whitespace and carriage returns, enabling complete reconnaissance of the GraphQL schema.
TL;DR
A flaw in OpenCTI's custom validation plugin allows unauthenticated attackers to bypass GraphQL schema introspection restrictions by modifying whitespaces and control characters, exposing the full database schema.
⚠️ Exploit Status: POC
Technical Details
- CWE ID: CWE-284
- Attack Vector: Network
- CVSS v3.1 Score: 6.5
- EPSS Score: 0.00442
- Impact: Partial Confidentiality, Partial Availability
- Exploit Status: poc
- KEV Status: Not Listed
Affected Systems
- OpenCTI Platform (backend GraphQL service)
-
opencti: < 6.1.9 (Fixed in:
6.1.9)
Code Analysis
Commit: f87d969
[backend] Improve control of graphql schema introspection
Mitigation Strategies
- Upgrade OpenCTI instance to version 6.1.9 or newer.
- Disable the GraphQL Playground utility by ensuring PLAYGROUND_ENABLED is set to false in the configuration file.
- Deploy WAF rules to inspect and drop incoming unauthenticated GraphQL payloads containing __schema or __type keywords.
Remediation Steps:
- Locate the OpenCTI configuration file (typically conf/conf.json or environment variables).
- Update the container image or application source files to pull version 6.1.9.
- Verify that standard introspection is disabled by running a curl test with the payload containing no whitespace.
- Ensure production deployments utilize AST-based parsing validations to prevent similar syntax-level bypasses.
References
- Vulnerable Source File in OpenCTI Repository
- OpenCTI Official Commit Fix
- CVE-2024-37155 Record on CVE.org
- NVD Vulnerability Details
- Wiz Vulnerability Database Overview
Read the full report for CVE-2024-37155 on our website for more details including interactive diagrams and full exploit analysis.
Top comments (0)