CVE-2025-24977 OpenCTI has remote code execution and sensitive secrets exposed through web hook
Users with customization management rights can execute arbitrary commands and access secrets via web hooks, requiring an upgrade to OpenCTI.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-24977?
CVE-2025-24977 is a critical code injection vulnerability in OpenCTI-Platform opencti, published on 5 May 2025. An attacker needs administrator access to exploit it, with no action from the victim.
Official description
OpenCTI is an open cyber threat intelligence (CTI) platform. Prior to version 6.4.11 any user with the capability `manage customizations` can execute commands on the underlying infrastructure where OpenCTI is hosted and can access internal server side secrets by misusing the web-hooks. Since the malicious user gets a root shell inside a container this opens up the the infrastructure environment for further attacks and exposures. Version 6.4.11 fixes the issue.
Weakness: CWE-94
Which versions are affected by CVE-2025-24977?
1 open source package ship an affected version, including pycti. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
pycti PyPI | From 6.4.8 | 6.4.11 |
Products include Citeum Opencti.
How do I fix CVE-2025-24977?
Upgrade pycti to 6.4.11 or later.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-24977 being exploited?
There is no known exploitation of CVE-2025-24977 in the wild and no public exploit code.
Other vulnerabilities in OpenCTI-Platform opencti
- CVE-2026-27960 OpenCTI privilege escalation and unauthenticated access via default admin account
- CVE-2026-39980 OpenCTI affected by RCE via notifier template
- CVE-2024-26139 OpenCTI Authenticated Privilege Escalation
- CVE-2024-45404 OpenCTI's lack of Rate Limit lead to OTP brute forcing
- CVE-2026-21887 OpenCTI has a Semi-Blind SSRF via Unvalidated External URL in Data Ingestion Feature
Sources
Also known as GHSA-mf88-g2wq-p7qm, PYSEC-2025-179.