{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "last_affected": "2.0.0"
              },
              {
                "fixed": "2.0.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "DESCRIPTION"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "602f4dbc69a2c841a3fbae714398329d96f312c0"
            }
          ],
          "repo": "https://github.com/potpie-ai/potpie",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-862"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85669.json"
  },
  "details": "potpie through 2.0.0 fails to verify user ownership on the POST /conversations/{conversation_id}/code-changes/sync endpoint. Authenticated attackers can write arbitrary file changes into other users' conversations by supplying their conversation IDs, allowing unauthorized modification of pending changes.",
  "id": "CVE-2026-85669",
  "modified": "2026-09-06T03:30:35.965862141Z",
  "published": "2026-09-04T14:32:24.660Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85669.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-85669"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/potpie-through-2.0.0-missing-ownership-check-via-code-changes-sync"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/potpie-ai/potpie/issues/870"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/potpie-ai/potpie"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/potpie-ai/potpie/blob/v2.0.0/legacy/app/modules/conversations/conversations_router.py"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "potpie through 2.0.0 Missing Ownership Check via code-changes sync"
}