CVE-2026-56213

Capgo - Unauthenticated Cross-Tenant Metrics Poisoning via upsert_version_meta RPC

Published Jun 20, 2026 CVSS 4.0 · 6.9 Medium EPSS < 1% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

A function exposed via PostgREST RPC, specifically public.upsert_version_meta, bypasses authentication in Capgo releases prior to 12.128.2. The function allows an unauthenticated attacker to insert arbitrary rows into the version_meta table for any app_id. This results in persistent false data appearing in storage metrics dashboards and can trigger incorrect alerts across victim applications.

Affected Systems

Any Capgo instance running a version older than 12.128.2. The vulnerability is independent of application configuration because the vulnerable RPC is exposed publicly and can be accessed with the default anonymous key.

Risk and Exploitability

The CVSS score of 6.9 indicates a moderate risk, and the exploitability is high because the RPC endpoint is publicly reachable and requires no authentication. Attackers need only send a single request to the upsert_version_meta RPC with an anonymous key, which is typically available on any public installation. The vulnerability is not listed in CISA KEV and no EPSS score is available, but the straightforward exploitation path and potential for disruptive false metrics make it a priority to remediate.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Capgo to version 12.128.2 or newer if available
  • Restrict or remove the public.upsert_version_meta RPC from the PostgREST configuration, ensuring that only authenticated roles can invoke it
  • Audit existing version_meta entries for anomal data and reset any incorrectly injected rows to restore accurate metrics

Generated by OpenCVE AI on June 20, 2026 at 01:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Cap-go
Cap-go cap-go
Vendors & Products Cap-go
Cap-go cap-go
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Description 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.
Title Capgo - Unauthenticated Cross-Tenant Metrics Poisoning via upsert_version_meta RPC
Weaknesses CWE-862
References
Metrics cvssV3_1

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

cvssV4_0

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

Weaknesses

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:05 PM
Reserved
Jun 19, 2026, 9:43 PM
Status
Deferred
Published
Jun 20, 2026, 1:16 AM
Modified
Jun 22, 2026, 8:17 PM