---
id: CVE-2026-85669
title: >-
  potpie through 2.0.0 fails to verify user ownership on the POST
  /conversations/{conversation_id}/code-changes/sync endpoint
summary: >-
  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 conv…
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-862
vendor: potpie-ai
product: potpie
affected:
  - potpie <= 2.0.0
published: '2026-09-04'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T16:18:00.657'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-85669'
references:
  - url: 'https://github.com/potpie-ai/potpie'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/potpie-ai/potpie/blob/v2.0.0/legacy/app/modules/conversations/conversations_router.py
    label: disclosure@vulncheck.com
  - url: 'https://github.com/potpie-ai/potpie/issues/870'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/potpie-through-2.0.0-missing-ownership-check-via-code-changes-sync
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-10T14:39:08.502130Z'
epss: 0.0022
epssPercentile: 0.12844
ingestedAt: '2026-09-10T15:53:17.107Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
