Skip to content
HighVulnerability

CVE-2025-27519: Cognita path traversal enables code execution

Identifier
CVE-2025-27519
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
1.4%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2025-27519 is a path traversal flaw in Cognita, a RAG framework from TrueFoundry, at the /v1/internal/upload-to-local-directory endpoint. It is enabled when the Local environment variable is set to true, as in Docker setups where the backend runs uvicorn with auto reload. An attacker can overwrite /app/backend/__init__.py, which is then reloaded and executed, giving remote code execution in the Docker container's context.

Mitigation

This vulnerability is fixed in commit a78bd065e05a1b30a53a3386cc02e08c317d2243.