# CVE-2026-56281: Capgo SQL injection in admin_stats endpoint

Source: https://junglewise.ai/threats/cve-2026-56281-capgo-sql-injection-in-admin-stats-endpoint  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-12. Updated: 2026-07-12  
License: CC BY 4.0 with a link back

CVE-2026-56281 · Severity: low · CVSS 3.8 · Published 2026-07-12

Capgo, a tool for managing app updates, contains a security flaw in its administrative statistics dashboard. An authorized administrator could send a specially crafted request to the analytics system to view internal database structures or disrupt the analytics service. While this requires administrative access, it could allow a malicious insider or someone with stolen credentials to access data they are not supposed to see or cause a service outage.

Technologies: [Capgo](https://junglewise.ai/threats/technologies/capgo). Vendors: [Capgo](https://junglewise.ai/threats/vendors/capgo).

## Quick answers

**Is CVE-2026-56281 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-56281 being exploited in the wild.

**How severe is CVE-2026-56281?** Low severity, with a CVSS score of 3.8, published 12 July 2026.

**Which products and versions are affected?** Capgo < 12.128.2.

**Is there a fix for CVE-2026-56281?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2026-56281 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-56281?** Check whether you run Capgo at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

A SQL injection vulnerability exists in Capgo's `admin_stats.ts` backend function. The application uses a Zod schema to validate certain request body parameters but fails to include the `limit` and `offset` parameters in the validation logic. These unvalidated parameters are destructured directly from the raw request body and interpolated into raw SQL strings using JavaScript template literals within the Cloudflare Analytics Engine utility. An attacker with platform admin credentials can exploit this to inject SQL fragments, allowing for dataset schema enumeration, unauthorized data extraction, or denial-of-service attacks against the analytics backend. The issue is resolved in version 12.128.2 by including all parameters in the Zod validation schema.

## Affected products

- Capgo Capgo < 12.128.2

## Timeline

- 2026-05-07: advisory: GitHub Security Advisory published
- 2026-07-12: disclosed: CVE published to NVD

## References

- [https://github.com/Cap-go/capgo/security/advisories/GHSA-6ffx-8hjj-jhhf](https://github.com/Cap-go/capgo/security/advisories/GHSA-6ffx-8hjj-jhhf)
- [https://www.vulncheck.com/advisories/capgo-sql-injection-via-unvalidated-limit-parameter-in-admin-stats-endpoint](https://www.vulncheck.com/advisories/capgo-sql-injection-via-unvalidated-limit-parameter-in-admin-stats-endpoint)

## Related threats

- [Capgo access control bypass in SSO provider configuration](https://junglewise.ai/threats/cve-2026-100612-capgo-capgo-app-through-version-12-261-0-contains-an-incomplete)
- [Capgo information disclosure in SSO check-domain endpoint](https://junglewise.ai/threats/cve-2026-56336-capgo-information-disclosure-in-sso-check-domain-endpoint)
- [Capgo improper authorization in SSO prelink endpoint](https://junglewise.ai/threats/cve-2026-56313-capgo-improper-authorization-in-sso-prelink-endpoint)
- [Capgo insufficient authentication in email change endpoint](https://junglewise.ai/threats/cve-2026-56308-capgo-insufficient-authentication-in-email-change-endpoint)
- [Capgo incorrect authorization in webhook test endpoint](https://junglewise.ai/threats/cve-2026-56252-capgo-incorrect-authorization-in-webhook-test-endpoint)
