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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| potpie-ai | potpie | ≤ 2.0.0 | — |
References
- GitHub Issue #870 issue-tracking
- https://github.com/potpie-ai/potpie product
- https://github.com/potpie-ai/potpie/blob/v2.0.0/legacy/app/modules/conversations/conversations_router.py technical-description
- VulnCheck Advisory: potpie through 2.0.0 Missing Ownership Check via code-changes sync third-party-advisory