CVE-2026-104252 Vitess vttablet /twopcz reflected XSS
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.
| Package | Affected | Fixed in |
|---|---|---|
vitess.io/vitess Go | All versions | 0.23.5 |
vitess.io/vitess Go | All versions | 0.23.5 |
vitess.io/vitess Go | From 0.24.0 | 0.24.2 |
vitess.io/vitess Go | From 0.24.0 | 0.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.
Other vulnerabilities in vitessio vitess
- CVE-2026-27969 Vitess users with backup storage access can write to arbitrary file paths on restore
- CVE-2026-27965 Vitess users with backup storage access can gain unauthorized access to production deployment environments
- CVE-2023-29195 Vitess VTAdmin users that can create shards can deny access to other functions
- CVE-2023-29194 vitess allows users to create keyspaces that can deny access to already existing keyspaces
Sources
Also known as AZL-108039, GHSA-v75v-6fpf-gvw8.