CVE-2026-104252 Vitess vttablet /twopcz reflected XSS
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: total
- Technology
- MySQL
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.
Upgrade path
4 packages: 3 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| azure linux vitess(Azure Linux 3.0) | < 19.0.4-16 | 19.0.4-16 | Fixed |
| linuxfoundation vitess | < 23.0.5; >= 24.0.0, < 24.0.2 | 23.0.5, 24.0.2 | Fixed |
| vitess.io/vitess(Go) | < 0.23.5; >= 0.24.0, < 0.24.2 | 0.23.5, 0.24.2 | Fixed |
| vitessio vitess | = < 23.0.5; = >= 24.0.0, < 24.0.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| vitessio vitess | = < 23.0.5 | No fix listed |
| vitessio vitess | = >= 24.0.0, < 24.0.2 | No fix listed |
| vitess.io/vitess(Go) | < 0.23.5 | 0.23.5 |
| vitess.io/vitess(Go) | >= 0.24.0, < 0.24.2 | 0.24.2 |
| linuxfoundation vitess | < 23.0.5 | 23.0.5 |
| linuxfoundation vitess | >= 24.0.0, < 24.0.2 | 24.0.2 |
| azure linux vitess(Azure Linux:3.0) | < 19.0.4-16 | 19.0.4-16 |
References
- https://github.com/vitessio/vitess/security/advisories/GHSA-v75v-6fpf-gvw8 exploit mitigation vendor-advisory
- https://github.com/vitessio/vitess/pull/20255 issue-tracking patch
- https://github.com/vitessio/vitess/pull/20273 issue-tracking patch
- https://github.com/vitessio/vitess/pull/20274 issue-tracking patch
- https://github.com/vitessio/vitess/commit/3140c1846cd120db34f33b2083139b4ab638aed2 patch
- https://github.com/vitessio/vitess/commit/976e1e0d78f9d29d02e5e31b4aa7e180648f08af patch
- https://github.com/vitessio/vitess/commit/c1ed96302e658190168c971afdac730cf70e43f7 patch
- https://github.com/vitessio/vitess/releases/tag/v23.0.5 release-notes
- https://github.com/vitessio/vitess/releases/tag/v24.0.2 release-notes
- MSRC Security Update Guide vendor-advisory
- Release Notes vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com
- ENISA EUVD EUVD-2026-100525 third-party-advisory