Advisory

GHSA-v75v-6fpf-gvw8

Details, part 2 of 2. The advisory

Details

  1. Set a non-default ACL policy. Vitess supports an acl policy that defaults to allow-all. Setting it to a JSON file that denies unauthenticated access to debug endpoints (see go/acl/acl.go::savePolicy) would block the XSS, but the default policy is currently "" (allow-all) and many users don't override it.
  1. 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/querylogz HTML 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

Sources & licences