CVE-2026-104252 Vitess vttablet /twopcz reflected XSS

Critical 9.8 Published Updated

An attacker can execute scripts in an operator's browser via the vttablet debug endpoint, potentially exposing sensitive diagnostic data.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-104252?

CVE-2026-104252 is a critical cross-site scripting vulnerability in vitessio vitess, published on 13 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Vitess is a database clustering system for horizontal scaling of MySQL. Prior to 23.0.5 and 24.0.2, twopczHandler in go/vt/vttablet/tabletserver/twopcz.go writes the Action and dtid form values from the vttablet and vtcombo /twopcz HTTP debug endpoint into a text/html response without HTML escaping. Under the default allow-all ACL policy, a remote unauthenticated attacker can send an operator a crafted request that executes script in the operator's browser after the request is opened. The script runs with the vttablet debug origin and can read same-origin diagnostic endpoints that expose query, transaction, environment, variable, or profiling data available in that deployment. This issue is fixed in versions 23.0.5 and 24.0.2.

Weakness: CWE-79

Which versions are affected by CVE-2026-104252?

4 open source packages ship an affected version, including vitess.io/vitess. It affects 1 product.

PackageAffectedFixed in
vitess.io/vitess GoAll versions0.23.5
vitess.io/vitess GoAll versions0.23.5
vitess.io/vitess GoFrom 0.24.00.24.2
vitess.io/vitess GoFrom 0.24.00.24.2

Products include Linuxfoundation Vitess.

How do I fix CVE-2026-104252?

Upgrade vitess.io/vitess to a fixed version for your release line: 0.23.5 or 0.24.2.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2026-104252 being exploited?

There is no known exploitation of CVE-2026-104252 in the wild and no public exploit code.

Sources

Also known as AZL-108039, GHSA-v75v-6fpf-gvw8.

Is CVE-2026-104252 in your software?

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

Check your SBOMs for free