Skip to content
Heist/ feed
Back to feed
Critical

Cognee < 1.2.0 Unauthorized LLM Configuration Overwrite via /api/v1/settings

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-58473
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:18 UTC · Revision 1

Source evidence

Cognee < 1.2.0 Unauthorized LLM Configuration Overwrite via /api/v1/settings

core-osv · Original source

Published 7 Jul 2026, 20:34 UTC

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.

osv:CVE-2026-58473
Complete source record
{
  "id": "a39bc6d1812d17867001a2800d6876e6f545621611cde061d2d1e0488d745a09",
  "url": "https://osv.dev/vulnerability/CVE-2026-58473",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "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.",
    "evidence": "osv:CVE-2026-58473",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2026-58473",
      "aliases": [
        "CVE-2026-58473",
        "GHSA-49f7-whx5-4256",
        "PYSEC-2026-3816"
      ],
      "metrics": [
        {
          "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": [
        {
          "ranges": [
            {
              "repo": "https://github.com/topoteretes/cognee",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "308e42a311131fed5ea57cacbd7951e97372bbe1"
                },
                {
                  "fixed": "d10b1b77e2157c6238fd4d1acb1923a048991699"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.2.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandardRange"
                  },
                  {
                    "range": [
                      {
                        "fixed": "308e42a311131fed5ea57cacbd7951e97372bbe1"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v1.2.0"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d10b1b77e2157c6238fd4d1acb1923a048991699"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.1.3",
            "v1.2.0.dev1",
            "v1.1.2",
            "v1.1.1",
            "v1.1.0",
            "v1.0.9",
            "v1.0.8",
            "v1.0.7",
            "v1.0.6",
            "v1.0.5",
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1.dev4",
            "v1.0.1",
            "v1.0.1.dev3",
            "v1.0.1.dev2",
            "v1.0.1.dev0",
            "v1.0.0",
            "v1.0.0.dev0",
            "v0.5.8",
            "v0.5.5",
            "v0.5.7.dev0",
            "v0.5.4.dev1",
            "v0.5.7",
            "v0.5.6",
            "v0.5.5.dev0",
            "v0.5.4",
            "v0.5.4.dev0",
            "v0.5.3",
            "v0.5.3.dev1",
            "v0.5.2",
            "v0.5.3.dev0",
            "v0.5.2.dev0",
            "v0.5.1",
            "v0.5.1.dev0",
            "v0.5.0",
            "v0.5.0.dev1",
            "v0.4.1",
            "v0.5.0.dev0",
            "v0.4.0",
            "v0.3.9",
            "v0.3.8",
            "v0.3.7",
            "v0.3.6",
            "v0.3.5",
            "v0.3.4.dev4",
            "v0.3.4",
            "v0.3.4.dev3",
            "v0.3.4.dev2",
            "v0.3.4.dev1",
            "v0.3.4.dev0",
            "v0.3.2",
            "v0.3.3",
            "v0.3.1",
            "v0.3.0",
            "v0.2.4",
            "v0.2.3",
            "v0.2.2",
            "v.0.2.2",
            "v0.2.1",
            "v0.2.1.dev6",
            "v0.2.1.dev1",
            "v0.2.0",
            "v0.2.0.dev0",
            "v0.1.35",
            "v0.1.34",
            "v0.1.33",
            "v0.1.32",
            "v0.1.31",
            "v0.1.30",
            "v0.1.29",
            "v0.1.28",
            "v0.1.27",
            "v0.1.26",
            "v0.1.25",
            "v0.1.24",
            "v0.1.23",
            "v0.1.22",
            "v0.1.21",
            "v0.1.20",
            "v0.1.19",
            "v0.1.18",
            "v0.1.17",
            "v0.1.16",
            "v0.1.15",
            "v0.1.14",
            "v0.1.13",
            "v0.1.12",
            "v0.1.1",
            "v0.1.7",
            "v0.1.6",
            "v0.1.5",
            "v0.1.4",
            "v0.1.3",
            "v0.1.2",
            "v.0.1.1",
            "v0.1.0",
            "0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-58473.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.562618690Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58473.json",
        "https://github.com/topoteretes/cognee/releases/tag/v1.2.0",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-58473",
        "https://www.vulncheck.com/advisories/cognee-unauthorized-llm-configuration-overwrite-via-api-v1-settings",
        "https://github.com/topoteretes/cognee/commit/d10b1b77e2157c6238fd4d1acb1923a048991699",
        "https://github.com/topoteretes/cognee",
        "https://github.com/topoteretes/cognee/issues/3084"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-306",
          "CWE-862"
        ],
        "cna_assigner": "VulnCheck",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/58xxx/CVE-2026-58473.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-58473",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490187,
  "published_at": "2026-07-07T20:34:54.943+00:00"
}