Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCompromise admin account
-
DeliveryAccess notifier settings
-
ExploitInject malicious EJS template
-
ExecutionPlatform processes template
-
PersistExecute arbitrary JavaScript
-
ImpactAccess sensitive CTI data
Vulnerability Assessment
| Weakness |
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
|
| Exploitation Conditions | Requires authenticated access with High privileges (PR:H) specifically holding the 'Manage customization' capability in OpenCTI. This permission allows creation and modification of notifier templates, which are processed by the vulnerable safeEjs.ts module. Default OpenCTI deployments typically restrict customization capabilities to administrator roles, not standard analysts or connectors. Exploitation is NOT possible by unauthenticated attackers, low-privilege users, or API clients without this specific capability. Attack complexity is Low (AC:L) once the privilege prerequisite is met-no special timing, race conditions, or environmental factors required beyond the capability permission. Organizations that have delegated customization rights to non-administrator roles face significantly higher realistic risk than those maintaining strict admin-only customization controls. |
| Impact | Despite the CVSS 9.1 Critical score, real-world risk is constrained by strict prerequisite conditions. CVSS vector indicates Network attack vector (AV:N) but requires High privileges (PR:H) with the specific 'Manage customization' capability-a sensitive permission typically restricted to platform administrators. Changed scope (S:C) correctly reflects that code execution escapes the template context into the platform process. EPSS score of 0.07% (22nd percentile) suggests minimal observed exploitation attempts, consistent with the high privilege barrier. SSVC framework assessment (Exploitation: none, Automatable: no, Technical Impact: total) aligns with EPSS, confirming this is not a mass-exploitation threat. No CISA KEV listing and GHSA advisory from GitHub indicate responsible disclosure. Primary risk scenario is insider threat or compromised admin accounts in multi-tenant deployments where lower-trust users might gain customization rights. Organizations granting customization capability to non-administrators face elevated risk. The low EPSS despite high CVSS demonstrates this is a 'configuration-dependent high impact' vulnerability rather than an internet-wide emergency. |
| Exploit ScenarioDerived | An attacker compromises an OpenCTI administrator account with 'Manage customization' privileges through phishing or credential theft. They navigate to the notification settings and create a malicious notifier template containing embedded JavaScript payloads disguised as legitimate EJS template code. When the platform processes this template during notification generation, the unsafe safeEjs.ts module executes the injected code within the Node.js process context, granting the attacker ability to read sensitive threat intelligence data, modify platform configurations, exfiltrate database credentials, or establish persistent backdoor access to the OpenCTI server. No public proof-of-concept code exists, but SSTI exploitation techniques are well-documented for EJS template engines. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Apr 22, 2026
Server-Side Template Injection in OpenCTI notifier templates allows privileged administrators with 'Manage customization' capability to execute arbitrary JavaScript in the platform process context. Affecting all versions prior to 6.9.5, this vulnerability permits authenticated high-privilege users to achieve complete system compromise through unsafe EJS template rendering in safeEjs.ts. No public exploit code identified and EPSS score of 0.07% indicates low observed exploitation probability, but CVSS 9.1 Critical rating reflects the total technical impact once privileged access is obtained. Vendor patch released in version 6.9.5.
Earlier versions of this analysis (1)
Server-Side Template Injection in OpenCTI platform versions before 6.9.5 allows authenticated administrators with 'Manage customization' capability to execute arbitrary JavaScript during notifier template processing. The vulnerability stems from improper EJS template sanitization in safeEjs.ts, enabling attackers to achieve remote code execution with platform process privileges. CVSS 9.1 reflects cross-scope impact with high confidentiality, integrity, and availability consequences. No public exploit identified at time of analysis.
RemediationAI
Upgrade immediately to OpenCTI version 6.9.5 or later, released February 2026, which includes fixes for the unsafe template sanitization in safeEjs.ts. Release details at https://github.com/OpenCTI-Platform/opencti/releases/tag/6.9.5. For organizations unable to upgrade immediately, implement strict compensating controls: (1) Audit and remove 'Manage customization' capability from all accounts except a minimal set of fully-trusted platform administrators-this reduces attack surface but limits operational flexibility for distributed teams. (2) Enable comprehensive audit logging for all notifier template creation and modification events, with real-time alerting on template changes-adds detection capability but does not prevent exploitation. (3) If feasible, disable custom notifier templates entirely and use only built-in notification formats-this eliminates the attack vector but may break existing workflows dependent on customized notifications. Review the GitHub advisory for any additional vendor-recommended mitigations. All workarounds trade functionality for security; patching to 6.9.5 is the only complete remediation.
Affected VersionsENISA
Affected Packages
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 a cyber threat intelligence platform built on Node.js that uses EJS (Embedded JavaScript) templating for customizable notification templates. The vulnerability stems from CWE-1336 (Improper Neutralization of Special Elements Used in a Template Engine), specifically affecting the safeEjs.ts module responsible for rendering user-provided EJS templates. When administrators with customization privileges create or modify notifier templates, the platform fails to properly sanitize template expressions, allowing injection of arbitrary JavaScript code. This Server-Side Template Injection (SSTI) executes in the Node.js process context with full platform privileges, bypassing the intended sandbox restrictions that should limit template capabilities to safe data interpolation only.
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
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Primary rating from GitHub Advisory · only source for this CVE.
CVSS VectorGitHub Advisory
Lifecycle Timeline
4DescriptionGitHub Advisory
OpenCTI is an open source platform for managing cyber threat intelligence knowledge and observables. Prior to 6.9.5, the safeEjs.ts file does not properly sanitize EJS templates. Users with the Manage customization capability can run arbitrary JavaScript in the context of the OpenCTI platform process during notifier template execution. This vulnerability is fixed in 6.9.5.
Articles & Coverage 1
Executive ViewAI
OpenCTI versions prior to 6.9.5 contain a server-side template injection vulnerability that allows authenticated administrators with customization permissions to execute arbitrary code within the platform, potentially compromising the entire threat intelligence system and any data it manages. Organizations using OpenCTI must prioritize upgrading to 6.9.5 immediately, as the vulnerability requires only existing privileged administrator credentials to trigger complete system compromise.
Apply vendor patch. If immediate patching is not feasible, restrict the 'Manage customization' capability to only trusted, essential administrators and implement enhanced monitoring of template modification activities and administrator API usage for OpenCTI administration functions.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
Unauthenticated attackers can escalate privileges in OpenCTI 6.6.0-6.9.12 by impersonating any user account, including t
OpenCTI 3.3.1 is vulnerable to a directory traversal attack via the static/css endpoint. An unauthenticated attacker can
OpenCTI 3.3.1 is vulnerable to a reflected cross-site scripting (XSS) attack via the /graphql endpoint. An attacker can
OpenCTI is an open cyber threat intelligence (CTI) platform. Rated critical severity (CVSS 9.1), this vulnerability is r
Authenticated attackers can delete arbitrary workspaces in OpenCTI versions prior to 6.8.1 due to missing ownership chec
OpenCTI is an open-source cyber threat intelligence platform. Rated high severity (CVSS 8.1), this vulnerability is remo
OpenCTI is an open source platform allowing organizations to manage their cyber threat intelligence knowledge and observ
In OpenCTI through 5.2.4, a broken access control vulnerability has been identified in the profile endpoint. Rated high
Privilege escalation in OpenCTI prior to 6.9.7 allows an organization admin to gain elevated platform-wide privileges by
Authorization bypass in OpenCTI prior to version 7.260326.0 lets any authenticated user holding the KNOWLEDGE_KNUPDATE p
Elasticsearch Painless script injection via OpenCTI's GraphQL API allows any authenticated user holding the KNOWLEDGE ca
OpenCTI versions prior to 6.9.1 contain an authorization bypass vulnerability in the GraphQL mutation 'IndividualDeletio
EUVD-2026-20972
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB