{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "0.2.8"
              }
            ],
            "source": [
              "DESCRIPTION",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "6ddf1669f4f6ea408dca0b7f497af0cb8523cced"
            },
            {
              "fixed": "ae7f4062652df1376990221101d1adbb0819c973"
            }
          ],
          "repo": "https://github.com/mem0ai/mem0",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49948.json"
  },
  "details": "Mem0 versions through 0.2.8, fixed in commit ae7f406, contain a missing authorization vulnerability in the self-hosted server component where the POST /configure endpoint modifies global LLM provider and embedder configuration but only verifies authentication via JWT or X-API-Key without validating the caller's role. Any authenticated user holding a distributed API key can redirect all LLM and embedder traffic to an attacker-controlled server, with the malicious configuration persisted to PostgreSQL and surviving server restarts to affect all users and API keys on the instance.",
  "id": "CVE-2026-49948",
  "modified": "2026-07-16T03:30:52.986969524Z",
  "published": "2026-06-09T14:58:18.348Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49948.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-49948"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/mem0-missing-authorization-via-post-configure-endpoint"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mem0ai/mem0/issues/5127"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mem0ai/mem0/issues/5384"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/mem0ai/mem0/pull/5360"
    },
    {
      "type": "FIX",
      "url": "https://github.com/mem0ai/mem0/commit/ae7f4062652df1376990221101d1adbb0819c973"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/mem0ai/mem0"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Mem0 0.2.8 Missing Authorization via POST /configure Endpoint"
}