# CVE-2026-35211: Filigran OpenCTI Code Injection in GraphQL API

Source: https://junglewise.ai/threats/cve-2026-35211-filigran-opencti-code-injection-in-graphql-api  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-08. Updated: 2026-07-08  
License: CC BY 4.0 with a link back

CVE-2026-35211 · Severity: medium · CVSS 6.5 · Published 2026-07-08

OpenCTI is an open-source platform used by organizations to manage and analyze cyber threat intelligence. A security flaw in its search interface allows authorized users to run complex, unoptimized scripts on the underlying database server. An attacker could use this to overwhelm the system's processor, causing the platform to become slow or completely unavailable for all other users.

Technologies: [pycti (PyPI)](https://junglewise.ai/threats/technologies/pycti). Vendors: [PyPI](https://junglewise.ai/threats/vendors/pypi).

## Quick answers

**Is CVE-2026-35211 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-35211 being exploited in the wild.

**How severe is CVE-2026-35211?** Medium severity, with a CVSS score of 6.5, published 8 July 2026.

**Which products and versions are affected?** pycti (PyPI) ECOSYSTEM:introduced=0,fixed=7.260401.0.

**Is there a fix for CVE-2026-35211?** Yes. pycti (PyPI): upgrade to 7.260401.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-35211 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-35211?** Check whether you run pycti (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- pycti (PyPI): upgrade to 7.260401.0 or later

  ```sh
  pip install "pycti>=7.260401.0"
  ```


## Technical details

A code injection vulnerability exists in the OpenCTI GraphQL API due to improper neutralization of user-supplied input in the FilterOperator enum. Authenticated users with the 'KNOWLEDGE' capability can provide arbitrary Elasticsearch Painless scripts via the 'script' filter operator. Because these scripts are passed to the Elasticsearch backend without validation or sanitization, an attacker can execute computationally intensive operations, such as infinite loops. This results in a Denial of Service (DoS) by exhausting cluster CPU resources. The issue is resolved in version 7.260401.0 by removing the script filter from the public API by default.

## Affected products

- Filigran OpenCTI < 7.260401.0

## Identifiers

- CVE-2026-35211
- PYSEC-2026-3446

## Timeline

- 2026-03-31: patched: Fix committed to backend to move script usage to internal_script
- 2026-04-01: advisory: Release 7.260401.0 published
- 2026-07-01: disclosed: GitHub Security Advisory published
- 2026-07-08: advisory: NVD published CVE-2026-35211

## References

- [https://github.com/OpenCTI-Platform/opencti/commit/b134ccedf9e68386723cb42197f8e1d60c3bdbd9](https://github.com/OpenCTI-Platform/opencti/commit/b134ccedf9e68386723cb42197f8e1d60c3bdbd9)
- [https://github.com/OpenCTI-Platform/opencti/pull/15284](https://github.com/OpenCTI-Platform/opencti/pull/15284)
- [https://github.com/OpenCTI-Platform/opencti/releases/tag/7.260401.0](https://github.com/OpenCTI-Platform/opencti/releases/tag/7.260401.0)
- [https://github.com/OpenCTI-Platform/opencti/security/advisories/GHSA-qpp6-p693-rmm4](https://github.com/OpenCTI-Platform/opencti/security/advisories/GHSA-qpp6-p693-rmm4)

## Related threats

- [Filigran OpenCTI authorization bypass via synchronized-upsert header](https://junglewise.ai/threats/cve-2026-35210-filigran-opencti-authorization-bypass-via-synchronized-upsert)
- [OpenCTI SSRF in Data Ingestion Feature](https://junglewise.ai/threats/cve-2026-21887-opencti-ssrf-in-data-ingestion-feature)
- [OpenCTI GraphQL introspection restriction bypass](https://junglewise.ai/threats/cve-2024-37155-opencti-graphql-introspection-restriction-bypass)
- [OpenCTI XSS in email-message observable body rendering](https://junglewise.ai/threats/cve-2026-35212-opencti-xss-in-email-message-observable-body-rendering)
- [OpenCTI privilege escalation in userEdit relationAdd](https://junglewise.ai/threats/cve-2026-44730-opencti-privilege-escalation-in-useredit-relationadd)
