CVE-2026-56281 Capgo - SQL Injection via Unvalidated limit Parameter in Admin Stats Endpoint
An authenticated admin can inject SQL into the analytics endpoint to read data or cause denial of service.
- Exploited in the wild
- Not known
- Login needed
- An administrator
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-56281?
CVE-2026-56281 is a medium-severity SQL injection vulnerability in Capgo, published on 12 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.
Official 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.
Weakness: CWE-89
Which versions are affected by CVE-2026-56281?
How do I fix CVE-2026-56281?
No fix has been published for CVE-2026-56281 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-56281 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56281 exists.
Sources
Also known as GHSA-6ffx-8hjj-jhhf, GHSA-p2w3-hw46-3q2w.