CVE-2025-24977 OpenCTI has remote code execution and sensitive secrets exposed through web hook

Critical 9.1 Published Updated

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.

PackageAffectedFixed in
pycti PyPIFrom 6.4.86.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.

Sources

Also known as GHSA-mf88-g2wq-p7qm, PYSEC-2025-179.

Is CVE-2025-24977 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free