CVE-2026-58473
Deferred Deferred - Pending Action

Improper Access Control in Cognee Before 1.2.0

Vulnerability report for CVE-2026-58473, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-07-07

Last updated on: 2026-07-14

Assigner: VulnCheck

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-07-07
Last Modified
2026-07-14
Generated
2026-07-15
AI Q&A
2026-07-08
EPSS Evaluated
2026-07-14
NVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
cognee cognee to 1.2.0 (exc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-862 The product does not perform an authorization check when an actor attempts to access a resource or perform an action.
CWE-306 The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in Cognee versions before 1.2.0 and is due to improper access control. It allows unauthenticated attackers to overwrite the global Large Language Model (LLM) provider configuration by self-registering an account and calling the settings endpoint, which lacks admin or superuser verification.

By exploiting this, attackers can redirect all LLM operations across the entire instance to an attacker-controlled endpoint.

This happens because the configuration cache is a process-wide singleton, meaning the change affects all users.

Impact Analysis

The vulnerability can have severe impacts as it enables attackers to exfiltrate sensitive data from all users.

  • Attackers can steal prompts submitted by users.
  • Uploaded documents can be accessed and exfiltrated.
  • Extracted entities and knowledge graph content from all users can be compromised.

Overall, this leads to a high risk of data leakage and loss of confidentiality across the entire application instance.

Compliance Impact

This vulnerability allows unauthenticated attackers to overwrite global configuration and redirect all LLM operations to attacker-controlled endpoints, enabling exfiltration of sensitive data such as prompts, uploaded documents, extracted entities, and knowledge graph content from all users.

Such unauthorized data access and exfiltration could lead to violations of data protection regulations like GDPR and HIPAA, which require strict controls over personal and sensitive information to prevent unauthorized disclosure.

Therefore, exploitation of this vulnerability may result in non-compliance with these standards due to the compromise of confidentiality and integrity of protected data.

Detection Guidance

This vulnerability can be detected by monitoring for unauthorized account registrations and suspicious modifications to the global LLM provider configuration via the /api/v1/settings endpoint. Since the vulnerability allows unauthenticated attackers to self-register and change settings without admin checks, detection involves checking for unexpected new user accounts and unauthorized API calls to the settings endpoint.

Suggested commands or methods include:

  • Review logs for new user registrations without email verification or CAPTCHA.
  • Monitor API access logs for POST or PUT requests to /api/v1/settings from newly created or suspicious accounts.
  • Use network monitoring tools to detect outbound connections to unknown or attacker-controlled LLM endpoints.
  • Example command to check recent user registrations (assuming Linux and typical log location): `grep 'user registration' /var/log/cognee/access.log | tail -n 20`
  • Example command to check settings endpoint modifications: `grep '/api/v1/settings' /var/log/cognee/access.log | grep 'POST\|PUT'`
Mitigation Strategies

Immediate mitigation steps include:

  • Disable public user registration to prevent unauthenticated attackers from creating accounts.
  • Restrict access to the /api/v1/settings endpoint to only superusers or administrators by enforcing proper authorization checks.
  • Require email verification, CAPTCHA, or admin approval for new user registrations to prevent automated or malicious account creation.
  • Apply the security patches or upgrade to Cognee version 1.2.0 or later, where these issues have been addressed.
  • Mask API keys in any settings responses to avoid leaking sensitive credentials.
  • Implement rate limiting on registration endpoints and audit logging for changes to global settings.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-58473. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart