Description
Capgo before 12.128.2 allows upload-scoped API keys to modify the mutable app_versions.r2_path field through PostgREST, enabling retargeting to arbitrary R2 bundle objects. Attackers can patch r2_path to point to victim objects, soft-delete the attacker-controlled version, and trigger the on_version_update cleanup function to delete the victim R2 object, causing denial of service and bundle availability disruption.
Published: 2026-07-08
Score: 8.7 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Capgo releases before 12.128.2 allow upload‑scoped API keys to modify the app_versions.r2_path field through PostgREST. An attacker can change that path to point to any R2 bundle object and then trigger the on_version_update cleanup function by soft‑deleting a chosen version. The cleanup deletes the bundle at the new path, resulting in the loss of the victim’s bundle and disabling its availability to users. This flaw is a privilege‑escalation–type weakness that compromises the integrity and availability of bundle assets (CWE‑862).

Affected Systems

The affected product is Capgo. Any deployment using Capgo prior to version 12.128.2 is susceptible. The vulnerability resides in the Capgo server application and the PostgREST interface that permits upload‑scoped API keys to alter rows in the app_versions table.

Risk and Exploitability

The CVSS score of 8.7 indicates high severity. EPSS is <1%, suggesting a low but non‑zero probability of exploitation. The flaw is not listed in the CISA KEV catalog. Inferred from the description, the likely attack vector is remote API exploitation using a compromised or otherwise valid upload‑scoped API key with write permission to the app_versions table via PostgREST. If an attacker can obtain such a key, they can modify r2_path, soft‑delete a benign version, and delete arbitrary R2 objects, causing denial of service to end users.

Generated by OpenCVE AI on July 29, 2026 at 14:18 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Capgo to version 12.128.2 or later to prevent remote modification of r2_path.
  • Strictly limit upload‑scoped API keys to only the necessary permissions and revoke any with write access to app_versions.
  • Implement monitoring of app_versions.r2_path changes and on_version_update executions, and trigger alerts for unexpected deletions.

Generated by OpenCVE AI on July 29, 2026 at 14:18 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 10 Jul 2026 09:45:00 +0000

Type Values Removed Values Added
First Time appeared Cap-go
Cap-go cap-go
Vendors & Products Cap-go
Cap-go cap-go

Wed, 08 Jul 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 08 Jul 2026 14:15:00 +0000

Type Values Removed Values Added
Description Capgo before 12.128.2 allows upload-scoped API keys to modify the mutable app_versions.r2_path field through PostgREST, enabling retargeting to arbitrary R2 bundle objects. Attackers can patch r2_path to point to victim objects, soft-delete the attacker-controlled version, and trigger the on_version_update cleanup function to delete the victim R2 object, causing denial of service and bundle availability disruption.
Title Capgo - Arbitrary R2 Object Deletion via Mutable r2_path in app_versions
Weaknesses CWE-862
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}

cvssV4_0

{'score': 8.7, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N'}


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-08T14:23:22.128Z

Reserved: 2026-06-19T21:53:16.001Z

Link: CVE-2026-56250

cve-icon Vulnrichment

Updated: 2026-07-08T14:23:18.360Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-29T14:30:03Z

Weaknesses