Skip to content
CRACK.ORGSECURITY INTELLIGENCE
VULNERABILITY INTELLIGENCE / SOURCE RECORD

CVE-2026-31231

CVSS / severity9.8 · critical
CISA KEVNot listed in local snapshot
EPSS / next 30 daysNot available

Source description

Cognee thru v0.4.0 contains a critical remote code execution vulnerability in its notebook cell execution API endpoint. The endpoint is designed to execute arbitrary Python code provided by the user, but it does so using the unsafe exec() function without any sandboxing, validation, or security controls. An attacker can exploit this by sending a specially crafted POST request containing malicious Python code to the execution endpoint. This leads to arbitrary code execution on the Cognee server with the privileges of the server process, allowing complete compromise of the system.

Published: 2026-05-12T18:16:51.387 · Modified: 2026-10-19T22:10:00.130

Products and platforms

No product identity indexed yet. Consult the official record.

Defensive action

Check the official advisory for affected versions and mitigation instructions. Patch availability is not established by the score.

Official sources

NVD record · CVE Program · FIRST EPSS methodology

CVSS measures technical severity. EPSS estimates exploitation probability, not your individual exposure. A missing KEV listing is not proof of safety. Product configuration matches may include version and environment conditions.