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.
Published: 2026-07-07
Score: 9.3 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Cognee prior to version 1.2.0 contains an improper access control flaw (CWE‑306, CWE‑862) that permits an unauthenticated user to overwrite the global LLM provider configuration through the /api/v1/settings endpoint. The endpoint performs no administrative or superuser checks, enabling the attacker to point all LLM operations to an attacker‑controlled endpoint and exfiltrate sensitive information such as prompts, uploaded documents, extracted entities, and knowledge graph content from every user, thereby breaching confidentiality.

Affected Systems

All installations of Cognee running a version earlier than 1.2.0 are affected; this includes both self‑hosted setups and open‑source deployments that have not yet applied the 1.2.0 release or a later patch.

Risk and Exploitability

The vulnerability has a CVSS score of 9.3, indicating a high level of severity, and an EPSS score of less than 1 %, reflecting a low overall exploitation probability across the general population; however, because authentication is not required beyond initial self‑registration and the flaw is trivially exploitable on any publicly reachable instance, the risk remains significant. The issue is not listed in the CISA KEV catalog. The attack vector is via the public self‑service registration flow followed by a call to /api/v1/settings, with no administrative credentials required.

Generated by OpenCVE AI on July 26, 2026 at 19:04 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Cognee to version 1.2.0 or later, which addresses the current access control flaw on the /api/v1/settings endpoint.
  • If immediate upgrade is not feasible, restrict access to /api/v1/settings to authenticated administrator accounts by configuring firewall rules, an API gateway, or reverse‑proxy authentication; additionally, block outbound traffic from the Cognee instance except to the verified LLM provider endpoints.
  • Implement comprehensive logging and monitoring of LLM requests and outbound traffic; set alert thresholds for unexpected redirects to external LLM endpoints so that unauthorized configuration changes can be detected promptly.

Generated by OpenCVE AI on July 26, 2026 at 19:04 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Wed, 08 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Tue, 07 Jul 2026 23:00:00 +0000

Type Values Removed Values Added
First Time appeared Topoteretes
Topoteretes cognee
Vendors & Products Topoteretes
Topoteretes cognee

Tue, 07 Jul 2026 21:00:00 +0000

Type Values Removed Values Added
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.
Title Cognee < 1.2.0 Unauthorized LLM Configuration Overwrite via /api/v1/settings
Weaknesses CWE-306
CWE-862
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.3, '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'}


Subscriptions

Topoteretes Cognee
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-14T22:03:13.601Z

Reserved: 2026-06-30T20:20:33.790Z

Link: CVE-2026-58473

cve-icon Vulnrichment

Updated: 2026-07-08T14:14:44.377Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-26T19:15:03Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

  • CWE-862

    Missing Authorization