CVE-2026-56221 Cap-go - SQL Injection in Cloudflare Analytics Engine Queries via cloudflare.ts

High 7.1 Published Updated

Authenticated users can inject SQL into Cap-go analytics queries to access other users' data via unsanitized API parameters.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-56221?

CVE-2026-56221 is a high-severity SQL injection vulnerability in Cap-go capgo, published on 22 Jun 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Cap-go before 12.128.2 contains multiple SQL injection vulnerabilities in cloudflare.ts where user-controlled values from API request bodies are interpolated directly into SQL query strings without sanitization or parameterization. Authenticated users with read-level API key permissions can inject arbitrary SQL through deviceIds, search, version_name, cursor, and actions parameters to access analytics data belonging to other users or applications.

Weakness: CWE-89

Which versions are affected by CVE-2026-56221?

How do I fix CVE-2026-56221?

No fix has been published for CVE-2026-56221 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-56221 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56221 exists.

Sources

Also known as GHSA-f83x-p28r-pf74.

Is CVE-2026-56221 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free