CVE-2025-27518 Details
Description
Cognita is a RAG (Retrieval Augmented Generation) Framework for building modular, open source applications for production by TrueFoundry. An insecure CORS configuration in the Cognita backend server allows arbitrary websites to send cross site requests to the application. This vulnerability is fixed in commit 75079c3d3cf376381489b9a82ee46c69024e1a15.
A vulnerability exists in the TrueFoundry Cognita backend server due to an insecure Cross-Origin Resource Sharing (CORS) configuration. This flaw allows arbitrary websites to send cross-site requests to the application. The vulnerability is present in all versions of Cognita prior to the latest commit, where the CORS settings were not configurable and defaulted to allowing all origins, credentials, methods, and headers. Exploitation of this vulnerability could lead to unauthorized access to the backend API, potentially allowing for privilege escalation.
Users can update to the latest version of Cognita, where this vulnerability has been addressed by allowing configuration of CORS settings. Instructions for updating can be found in the Cognita repository on GitHub.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Mar 7, 2025CISA-ADP
Assessed Mar 7, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/truefoundry/cognita/commit/75079c3d3cf376381489b9a82ee46c69024e1a15 | [email protected] | Source CodeVendor |
| https://github.com/truefoundry/cognita/pull/424 | [email protected] | Issue TrackingVendor |
| https://securitylab.github.com/advisories/GHSL-2024-193_GHSL-2024-194_Cognita/ | [email protected] | AdvisoryBundleRemedy |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-79 | Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| TrueFoundry Cognita | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Mar 7, 2025 | New CVE Received | [email protected] |
Volerion