CVE-2026-104252Linuxfoundation Vitess
XSS injection in Vitess /twopcz debug endpoint
Critical 9.8 No auth needed
Follow: this CVE · Linuxfoundation · Linuxfoundation Vitess We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- —
- Auth required
- No
- Published
- Oct 13, 2026
- Updated
- Oct 23, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
Vitess prior to versions 23.0.5 and 24.0.2 fails to properly escape HTML values in the /twopcz debug endpoint, allowing script injection. An unauthenticated remote attacker can send crafted requests that execute JavaScript in an operator's browser, accessing sensitive diagnostic data such as queries, transactions, and deployment variables.
Show the original NVD text
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.
What to do
Patch available · fixed versions: 23.0.5, 24.0.2
Update Vitess to version 23.0.5 or 24.0.2 depending on your branch. Implement ACL restrictions on the /twopcz endpoint if possible.
- Apply the vendor's security update for Vitess.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | vitess.io/vitess |
< 0.23.5 |
0.23.5 |
go get vitess.io/vitess@v0.23.5 |
| Go | vitess.io/vitess |
≥ 0.24.0 < 0.24.2 |
0.24.2 |
go get vitess.io/vitess@v0.24.2 |
| Go | vitess.io/vitess |
< 0.23.5 |
0.23.5 |
go get vitess.io/vitess@v0.23.5 |
| Go | vitess.io/vitess |
≥ 0.24.0 < 0.24.2 |
0.24.2 |
go get vitess.io/vitess@v0.24.2 |
Per OSV / GitHub Advisories (GHSA-v75v-6fpf-gvw8, GO-2026-6798). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| linuxfoundation | vitess | < 23.0.5 |
| linuxfoundation | vitess | ≥ 24.0.0 < 24.0.2 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:24730-1 · Nov 12, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:22336-1 · Nov 12, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Patch
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- github.com Issue Tracking Patch
- github.com Release Notes
- github.com Release Notes
- github.com Vendor Advisory Exploit Mitigation