PoC Monitor
← All CVEs
CVE-2025-27519published 7 Mar 2025 15:36 UTCData: JSON · API

Cognita

Cognita Arbitrary File Write

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.

First public PoC 168 daysafter publication · 22 Aug 2025
Public PoCs11 on GitHub
CVSS9.3critical · scored by CNA · CWE-22
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

truefoundry cognita
  • < a78bd065e05a1b30a53a3386cc02e08c317d2243

Mitigation

The record names no fix. Check the vendor advisory below.

References

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150CVE published7 Mar 2025 · t = 0First public PoC22 Aug 2025 · t+168d

First public PoC 168 days after publication; not in CISA KEV. First PoC: Diabl0xE/CVE-2025-27519 (created 22 Aug 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
Diabl0xE/CVE-2025-27519 22 Aug 2025 +168 d 2 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.