{"id":"CVE-2026-39980","published":"2026-04-09T16:54:31Z","modified":"2026-04-09T18:44:10Z","title":"OpenCTI affected by RCE via notifier template","vendor":"OpenCTI-Platform","product":"opencti","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.01697,"percentile":0.77573,"provenance":"source"},"cwes":[{"id":"CWE-1336","name":"Improper Neutralization of Special Elements Used in a Template Engine"}],"references":[{"url":"https://github.com/OpenCTI-Platform/opencti/security/advisories/GHSA-jv9r-jw2f-rhrf","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/OpenCTI-Platform/opencti/releases/tag/6.9.5","tags":["x_refsource_MISC"]}],"priority":{"score":26.9,"factors":[{"name":"EPSS percentile","points":15.51},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":6.37}]},"exploitSources":{"metasploit":[{"name":"OpenCTI Authentication Bypass and Notifier EJS Remote Code Execution","module":"exploit/linux/http/opencti_notifier_rce","type":"exploit","disclosureDate":"2026-05-04","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/opencti_notifier_rce.rb"}],"first":{"date":"2026-05-04","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/opencti_notifier_rce.rb"},"provenance":"source"},"vendorSlug":"opencti-platform","affectedVersions":[{"vendor":"OpenCTI-Platform","product":"opencti","versions":["< 6.9.5"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total","timestamp":"2026-04-09T18:43:53.562351Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"pycti","vulnerableRanges":["<6.9.5"],"patched":["6.9.5"],"from":["PYSEC-2026-2265"],"provenance":"source"}],"summary":{"text":"The OpenCTI open source threat intelligence platform fails to properly sanitize EJS templates in its safeEjs.ts component, which is used when notifier templates are executed. An attacker with the Manage customization capability, which requires authenticated privileged access and no user interaction, can run arbitrary JavaScript within the OpenCTI platform process during notifier template execution.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:08:26Z"},"euvd":{"id":"EUVD-2026-20972","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2025-61782","published":"2026-01-07","fixed":"6.8.3","kev":false},{"cve":"CVE-2026-21887","published":"2026-03-12","fixed":"6.8.16","kev":false},{"cve":"CVE-2026-21886","published":"2026-03-17","fixed":"6.9.1","kev":false,"link":{"from":"CVE-2026-21886","to":"CVE-2026-39980","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pycti","fromFixed":"6.9.1","toFixed":"6.9.5","daysApart":23}]}},{"cve":"CVE-2026-39980","published":"2026-04-09","fixed":"6.9.5","kev":false},{"cve":"CVE-2026-44730","published":"2026-05-26","fixed":"6.9.7","kev":false,"link":{"from":"CVE-2026-39980","to":"CVE-2026-44730","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:pycti","fromFixed":"6.9.5","toFixed":"6.9.7","daysApart":47}]}},{"cve":"CVE-2026-27960","published":"2026-05-05","fixed":"6.9.13","kev":false},{"cve":"CVE-2026-35212","published":"2026-06-02","fixed":"7.260227.0","kev":false}],"package":"PyPI:pycti"}}