{"id":"CVE-2026-58473","aliases":["GHSA-49f7-whx5-4256","PYSEC-2026-3816"],"title":"Cognee allows non-superusers to overwrite global LLM configuration","summary":"Cognee allows non-superusers to overwrite global LLM configuration","severity":"critical","cvss":9.1,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","vendor":"cognee","product":"cognee","ecosystem":"pip","affected":["cognee < 1.5.0"],"patched":["cognee 1.5.0"],"published":"2026-07-07","updated":"2026-09-10","sourceUpdated":"2026-09-10T12:25:41.712704547Z","source":"OSV","sourceUrl":"https://osv.dev/vulnerability/GHSA-49f7-whx5-4256","references":[{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58473"},{"url":"https://github.com/topoteretes/cognee/issues/3084"},{"url":"https://github.com/topoteretes/cognee/commit/10971db1b0bd97e88f96bd2a9ffb3edb7b22bcd0"},{"url":"https://github.com/topoteretes/cognee/commit/d10b1b77e2157c6238fd4d1acb1923a048991699"},{"url":"https://github.com/topoteretes/cognee/commit/ebcf82412d0954f5c5018444f7eee8d96fee5113"},{"url":"https://github.com/topoteretes/cognee"},{"url":"https://github.com/topoteretes/cognee/releases/tag/v1.2.0"},{"url":"https://www.vulncheck.com/advisories/cognee-unauthorized-llm-configuration-overwrite-via-api-v1-settings"},{"url":"https://pypi.org/project/cognee"},{"url":"https://github.com/advisories/GHSA-49f7-whx5-4256"}],"tags":["osv","pip"],"epss":0.00511,"epssPercentile":0.42606,"ingestedAt":"2026-09-04T19:32:57.407Z","slug":"CVE-2026-58473","body":"## Overview\n\nCognee 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.\n\n## Affected packages\n\n- `cognee < 1.5.0`\n\n## Remediation\n\nUpgrade to a patched release:\n\n- `cognee 1.5.0`","depth":"midnight","depthScore":50,"depthScoreParts":{"impact":50.1,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}