CVE-2026-104252: Vitess vttablet /twopcz reflected XSS

Published Oct 13, 2026
·
Updated

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.

Affected Software

1 affected component
Vitess Vitess<23.0.5, <24.0.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Vitess to a version that resolves this vulnerability.

    Fixed in 23.0.5
  2. Upgrade

    Upgrade Vitess to a version that resolves this vulnerability.

    Fixed in 24.0.2

Event History

Oct 13, 2026
CVE Published
via MITRE·07:22 PM
Data Sourced
via MITRE·07:22 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed to exploitation?

vttablet and vtcombo instances that expose the /twopcz HTTP debug endpoint are affected when using the default allow-all ACL policy. The issue affects versions before 23.0.5 and 24.0.2.

2

What must an attacker do to exploit this issue?

An unauthenticated remote attacker must cause an operator to open a crafted request to the /twopcz endpoint. The injected script then executes in the operator's browser under the vttablet debug origin.

3

What could an attacker access through successful exploitation?

The script can read same-origin diagnostic endpoints available in that deployment. These may expose query, transaction, environment, variable, or profiling data.

4

What can be done if an immediate upgrade is not possible?

Restrict access to the vttablet and vtcombo /twopcz debug endpoint rather than relying on the default allow-all ACL policy. This reduces the ability of unauthenticated remote attackers to deliver the crafted request.

5

How can I remediate the vulnerability?

Upgrade Vitess to version 23.0.5 or 24.0.2, which contain the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203