CVE-2024-37155: Pycti OpenCTI May Bypass Introspection Restriction Vulnerability

MODERATE
Advisory Identifier: GHSA-4mvw-j8r9-xcgc
CVSS 6.5
CWE-284
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2024-37155
GHSA Identifier GHSA-4mvw-j8r9-xcgc
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-284: Improper Access Control
Affected Product Pycti
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity None (I:N)
Availability Low (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.

pycti fixed: 6.1.9
pip install pycti>=6.1.9
Verify Direct and Transitive Dependencies

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

### Summary The regex validation used to prevent Introspection queries can be bypassed by removing the extra whitespace, carriage return, and line feed characters from the query. ### Details GraphQL Queries in OpenCTI can be validated using the `secureIntrospectionPlugin`. ### Impact Bypassing 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.

CVE-2024-37155 Affected Pycti Versions

1 component(s)
Fixed Versions:
6.1.9
Product / Package Ecosystem Affected Versions Fixed Version
pycti
PyPI
< 6.1.9
6.1.9

References

Frequently Asked Questions

What is CVE-2024-37155?
CVE-2024-37155 is a security vulnerability in Pycti involving OpenCTI May Bypass Introspection Restriction under CWE-284: Improper Access Control.
Which Pycti versions are affected?
Affected versions include releases prior to 6.1.9 across affected packages: pycti.
What version fixes CVE-2024-37155?
Upgrading to 6.1.9 (or the latest patched release for your respective branch) resolves the vulnerability.
Is pycti affected?
Yes, pycti is affected in releases prior to 6.1.9. Upgrade your dependency to 6.1.9 or later.
What is the CVSS score of CVE-2024-37155?
CVE-2024-37155 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L.
What CWE is associated with CVE-2024-37155?
CVE-2024-37155 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check PyPI dependencies for CVE-2024-37155?
Run the dependency tree command: 'pip show pycti'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}