Details
- Set a non-default ACL policy. Vitess supports an
aclpolicy that defaults to allow-all. Setting it to a JSON file that denies unauthenticated access to debug endpoints (seego/acl/acl.go::savePolicy) would block the XSS, but the default policy is currently""(allow-all) and many users don't override it.
- Use a reverse proxy (nginx, envoy) in front of the vttablet HTTP port with a strict allowlist of clients.
Cross-references
- The bug is not related to: - CVE-2024-53257 (
/debug/querylogzHTML injection, fixed in v20.0.4 — different endpoint) - CVE-2026-27969 (backup MANIFEST path traversal) - CVE-2026-27965 / GHSA-8g8j-r87h-p36x (backup external decompressor RCE) - PR #20255 is the fix commit; PR #19486 (defense-in-depth) is a separate hardening change
Contact
- GitHub: @xylove21