Live Exposure Defense: From CVE to Confirmed Exposure in 12 Hours – See more

New CVE Detected

CVE-2026-56303 – Unauthenticated API Key Metadata Disclosure – Capgo before 12.128.2

Be the first to know when new zero-days emerge:

Summary

CVE-2026-56303 is a high-severity information disclosure vulnerability in Capgo, an open-source live update platform for Ionic/Capacitor mobile applications. The flaw resides in the find_apikey_by_value PostgreSQL function, which is marked SECURITY DEFINER and granted execution rights to the unauthenticated anon database role, exposing sensitive API key metadata to any remote attacker via an unauthenticated REST endpoint. The vulnerability is rated CVSS 4.0: 8.7 (High) and was addressed in version 12.128.2.

Technical details

  • Root cause: The find_apikey_by_value PostgreSQL function is marked SECURITY DEFINER, meaning it executes with the elevated privileges of its definer rather than the calling user. Execution rights on this function are granted to the anon role — the role used by PostgREST for unauthenticated connections — with no authentication token required.
  • Trigger conditions: An attacker sends an unauthenticated POST request to /rest/v1/rpc/find_apikey_by_value supplying a valid API key value as the function parameter. Possession of a valid API key value is the only prerequisite, making this a targeted rather than opportunistic exploit.
  • Attack vector: Network-accessible HTTP POST to the PostgREST RPC endpoint on any internet-facing self-hosted Capgo deployment. No authentication header or session token is required.
  • Impact: A successful call returns sensitive API key metadata, including the associated user_id, key mode, organizational scoping, and expiration details (CVSS VC:H). This data can be chained with other unauthenticated Capgo RPC endpoints — such as get_orgs_v6 and get_identity_apikey_only, also fixed in version 12.128.2 — to enumerate organization memberships, management email addresses (PII), roles, and subscription metadata, enabling further unauthorized access or privilege escalation. Multiple related CVEs were disclosed simultaneously (CVE-2026-56235, CVE-2026-56242, CVE-2026-56243, CVE-2026-56316), reflecting systematic research that confirms a broad unauthenticated attack surface across Capgo’s PostgREST API layer.

Affected software

  • Capgo — all versions prior to 12.128.2 (self-hosted deployments exposing the PostgREST REST API to the internet)

Severity

  • CVSS v4.0: 8.7 (High) — CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
  • CVSS v3.1: 7.5 (High) — AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
  • CWE: CWE-200 — Exposure of Sensitive Information to an Unauthorized Actor

Mitigation and recommended actions

  • Immediate: Upgrade to Capgo version 12.128.2 or later, which revokes the EXECUTE privilege on the affected SECURITY DEFINER functions from the anon role.
  • If immediate patching is not possible: Restrict public network access to the PostgREST /rest/v1/rpc/ path at the firewall or reverse proxy level. Additionally, revoke EXECUTE rights on find_apikey_by_value (and related SECURITY DEFINER functions) from the anon database role directly. Review and rotate any API keys that may have been queried or disclosed.

IONIX Status

The IONIX research team is tracking ongoing exploitation attempts and recommends immediate patching. Potentially affected assets are outlined in this post.

References

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

How IONIX’s External Exposure Management Platform Detects and Validates
Zero-Days to Shrink MTTR

1

Map your entire attack surface (continously)

IONIX uses multi-factor discovery methods, including DNS analysis, certificate mapping, metadata inspection, and more, to automatically map every internet-facing asset across your environment. This includes cloud instances, third-party platforms, shadow IT, and even forgotten infrastructure that traditional tools miss.

2

Monitor for new CVEs

Dozens of threat intel feeds using agentic technology are continuously analyzed to detect the appearance of proof-of-concept code, exploit kits, and indicators of active targeting. IONIX goes further by applying AI to proactively evaluate whether emerging vulnerabilities are likely to be exploited, even before PoCs go public.

3

Identify Potential External Exposures

Not all CVEs matter. IONIX filters vulnerabilities by asking attacker-centric questions: Can it be reached from the internet? Does it require authentication? Is it being exploited in the wild? This dramatically reduces noise and focuses teams on threats that can actually be weaponized.

4

Create Safe, Scalable Exploit Validations

IONIX transforms real-world PoCs into safe, non-intrusive test payloads that can be run in production environments without disruption. These simulations are precisely targeted to the systems that are vulnerable, ensuring rapid validation without unnecessary load.

5

Execute Exploit Validations

By combining context about software stack, versioning, exposure status, and reachability, IONIX ensures that only the right payloads are executed against the right assets, maximizing efficiency and minimizing risk.

6

Drive Fast and Actionable Remediation

Results are routed through integrations with ticketing, SOAR, and SIEM tools. Issues are written in plain language, bundled into remediation clusters, and prioritized based on asset criticality, exploitability, and blast radius. This shortens mean time to remediation (MTTR) and empowers teams to act with confidence.

Are you exposed?

Get a free report of your organization’s exposure to this CVE and threat

Subscribe to Threat Center RSS

Copy/paste the link below into your preferred RSS reader or follow these instructions to subscribe to Slack alerts.

Get Real-Time CVE Alerts to Your Email

Be the first to know when new zero-days emerge