CVE-2025-27519

Cognita Arbitrary File Write

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.

Category

9.3
CVSS
Severity: Critical
CVSS 4.0 •
EPSS 0.47%
Affected: truefoundry cognita
Published at:
Updated at:

References

Frequently Asked Questions

What is the severity of CVE-2025-27519?
CVE-2025-27519 has been scored as a critical severity vulnerability.
How to fix CVE-2025-27519?
To fix CVE-2025-27519, make sure you are using an up-to-date version of the affected component(s) by checking the vendor release notes. As for now, there are no other specific guidelines available.
Is CVE-2025-27519 being actively exploited in the wild?
As for now, there are no information to confirm that CVE-2025-27519 is being actively exploited. According to its EPSS score, there is a ~0% probability that this vulnerability will be exploited by malicious actors in the next 30 days.
What software or system is affected by CVE-2025-27519?
CVE-2025-27519 affects truefoundry cognita.
This platform uses data from the NIST NVD, MITRE CVE, MITRE CWE, First.org and CISA KEV but is not endorsed or certified by these entities. CVE is a registred trademark of the MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. CWE is a registred trademark of the MITRE Corporation and the authoritative source of CWE content is MITRE's CWE web site.
© 2025 Under My Watch. All Rights Reserved.