CVE-2026-85669 Details
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.
A vulnerability exists in Potpie versions through 2.0.0, where the application fails to verify user ownership on the POST /conversations/{conversation_id}/code-changes/sync endpoint. This oversight allows authenticated users to inject arbitrary file changes into other users' conversations by exploiting the lack of ownership validation. The injected changes are subsequently processed by the affected user's agent, leading to unauthorized modifications in their coding environment.
To address this vulnerability, implement an ownership verification step in the sync_code_change_from_local function. This can be done by using the ConversationController to check if the authenticated user owns the conversation before allowing any code changes to be synced.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 4, 2026CISA-ADP
Assessed Sep 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/potpie-ai/potpie | [email protected] | Source CodeVendor |
| https://github.com/potpie-ai/potpie/blob/v2.0.0/legacy/app/modules/conversations/conversations_router.py | [email protected] | Source CodeVendor |
| https://github.com/potpie-ai/potpie/issues/870 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/potpie-through-2.0.0-missing-ownership-check-via-code-changes-sync | [email protected] | AdvisoryVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-862 | Missing Authorization | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| potpie-ai potpie | <= 2.0.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 10, 2026 | CVE Modified | CISA-ADP |
| Sep 4, 2026 | New CVE Received | [email protected] |
Volerion