GitHub Advisoryadvisory · Go
GHSA-8g8j-r87h-p36x Vitess users with backup storage access can gain unauthorized access to production deployment environments
HIGH
Official page ↗
- Aliases
- CVE-2026-27965
- Ecosystem
- Go
- Packages
- vitess.io/vitess
- Severity
- High
- CVSS vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:P/VC:H/VI:H/VA:L/SC:L/SI:L/SA:L
- Weaknesses
- CWE-78
- Reviewed
- 2026-02-26
Affected packages
• Go vitess.io/vitess: <= 0.23.2 (no fix yet)
Description
Impact
Any user with read/write access to the backup storage location (e.g. an S3 bucket) can manipulate backup manifest files so that arbitrary code is later executed when that backup is restored. This can be used to provide that attacker with unintended/unauthorized access to the production deployment environment — allowing them to access information available in that environment as well as run any additional arbitrary commands there.
Patches
Fixes are expected to be released with versions v23.0.3 and v22.0.4
See fix commit at https://github.com/vitessio/vitess/commit/4c0173293907af9cb942a6683c465c3f1e9fdb5c
Workarounds
If maintainers *intended* to use an external decompressor then they can always specify that decompressor command in the `--external-decompressor` flag value for `vttablet` and `vtbackup`. That then overrides any value specified in the manifest file.
If maintainers did *not intend* to use an external decompressor, nor an internal one, then they can specify a value such as `cat` or `tee` in the `--external-decompressor` flag value for `vttablet` and `vtbackup` to ensure that a harmless command is always used.
References
Users can read more about the issue here: https://github.com/vitessio/vitess/issues/19459
Related
Alias · CVE (1)
- CVE-2026-27965 Vitess is a database clustering system for horizontal scaling of MySQL. vulnerability
Weakness · CWE (1)
- CWE-78 Improper Neutralization of Special Elements used in an OS Command weakness
References
- https://github.com/vitessio/vitess/security/advisories/GHSA-8g8j-r87h-p36x web
- https://nvd.nist.gov/vuln/detail/CVE-2026-27965 advisory
- https://github.com/vitessio/vitess/issues/19459 web
- https://github.com/vitessio/vitess/pull/19460 web
- https://github.com/vitessio/vitess/commit/4c0173293907af9cb942a6683c465c3f1e9fdb5c web
- https://github.com/vitessio/vitess package