Cognee allows non-superusers to overwrite global LLM configuration
CVE-2026-58473 · GHSA-49f7-whx5-4256 · published 2026-07-07 · updated 2026-09-03
- Severity
- Critical
- CVSS score
- 9.1
- Chance of exploitation (EPSS)
- 0.37%
- Fixed in
- 1.5.0
- Exploitation Public proof of concept
- Automatable Yes
- Technical impact Total
- CISA SSVC
Cognee before 1.2.0 contains an improper access control vulnerability that allows unauthenticated attackers to overwrite the global LLM provider configuration by self-registering an account and calling the settings endpoint, which performs no admin or superuser check. Attackers can redirect all LLM operations instance-wide to an attacker-controlled endpoint by exploiting the process-wide singleton configuration cache, enabling exfiltration of prompts, uploaded documents, extracted entities, and knowledge graph content from all users.
Upgrade cognee to 1.5.0 or later.
| Package | Registry | Affected | Fixed in |
|---|---|---|---|
| cognee | PyPI | < 1.5.0 | 1.5.0 |
- CriticalMarimo: Pre-Auth Remote Code Execution via Terminal WebSocket Authentication BypassmarimoExploited
- CriticalLangflow CORS misconfiguration enables Account Takeover and RCElangflowExploited
- HighLiteLLM: MCP Authentication Bypass via OAuth2 Passthrough FallbacklitellmExploited
- HighLangflow: IDOR Vulnerability in `/api/v1/responses` Endpoint Allows Authenticated Attackers to Access Another User's FlowlangflowExploited
- CriticalJupyter MCP Server: Host-header spoof bypasses the CVE-2026-77359/GHSA-9x8x-crjq-g64h fixjupyter-mcp-server
- CriticalUnauthenticated Superuser Token Issuance via Default-Enabled auto_login Endpointlangflow
The impact, patch and workaround text comes from the advisory, shortened (GitHub Advisory Database, CC BY 4.0). Proof-of-concept and reproduction sections and code are left out; the original advisory has them.