CVE-2026-58473

Cognee < 1.2.0 Unauthorized LLM Configuration Overwrite via /api/v1/settings

State
Published
Severity
9.3 Critical
Published
Jul 7, 2026
Updated
Oct 8, 2026
Reserved
Jun 30, 2026

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
4.09.3 CriticalCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:NVulnCheck
3.19.1 CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:NVulnCheck

Weaknesses

  • CWE-862 Missing Authorization
  • CWE-306 Missing Authentication for Critical Function

Affected Products

ProductVersions
cogneetopoteretes
  • before 1.2.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.