Skip to content

CVE-2025-27519 Cognita Arbitrary File Write

CriticalCVSS 9.3 EPSS 1.4%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
Docker

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.

Upgrade path

1 package: 0 fixed.

PackageAffectedFixed inStatus
truefoundry cognita = < a78bd065e05a1b30a53a3386cc02e08c317d2243 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
truefoundry cognita = < a78bd065e05a1b30a53a3386cc02e08c317d2243 No fix listed

References