CVE-2026-56213: Capgo Authorization Bypass in upsert_version_meta (CVSS 5.3)
Capgo, a mobile app update and deployment platform, has a security flaw where an unauthenticated attacker can modify application version metadata through a publicly accessible API endpoint. By sending requests with basic authentication credentials, an attacker can insert fake data into any application's version records, corrupting the metrics and statistics that operators rely on for monitoring. This poisoning attack doesn't steal data or crash systems, but it pollutes the information dashboards display, potentially triggering false alarms and undermining confidence in application health metrics.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 5.3 MEDIUM · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- Weaknesses (CWE)
- CWE-862
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-06-20 / 2026-06-22
NVD description (verbatim)
Capgo before 12.128.2 contains an authorization bypass vulnerability in the public.upsert_version_meta SECURITY DEFINER function exposed via PostgREST RPC, allowing unauthenticated attackers to insert arbitrary rows into version_meta for any app_id. Attackers can exploit this by calling the RPC endpoint with a public anon key to poison storage metrics, causing persistent false data in dashboards and triggering incorrect alerts across victim applications.
2 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
CVE-2026-56213 is an authorization bypass in Capgo's public.upsert_version_meta SQL function, which is configured with the SECURITY DEFINER attribute and exposed as a Remote Procedure Call (RPC) endpoint via PostgREST. The function fails to validate whether the caller has permission to modify version_meta records for a given app_id. An attacker can invoke this RPC using the public anon key without authentication and inject arbitrary rows into the version_meta table for any application. The vulnerability permits data integrity violations but does not enable confidentiality breaches or availability attacks. CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N reflects network-accessible, low-complexity exploitation with no privileges or user interaction required, and localized integrity impact.
Business impact
Attackers exploiting this vulnerability can systematically corrupt version metadata across multiple applications, degrading operational visibility. Poisoned metrics may cause on-call teams to respond to phantom alerts, wasting incident response resources. Analytics dashboards will display unreliable data, impairing release decision-making and performance analysis. For organizations relying on Capgo for compliance or SLA reporting, corrupted version records could undermine audit trails and breach contractual obligations. The attack is persistent—false data remains until detected and manually corrected—amplifying the operational and reputational cost.
Affected systems
Capgo versions prior to 12.128.2 are affected. The vulnerability exists in the PostgREST-exposed RPC layer, meaning any Capgo instance with default or public API access is vulnerable if not patched. Self-hosted and managed Capgo deployments are equally at risk. The attack surface includes all applications managed within a vulnerable Capgo instance, regardless of their own configuration or security posture.
Exploitability
The vulnerability has a low barrier to exploitation. An attacker needs only network access to the Capgo API endpoint and knowledge of target app_ids, both of which are typically discoverable or public. No special tools, authentication credentials, or user interaction are required. The RPC call syntax is straightforward for anyone familiar with PostgREST conventions. The attack is repeatable and scalable—an attacker can poison metrics for dozens of applications in minutes. No patched versions have been added to the Known Exploited Vulnerabilities (KEV) catalog, though the simplicity of exploitation suggests a practical risk even without public proof-of-concept code.
Remediation
Upgrade Capgo to version 12.128.2 or later, which patches the authorization check in the upsert_version_meta function. Organizations should verify the patch version against Capgo's official release notes before deployment. During the patch window, consider restricting network access to the Capgo API endpoint via firewall rules or API gateway policies to limit exposure to trusted networks only. Review version_meta tables for suspicious entries inserted between the vulnerability disclosure date and patching; prioritize data cleanup for critical applications.
Patch guidance
Apply Capgo 12.128.2 or newer. Test the update in a staging environment first to confirm no breaking changes in dependent applications. If automatic updates are not available, follow Capgo's manual upgrade procedures as documented in their deployment guide. Verify the fix by confirming that the upsert_version_meta function now enforces ownership checks on app_id parameters. After patching, audit recent version_meta inserts for anomalies and consider resetting or validating metrics for applications that may have been targeted.
Detection guidance
Monitor PostgREST RPC logs for calls to public.upsert_version_meta from unauthenticated or unexpected sources. Look for unusual patterns of version_meta inserts with timestamps clustering around the vulnerability disclosure date (June 20, 2026) or later. Compare version records in dashboards against source-of-truth deployment logs; orphaned or unexplained version entries are a strong indicator. Alert on high-volume inserts into version_meta for a single app_id within short time windows. Review application version counts and timestamps for logical inconsistencies (e.g., hundreds of versions in minutes).
Why prioritize this
Although the CVSS score is MEDIUM (5.3), the practical severity warrants prompt patching. The vulnerability requires no authentication, is network-accessible, and can be reliably exploited at scale. The integrity impact directly undermines operational decision-making and audit integrity. Organizations dependent on Capgo for release management and monitoring should prioritize this patch within their standard update cycle, ideally within 1–2 weeks of availability, especially if the instance is exposed to untrusted networks.
Risk score, explained
The CVSS 3.1 score of 5.3 (MEDIUM) reflects a network-accessible vulnerability with low attack complexity, no privilege requirement, and no user interaction. The integrity impact is classified as low because the attack is localized to metadata and does not corrupt application code or cause service unavailability. However, the practical severity is elevated by the ease of exploitation, repeatability, and the persistence of poisoned data. Organizations should consider threat modeling around their specific use of version metrics—if release decisions or compliance reporting depend heavily on Capgo dashboards, the business risk may exceed the numeric CVSS score.
Frequently asked questions
Can this vulnerability allow an attacker to steal application source code or deploy malicious versions?
No. The vulnerability is limited to inserting false rows into the version_meta table, which stores metadata about releases such as timestamps and statistics. It does not permit uploading or modifying application binaries, source code, or configuration. An attacker cannot use this flaw to execute arbitrary code or bypass authentication for direct app downloads.
How do I know if my Capgo instance has been exploited?
Check version_meta table entries for unusual inserts, especially clusters of entries with the same timestamp or suspicious app_id references. Compare the version history in your Capgo dashboard against your deployment logs; discrepancies indicate potential poisoning. If you have audit logging enabled, review RPC calls to upsert_version_meta from the period after June 20, 2026. Restored or manually validated version records should match your deployment history.
Do I need to patch this if my Capgo API is behind a firewall?
Network segmentation reduces exposure but does not eliminate risk. If any untrusted or semi-trusted network (e.g., mobile clients, third-party integrations) can reach the API, the vulnerability remains exploitable. Patching is the only permanent fix and should not be deferred based on firewall rules alone, as firewall rules can be misconfigured or later changed.
Will upgrading to 12.128.2 affect my existing applications or release pipelines?
The patch adds an authorization check; it does not remove or alter the function's legitimate behavior. Applications and pipelines using the function correctly should see no disruption. However, test in a non-production environment first to confirm compatibility with your specific deployment and integrations. Capgo's release notes for 12.128.2 should document any changes in detail.
This analysis is based on the vulnerability disclosure and patch information available as of June 22, 2026. Patch version numbers and functionality should be verified against Capgo's official release notes and vendor advisories before deployment. Organizations should conduct their own risk assessment and testing in controlled environments. No exploit code or weaponized proof-of-concept is provided; this content is for defensive and educational purposes. SEC.co assumes no liability for incomplete or inaccurate third-party vendor information or for operational decisions made in reliance on this analysis. Source: NVD (public-domain), retrieved 2026-07-28. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2022-42479MEDIUMMissing Authorization in TemplateHouse Soledad – MEDIUM Severity Access Control Bypass
- CVE-2022-45813MEDIUMBeRocket Advanced AJAX Product Filters Missing Authorization Flaw
- CVE-2023-25969MEDIUMMissing Authorization in ThemeHunk Contact Form Plugin
- CVE-2023-32959MEDIUMMetroStore Missing Authorization Vulnerability – Patch Guide
- CVE-2024-24709MEDIUMShareaholic Missing Authorization Vulnerability – Update Required
- CVE-2024-31435MEDIUMMissing Authorization in Inisev Social Media & Share Icons Plugin—Patch Guidance
- CVE-2024-33685MEDIUMMissing Authorization in Jegstudio Startupzy 1.1.1 – MEDIUM Severity Vulnerability
- CVE-2024-33909MEDIUMMissing Authorization in Avirtum iPages Flipbook – CVSS 5.3 Patch Guide