Missing Authorization Affecting cognee package, versions [,1.2.0)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.37% (30th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Missing Authorization vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-COGNEE-17891109
  • published8 Jul 2026
  • disclosed7 Jul 2026
  • creditYU SUN

Introduced: 7 Jul 2026

NewCVE-2026-58473  (opens in a new tab)
CWE-862  (opens in a new tab)

How to fix?

Upgrade cognee to version 1.2.0 or higher.

Overview

cognee is a Cognee - is a library for enriching LLM context with a semantic layer for better understanding and reasoning.

Affected versions of this package are vulnerable to Missing Authorization via the settings endpoint. An attacker can modify the global LLM provider configuration by self-registering an account and sending requests to the endpoint, which lacks proper admin or superuser checks. This allows redirection of all LLM operations to an attacker-controlled endpoint, enabling exfiltration of prompts, uploaded documents, extracted entities, and knowledge graph content from all users.

CVSS Base Scores

version 4.0
version 3.1