Cognee Remote Code Execution via Unsafe Notebook Cell Execution
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| n/a | n/a | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Topoteretes | Cognee |
|
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.635% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Cognee Remote Code Execution via Unsafe Notebook Cell Execution |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Arbitrary Code Execution via Unsandboxed exec() in Cognee Notebook API | |
| Weaknesses | CWE-20 |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
cvssV3_1
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Topoteretes
Topoteretes cognee |
|
| Vendors & Products |
Topoteretes
Topoteretes cognee |
| Type | Values Removed | Values Added |
|---|---|---|
| Title | Arbitrary Code Execution via Unsandboxed exec() in Cognee Notebook API | |
| Weaknesses | CWE-20 CWE-94 |
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| References |
|