CVE-2026-35211: CWE-94: Improper Control of Generation of Code ('Code Injection') in OpenCTI-Platform opencti
OpenCTI versions prior to 7.260401.0 contain a vulnerability in the GraphQL API where authenticated users with the KNOWLEDGE capability can supply Elasticsearch Painless scripts directly into search queries without validation. This allows execution of computationally expensive scripts that can degrade or deny service by consuming cluster CPU resources. The issue is fixed in version 7.260401.0.
AI Analysis
Technical Summary
CVE-2026-35211 is a code injection vulnerability (CWE-94) in the OpenCTI-Platform's opencti product. The GraphQL API exposes a script filter operator in its FilterOperator enum that permits authenticated users with the KNOWLEDGE capability to inject user-supplied Elasticsearch Painless scripts into search queries without validation or sanitization. This can lead to denial of service by exhausting CPU resources on the cluster. The vulnerability affects all versions prior to 7.260401.0 and is addressed in that version.
Potential Impact
The vulnerability does not impact confidentiality or integrity but allows denial of service (availability impact) by enabling attackers to run computationally expensive scripts that consume excessive CPU resources on the Elasticsearch cluster, potentially degrading or denying service for all users.
Mitigation Recommendations
Upgrade OpenCTI to version 7.260401.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgraded, restrict the KNOWLEDGE capability to trusted users only to reduce risk.
CVE-2026-35211: CWE-94: Improper Control of Generation of Code ('Code Injection') in OpenCTI-Platform opencti
Description
OpenCTI versions prior to 7.260401.0 contain a vulnerability in the GraphQL API where authenticated users with the KNOWLEDGE capability can supply Elasticsearch Painless scripts directly into search queries without validation. This allows execution of computationally expensive scripts that can degrade or deny service by consuming cluster CPU resources. The issue is fixed in version 7.260401.0.
CVSS v3.1
Score 6.5medium
Affected software
pkg:github/opencti-platform/openctiRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-35211 is a code injection vulnerability (CWE-94) in the OpenCTI-Platform's opencti product. The GraphQL API exposes a script filter operator in its FilterOperator enum that permits authenticated users with the KNOWLEDGE capability to inject user-supplied Elasticsearch Painless scripts into search queries without validation or sanitization. This can lead to denial of service by exhausting CPU resources on the cluster. The vulnerability affects all versions prior to 7.260401.0 and is addressed in that version.
Potential Impact
The vulnerability does not impact confidentiality or integrity but allows denial of service (availability impact) by enabling attackers to run computationally expensive scripts that consume excessive CPU resources on the Elasticsearch cluster, potentially degrading or denying service for all users.
Mitigation Recommendations
Upgrade OpenCTI to version 7.260401.0 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Until upgraded, restrict the KNOWLEDGE capability to trusted users only to reduce risk.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-01T18:48:58.937Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4ebdf5c9d9e3dbe3bf8af4
Added to database: 07/08/2026, 21:15:33 UTC
Last enriched: 07/08/2026, 21:29:21 UTC
Last updated: 07/09/2026, 02:00:31 UTC
Views: 9
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.