Description
Capgo before 12.128.2 contains a sql injection vulnerability in the POST /private/admin_stats endpoint where the limit parameter is destructured from unvalidated request body and interpolated directly into Cloudflare Analytics Engine SQL queries via template literals. An attacker with platform admin credentials can inject SQL fragments to enumerate dataset schemas, extract analytics data, or cause denial-of-service against the analytics backend.
Published: 2026-07-12
Score: 5.1 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Capgo before version 12.128.2 contains a flaw where the limit parameter of the POST /private/admin_stats endpoint is taken directly from an unvalidated request body and interpolated into Cloudflare Analytics Engine SQL queries via template literals. An attacker who holds platform administrator credentials can inject arbitrary SQL fragments, allowing enumeration of database schemas, extraction of sensitive analytics data, or execution of heavy queries that may cause a denial of service against the analytics backend. The vulnerability is a classic SQL injection scenario with no input validation or parameterization.

Affected Systems

Any deployment of Capgo that has not been updated to 12.128.2 or later is vulnerable. The endpoint is only accessible to platform administrators, so the threat is limited to users with admin rights; non‑admin users are not directly affected by this flaw.

Risk and Exploitability

The CVSS score of 5.1 classifies the vulnerability as moderate. The EPSS score of < 1% indicates a very low likelihood of exploitation, and the vulnerability is not listed in CISA KEV. However, the requirement of administrative privileges reduces the potential attacker pool but still permits significant data exposure or service disruption. Given the moderate severity and the possibility of data theft or denial of service, timely remediation is recommended.

Generated by OpenCVE AI on August 1, 2026 at 11:09 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Capgo to version 12.128.2 or newer to remove the vulnerable code path.
  • Implement input validation or parameterized queries for the limit parameter, specifically addressing CWE‑89: Improper Input Validation, to prevent SQL injection.
  • Restrict the /private/admin_stats endpoint to trusted administrators and monitor analytics queries for anomalous activity.

Generated by OpenCVE AI on August 1, 2026 at 11:09 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Mon, 13 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'}


Mon, 13 Jul 2026 14: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

Sun, 12 Jul 2026 12:15:00 +0000

Type Values Removed Values Added
Description Capgo before 12.128.2 contains a sql injection vulnerability in the POST /private/admin_stats endpoint where the limit parameter is destructured from unvalidated request body and interpolated directly into Cloudflare Analytics Engine SQL queries via template literals. An attacker with platform admin credentials can inject SQL fragments to enumerate dataset schemas, extract analytics data, or cause denial-of-service against the analytics backend.
Title Capgo - SQL Injection via Unvalidated limit Parameter in Admin Stats Endpoint
Weaknesses CWE-89
References
Metrics cvssV3_1

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

cvssV4_0

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


cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-07-13T14:21:17.138Z

Reserved: 2026-06-20T01:51:24.919Z

Link: CVE-2026-56281

cve-icon Vulnrichment

Updated: 2026-07-13T14:21:12.380Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-01T11:15:03Z

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')