This module chains CVE-2026-27960 and CVE-2026-39980 to achieve unauthenticated remote command execution against vulnerable OpenCTI instances. CVE-2026-27960 allows an unauthenticated attacker to authenticate to the GraphQL API using the UUID of an existing user as a bearer token. By default, this module uses OpenCTI's deterministic default administrator UUID. A different user UUID can be supplied with USER_ID. After confirming the authentication bypass, the module locates the Platform mailer notification connector and exploits CVE-2026-39980, an EJS notifier template sanitizer bypass, to execute a Unix command in the OpenCTI Node.js process context. The full unauthenticated chain applies where the affected version ranges overlap: OpenCTI 6.6.0 through 6.9.4.
Exploit database
Vulnerability
CVE-2026-27960
OpenCTI privilege escalation and unauthenticated access via default admin account
Vulnerability details
- Score
- 9.8
- Severity
- critical
CVSS 3.1 · GitHub_M
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HDescription
OpenCTI is an open source platform for managing cyber threat intelligence knowledge and observables. In versions 6.6.0 through 6.9.12, there is a privilege escalation vulnerability that can be exploited by unauthenticated attackers to query the API as any existing user, including the default admin account. This issue has been fixed in version 6.9.13. As a workaround, the default admin can be disabled using the `APP__ADMIN__EXTERNALLY_MANAGED` configuration.
CVE ProgramExploit source choices
1 sourceOpenCTI Authentication Bypass and Notifier EJS Remote Code Execution
2026-05-04opencti_notifier_rce.rb