HighVulnerability
CVE-2025-27519: Cognita path traversal enables code execution
- Source
- NVD(opens in a new tab)
- Identifier
- CVE-2025-27519
- Published
- Record updated
- 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.
Topics
Related items
- MediumCVE-2026-143864: InfiniFlow RAGFlow template injection in Canvas StringTransform HandlerSimilar attack, NVD/CVE Database
- MediumCVE-2026-85259: Gemini CLI Triage Flaw Lets Issue Authors Run Code in GitHub ActionsSimilar attack, StepSecurity Blog
- MediumCVE-2026-143967: Wise Chat with AI unauthenticated stored cross-site scriptingSimilar attack, NVD/CVE Database
- MediumCVE-2026-135917: Apache Camel A2A component confused deputy via shared message headersSimilar attack, NVD/CVE Database
- MediumCVE-2026-107489: Improper Authentication vulnerability in Apache Camel A2A component. This issue affects Apache Camel: from 4.21.0…Similar attack, NVD/CVE Database