Description
Capgo before 12.128.2 contains a policy bypass vulnerability in app_versions update enforcement that allows app-scoped API keys to downgrade encrypted bundles to non-encrypted state. Attackers with app-scoped all API keys can directly update the app_versions table via PostgREST to clear session_key and key_id fields, bypassing organization-enforced encrypted-bundle policies and weakening OTA security controls.
Published: 2026-07-08
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Capgo versions prior to 12.128.2 allow an attacker who holds an application‑scoped API key with full permissions to alter the app_versions database table via PostgREST, a feature that grants direct access to the underlying tables. By setting the session_key and key_id columns to NULL, the attacker can remove the cryptographic identifiers associated with an encrypted bundle, effectively downgrading the application package to an unencrypted state. This bypasses any organization‑enforced policy that requires bundles to remain encrypted and weakens the over‑the‑air update mechanism that relies on those encryption markers. The vulnerability is a classic instance of improper authorization control (CWE‑284).

Affected Systems

All Capgo installations using a PostgREST data access layer and an app‑scoped API key that possesses “all” permissions are impacted. Versions older than 12.128.2 are vulnerable; no later fixes are documented in the current advisory.

Risk and Exploitability

The CVSS score of 5.3 places this flaw in the moderate severity range, while an EPSS score of <1% indicates a very low likelihood that the vulnerability will be actively exploited at this time. The vulnerability is not catalogued in the CISA KEV list, suggesting limited public exploitation. However, an attacker with the required PostgREST URL and a valid API key can readily execute the update query to clear the session_key and key_id fields, thereby enabling the downgrade attack. The operation requires no elevated privileges beyond the application‑scoped key set with all permissions, meaning that compromised or misconfigured keys can be used directly in the field.

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

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Capgo to version 12.128.2 or later
  • Regenerate any app‑scoped API keys that have full permissions, restricting them to only the actions required for normal operation
  • Reduce exposure of the PostgREST endpoint, limiting it to trusted network hosts or securing it behind access‑control mechanisms

Generated by OpenCVE AI on July 29, 2026 at 14:20 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': 'no', '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 contains a policy bypass vulnerability in app_versions update enforcement that allows app-scoped API keys to downgrade encrypted bundles to non-encrypted state. Attackers with app-scoped all API keys can directly update the app_versions table via PostgREST to clear session_key and key_id fields, bypassing organization-enforced encrypted-bundle policies and weakening OTA security controls.
Title Capgo - Encrypted Bundle Policy Bypass via Direct PostgREST Update
Weaknesses CWE-284
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-08T14:28:35.887Z

Reserved: 2026-06-19T21:43:24.737Z

Link: CVE-2026-56217

cve-icon Vulnrichment

Updated: 2026-07-08T14:28:19.953Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

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

Weaknesses