Skip to main content

OpenCTI CVE-2026-35211

| EUVDEUVD-2026-42431 MEDIUM
Code Injection (CWE-94)
2026-07-08 security-advisories@github.com
6.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain KNOWLEDGE-capable OpenCTI credentials
  2. Delivery
    Craft GraphQL query using 'script' FilterOperator
  3. Exploit
    Embed computationally expensive Painless script
  4. Execution
    Submit query to OpenCTI GraphQL API
  5. Persist
    Elasticsearch cluster CPU saturated
  6. Impact
    Platform-wide availability denied for all users

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK

2 techniques across 2 tactics: Execution, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires an active, authenticated OpenCTI session with the KNOWLEDGE capability explicitly assigned to the user account - this is the specific RBAC permission that grants access to the 'script' FilterOperator within the GraphQL API's FilterOperator enum. The 'script' operator must be accessible via the GraphQL API, with no indication it is disabled by default in configurations prior to the patch. External attackers must first obtain valid OpenCTI credentials bearing the KNOWLEDGE role. Unauthenticated exploitation is not possible per the CVSS PR:L metric. No non-default configuration is required beyond a standard OpenCTI deployment with an Elasticsearch backend. The key limiting factor is possession of a valid KNOWLEDGE-capable account, making this a meaningful insider threat or compromised-credential scenario rather than an opportunistic external attack.

Impact

The CVSS 3.1 base score of 6.5 (Medium) reflects a network-reachable (AV:N), low-complexity (AC:L) attack requiring only low-privilege authentication (PR:L - the KNOWLEDGE role). The C:N/I:N/A:H impact profile confirms that risk is exclusively availability-focused, with no path to data theft or integrity violation confirmed by available data. No EPSS score was provided in the input, and the vulnerability is absent from the CISA KEV catalog, indicating no confirmed active exploitation at time of analysis. The 'RCE' tag in the source intelligence is inconsistent with the CVSS C:N/I:N metrics and the CVE description's explicit framing of CPU exhaustion as the impact - defenders should not treat this as an RCE risk without independent verification. Real-world priority is highest for multi-tenant OpenCTI deployments or organizations where insider threat or compromised low-privilege credentials are concerns, since any KNOWLEDGE-capable user can trigger platform-wide DoS. The highly specialized user base of a threat intelligence platform means external attackers must first compromise valid credentials, partially offsetting the otherwise straightforward attack path.

Exploit ScenarioDerived

An authenticated OpenCTI user assigned the KNOWLEDGE capability submits a GraphQL search query using the 'script' FilterOperator, embedding a Painless script containing a computationally expensive loop or heavy aggregation targeting the Elasticsearch cluster. The cluster's CPU threads are consumed by the script execution, causing query timeouts and platform-wide service degradation for all concurrent OpenCTI users. No public exploit code is confirmed at time of analysis, but the attack is straightforward to construct from knowledge of OpenCTI's GraphQL schema and Painless scripting documentation.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 08, 2026

Elasticsearch Painless script injection via OpenCTI's GraphQL API allows any authenticated user holding the KNOWLEDGE capability to submit computationally expensive, unvalidated scripts that saturate Elasticsearch cluster CPU, degrading or denying service for the entire platform. All OpenCTI deployments prior to version 7.260401.0 are affected, with the vulnerability residing in the exposed 'script' FilterOperator of the GraphQL API. No public exploit code or CISA KEV listing is confirmed at time of analysis; a vendor-released patch is available in version 7.260401.0.

RemediationAI

Upgrade to OpenCTI version 7.260401.0, the vendor-confirmed fix, available at https://github.com/OpenCTI-Platform/opencti/releases/tag/7.260401.0. The specific fix is implemented in pull request https://github.com/OpenCTI-Platform/opencti/pull/15284 and commit https://github.com/OpenCTI-Platform/opencti/commit/b134ccedf9e68386723cb42197f8e1d60c3bdbd9. If immediate upgrade is not feasible, restrict the KNOWLEDGE capability to the minimum set of trusted user accounts via OpenCTI's RBAC configuration, reducing the attack surface to highly trusted identities only - this trade-off limits self-service threat intelligence querying for regular analysts. Additionally, configuring Elasticsearch cluster-level script circuit breakers (e.g., CPU time and memory limits for Painless execution via Elasticsearch's scripting resource controls) may reduce blast radius but does not eliminate the injection path and may degrade legitimate complex search functionality.

Affected VersionsENISA

opencti < 7.260401.0

Affected Packages

pypi pycti fix: 7.260401.0
euvd opencti fix: 7.260401.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

OpenCTI is an open-source cyber threat intelligence management platform backed by Elasticsearch for knowledge graph storage and search. Its GraphQL API exposes a FilterOperator enum that includes a 'script' operator, which accepts user-supplied Elasticsearch Painless script strings and forwards them directly into Elasticsearch search queries without any input validation or sanitization. Painless is Elasticsearch's native sandboxed scripting language designed to prevent host-level code execution; however, it permits arbitrarily complex computations - heavy loops, nested aggregations - that can monopolize Elasticsearch cluster CPU threads and starve all concurrent queries. CWE-94 (Improper Control of Generation of Code / Code Injection) captures the root cause: user-controlled input is embedded directly into an executable scripting context without neutralization. The CVSS impact profile (C:N/I:N/A:H) is consistent with Painless sandbox containment - the confirmed exploitable impact is availability degradation, not data exfiltration or OS-level command execution. The 'RCE' tag in the source intelligence data reflects the CWE-94 injection class and should not be treated as confirmed remote code execution absent further evidence.

Know when Opencti gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 6.5 MEDIUM

Network-reachable GraphQL API requires low-privilege authenticated KNOWLEDGE role; pure availability impact via CPU exhaustion with no confidentiality or integrity impact confirmed.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

1
Patch available
Jul 08, 2026 - 22:04 EUVD

DescriptionCVE.org

OpenCTI is an open source platform for managing cyber threat intelligence knowledge and observables. Prior to 7.260401.0, the OpenCTI GraphQL API exposes a script filter operator in its FilterOperator enum that allows any authenticated user with the KNOWLEDGE capability to pass user-supplied Elasticsearch Painless script values directly into search queries without validation or sanitization, allowing computationally expensive scripts to consume cluster CPU resources and degrade or deny service for all users. This issue is fixed in version 7.260401.0.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
specialized threat intelligence platform used in enterprise SOCs
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.

CVE-2026-27960 CRITICAL POC
9.8 May 05

Unauthenticated attackers can escalate privileges in OpenCTI 6.6.0-6.9.12 by impersonating any user account, including t

CVE-2026-39980 CRITICAL POC
9.1 Apr 09

Server-Side Template Injection in OpenCTI notifier templates allows privileged administrators with 'Manage customization

CVE-2020-37041 HIGH POC
7.5 Jan 30

OpenCTI 3.3.1 is vulnerable to a directory traversal attack via the static/css endpoint. An unauthenticated attacker can

CVE-2020-37044 MEDIUM POC
5.4 Jan 30

OpenCTI 3.3.1 is vulnerable to a reflected cross-site scripting (XSS) attack via the /graphql endpoint. An attacker can

CVE-2025-24977 CRITICAL
9.1 May 05

OpenCTI is an open cyber threat intelligence (CTI) platform. Rated critical severity (CVSS 9.1), this vulnerability is r

CVE-2025-61781 CRITICAL
9.1 Jan 05

Authenticated attackers can delete arbitrary workspaces in OpenCTI versions prior to 6.8.1 due to missing ownership chec

CVE-2024-45404 HIGH
8.1 Dec 12

OpenCTI is an open-source cyber threat intelligence platform. Rated high severity (CVSS 8.1), this vulnerability is remo

CVE-2024-26139 HIGH
8.1 May 23

OpenCTI is an open source platform allowing organizations to manage their cyber threat intelligence knowledge and observ

CVE-2022-30290 HIGH
7.5 Jul 05

In OpenCTI through 5.2.4, a broken access control vulnerability has been identified in the profile endpoint. Rated high

CVE-2026-44730 HIGH
7.2 May 26

Privilege escalation in OpenCTI prior to 6.9.7 allows an organization admin to gain elevated platform-wide privileges by

CVE-2026-35210 HIGH
7.1 Jul 08

Authorization bypass in OpenCTI prior to version 7.260326.0 lets any authenticated user holding the KNOWLEDGE_KNUPDATE p

CVE-2026-21886 MEDIUM
6.5 Mar 17

OpenCTI versions prior to 6.9.1 contain an authorization bypass vulnerability in the GraphQL mutation 'IndividualDeletio

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy