CVE-2025-27519 - CVE House
Back to Database
Status published Critical CVE-2025-27519

Cognita Arbitrary File Write

Vulnerability Description

Cognita is a RAG (Retrieval Augmented Generation) Framework for building modular, open source applications for production by TrueFoundry. A path traversal issue exists at /v1/internal/upload-to-local-directory which is enabled when the Local env variable is set to true, such as when Cognita is setup using Docker. Because the docker environment sets up the backend uvicorn server with auto reload enabled, when an attacker overwrites the /app/backend/__init__.py file, the file will automatically be reloaded and executed. This allows an attacker to get remote code execution in the context of the Docker container. This vulnerability is fixed in commit a78bd065e05a1b30a53a3386cc02e08c317d2243.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-27519

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

truefoundry

View all reports →

Affected Software

cognita
Vulnerable Versions:
< a78bd065e05a1b30a53a3386cc02e08c317d2243

Timeline

Official Publish: March 7th, 2025
Last Modified: March 7th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)