CVE-2024-37155: Pycti OpenCTI May Bypass Introspection Restriction Vulnerability
MODERATECVE-2024-37155 is a MODERATE (CVSS 6.5) opencti may bypass introspection restriction vulnerability (CWE-284: Improper Access Control) affecting Pycti libraries in the PyPI ecosystem. The issue involves opencti may bypass introspection restriction. Remediation is available by upgrading affected packages to version 6.1.9.
CVE-2024-37155 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L).
How to Fix CVE-2024-37155
To remediate this vulnerability, upgrade all affected Pycti dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install pycti>=6.1.9
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show pycti
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2024-37155, inspect your installed packages using pip:
pip show pycti
Analyze the terminal output to locate any version of Pycti in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 6.1.9), your application is affected.
Note: The pip show pycti command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Pycti, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2024-37155 Affected Pycti Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
pycti
|
PyPI |
< 6.1.9
|
6.1.9
|
References
Frequently Asked Questions
What is CVE-2024-37155?
Which Pycti versions are affected?
What version fixes CVE-2024-37155?
Is pycti affected?
What is the CVSS score of CVE-2024-37155?
What CWE is associated with CVE-2024-37155?
How can I check PyPI dependencies for CVE-2024-37155?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-4mvw-j8r9-xcgc",
"modified" : "2026-06-22T16:43:24Z",
"published" : "2026-06-22T16:43:24Z",
"aliases" : [ "CVE-2024-37155" ],
"summary" : "OpenCTI May Bypass Introspection Restriction",
"details" : "### Summary\n\nThe regex validation used to prevent Introspection queries can be bypassed by removing the extra whitespace, carriage return, and line feed characters from the query.\n\n### Details\n\nGraphQL Queries in OpenCTI can be validated using the `secureIntrospectionPlugin`.\n\n### Impact\nBypassing this restriction allows the attacker to gather a wealth of information about the GraphQL endpoint functionality that can be used to perform actions and/or read data without authorization. These queries can also be weaponized to conduct a Denial of Service (DoS) attack if sent repeatedly.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "pycti"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "6.1.9"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/OpenCTI-Platform/opencti/security/advisories/GHSA-4mvw-j8r9-xcgc"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2024-37155"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenCTI-Platform/opencti/commit/f87d96918c63b0c3d3ebfbea6c789d48e2f56ad5"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/OpenCTI-Platform/opencti"
}, {
"type" : "WEB",
"url" : "https://github.com/OpenCTI-Platform/opencti/blob/6343b82b0b0a5d3ded3b30d08ce282328a556268/opencti-platform/opencti-graphql/src/graphql/graphql.js#L83-L94"
}, {
"type" : "WEB",
"url" : "https://github.com/pypa/advisory-database/tree/main/vulns/pycti/PYSEC-2024-313.yaml"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-284" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-06-22T16:43:24Z",
"nvd_published_at" : "2024-11-18T15:15:06Z"
}
}