{"id":"CVE-2026-58473","aliases":["CVE-2026-58473","GHSA-49f7-whx5-4256","PYSEC-2026-3816"],"related":[],"kind":"vulnerability","state":"published","title":"Cognee < 1.2.0 Unauthorized LLM Configuration Overwrite via /api/v1/settings","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Cognee anterior a la versión 1.2.0 contiene una vulnerabilidad de control de acceso inadecuado que permite a atacantes no autenticados sobrescribir la configuración global del proveedor de LLM al auto-registrarse una cuenta y llamar al endpoint de configuración, que no realiza ninguna verificación de administrador o superusuario. Los atacantes pueden redirigir todas las operaciones de LLM a nivel de instancia a un endpoint controlado por el atacante al explotar la caché de configuración singleton a nivel de proceso, lo que permite la exfiltración de prompts, documentos cargados, entidades extraídas y contenido del grafo de conocimiento de todos los usuarios.","source":"nvd"}],"published":"2026-07-07T20:34:54.943Z","modified":"2026-11-08T14:07:07.854Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","score":9.1,"rating":"CRITICAL"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","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"}],"cwes":["CWE-306","CWE-862"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.2.0","status":"affected"}],"vendor":"topoteretes","product":"cognee","repo":"https://github.com/topoteretes/cognee","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.0"}],"ecosystem":"PyPI","package":"cognee","purl":"pkg:pypi/cognee","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"1.5.0"}],"ecosystem":"PyPI","package":"cognee","purl":"pkg:pypi/cognee","source":"pysec"}],"references":[{"url":"https://github.com/topoteretes/cognee/releases/tag/v1.2.0","tags":["release-notes","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/topoteretes/cognee/issues/3084","tags":["exploit","issue-tracking","technical-description","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://github.com/topoteretes/cognee/commit/d10b1b77e2157c6238fd4d1acb1923a048991699","tags":["patch","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.vulncheck.com/advisories/cognee-unauthorized-llm-configuration-overwrite-via-api-v1-settings","tags":["third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58473","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/topoteretes/cognee/commit/10971db1b0bd97e88f96bd2a9ffb3edb7b22bcd0","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/topoteretes/cognee/commit/ebcf82412d0954f5c5018444f7eee8d96fee5113","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/topoteretes/cognee","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/cognee","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-49f7-whx5-4256","tags":["advisory"],"sources":["pysec"]}],"credits":["YU SUN"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2026-07-08T14:12:35.234Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-58473","url":"https://www.cve.org/CVERecord?id=CVE-2026-58473","licence":"CVE Terms of Use","modified":"2026-11-08T14:07:07.854Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-49f7-whx5-4256","url":"https://github.com/advisories/GHSA-49f7-whx5-4256","licence":"CC-BY-4.0","modified":"2026-09-10T12:25:41.712Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-58473","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-58473","licence":"Public domain","modified":"2026-10-25T20:10:00.147Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-3816","url":"https://osv.dev/vulnerability/PYSEC-2026-3816","licence":"CC-BY-4.0","modified":"2026-09-10T12:15:03.031Z"}],"updatedAt":"2026-11-25T22:59:27.318Z","epss":{"score":0.00372,"percentile":0.3319,"date":"2026-12-01T12:00:22.000Z"}}