CVE-2026-58473: Cognee Cognee Allows Non-superusers To Overwrite Vulnerability
CRITICALCVE-2026-58473 is a CRITICAL (CVSS 9.1) cognee allows non-superusers to overwrite vulnerability (CWE-306: Missing Authentication for Critical Function) affecting Cognee libraries in the PyPI ecosystem. The issue involves cognee allows non-superusers to overwrite global llm configuration. Remediation is available by upgrading affected packages to version 1.5.0.
CVE-2026-58473 at a Glance
Security Impact
CVSS: 9.1
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N).
How to Fix CVE-2026-58473
To remediate this vulnerability, upgrade all affected Cognee dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install cognee>=1.5.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show cognee
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-58473, inspect your installed packages using pip:
pip show cognee
Analyze the terminal output to locate any version of Cognee in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.5.0), your application is affected.
Note: The pip show cognee command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-306: Missing Authentication for Critical Function, where the product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources. In Cognee, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-58473 Affected Cognee Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
cognee
|
PyPI |
< 1.5.0
|
1.5.0
|
References
Frequently Asked Questions
What is CVE-2026-58473?
Which Cognee versions are affected?
What version fixes CVE-2026-58473?
Is cognee affected?
What is the CVSS score of CVE-2026-58473?
What CWE is associated with CVE-2026-58473?
How can I check PyPI dependencies for CVE-2026-58473?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-49f7-whx5-4256",
"modified" : "2026-09-03T20:10:21Z",
"published" : "2026-07-07T21:31:36Z",
"aliases" : [ "CVE-2026-58473" ],
"summary" : "Cognee allows non-superusers to overwrite global LLM configuration",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N"
}, {
"type" : "CVSS_V4",
"score" : "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"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "cognee"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "1.5.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-58473"
}, {
"type" : "WEB",
"url" : "https://github.com/topoteretes/cognee/issues/3084"
}, {
"type" : "WEB",
"url" : "https://github.com/topoteretes/cognee/commit/10971db1b0bd97e88f96bd2a9ffb3edb7b22bcd0"
}, {
"type" : "WEB",
"url" : "https://github.com/topoteretes/cognee/commit/d10b1b77e2157c6238fd4d1acb1923a048991699"
}, {
"type" : "WEB",
"url" : "https://github.com/topoteretes/cognee/commit/ebcf82412d0954f5c5018444f7eee8d96fee5113"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/topoteretes/cognee"
}, {
"type" : "WEB",
"url" : "https://github.com/topoteretes/cognee/releases/tag/v1.2.0"
}, {
"type" : "WEB",
"url" : "https://www.vulncheck.com/advisories/cognee-unauthorized-llm-configuration-overwrite-via-api-v1-settings"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-306" ],
"severity" : "CRITICAL",
"github_reviewed" : true,
"github_reviewed_at" : "2026-09-03T20:10:21Z",
"nvd_published_at" : "2026-07-07T21:17:29Z"
}
}