Skip to main content

OpenCTI CVE-2026-39980

| EUVDEUVD-2026-20972 CRITICAL
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-04-09 GitHub_M
9.1
CVSS 3.1 · GitHub Advisory
Share

Severity by source

GitHub Advisory PRIMARY
9.1 CRITICAL
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

CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

8
Analysis Updated
Apr 22, 2026 - 00:42 vuln.today
v2 (cvss_changed)
Re-analysis Queued
Apr 22, 2026 - 00:37 vuln.today
cvss_changed
Analysis Updated
Apr 16, 2026 - 05:44 EUVD-patch-fix
executive_summary
Re-analysis Queued
Apr 16, 2026 - 05:29 backfill_euvd_patch
patch_released
Patch available
Apr 16, 2026 - 05:29 EUVD
6.9.5
EUVD ID Assigned
Apr 09, 2026 - 17:45 euvd
EUVD-2026-20972
Analysis Generated
Apr 09, 2026 - 17:45 vuln.today
CVE Published
Apr 09, 2026 - 16:54 nvd
CRITICAL 9.1

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

AnalysisAI

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.

Technical ContextAI

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.

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.

More in Ssti

View all
CVE-2025-47916 CRITICAL POC
10.0 May 16

Invision Community 5.0.0 through 5.0.6 contains an unauthenticated remote code execution vulnerability in the template e

CVE-2024-6386 CRITICAL POC
9.9 Aug 21

Remote code execution in the WPML WordPress multilingual plugin (versions up to and including 4.6.12) allows Contributor

CVE-2024-23692 CRITICAL POC
9.8 May 31

Rejetto HTTP File Server, up to and including version 2.3m, is vulnerable to a template injection vulnerability. Rated c

CVE-2025-23211 CRITICAL POC
9.9 Jan 28

Tandoor Recipes is an application for managing recipes, planning meals, and building shopping lists. Rated critical seve

CVE-2024-32651 CRITICAL POC
10.0 Apr 26

changedetection.io is an open source web page change detection, website watcher, restock monitor and notification servic

CVE-2024-4040 CRITICAL POC
10.0 Apr 22

A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms all

CVE-2024-24724 CRITICAL POC
9.8 Apr 03

Gibbon through 26.0.00 allows /modules/School%20Admin/messengerSettings.php Server Side Template Injection leading to Re

CVE-2026-28496 CRITICAL POC
9.4 Jun 23

Server-side template injection in FOSSBilling versions prior to 0.8.0 allows authenticated administrators to execute arb

CVE-2025-1040 HIGH POC
8.8 Mar 20

AutoGPT versions 0.3.4 and earlier are vulnerable to a Server-Side Template Injection (SSTI) that could lead to Remote C

CVE-2023-6709 HIGH POC
8.8 Dec 12

Improper Neutralization of Special Elements Used in a Template Engine in GitHub repository mlflow/mlflow prior to 2.9.2.

CVE-2022-0896 HIGH POC
8.8 Mar 09

Improper Neutralization of Special Elements Used in a Template Engine in GitHub repository microweber/microweber prior t

CVE-2024-54954 HIGH POC
8.0 Feb 10

OneBlog v2.3.6 was discovered to contain a template injection vulnerability via the template management department. Rate

Share

CVE-2026-39980 vulnerability details – vuln.today

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