Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. go.etcd.io/etcd/v3
  4. ›
  5. GHSA-xg4h-6gfc-h4m8

GHSA-xg4h-6gfc-h4m8: etcd: Watch API authorization bypass via open-ended range requests

July 24, 2026

What kind of vulnerability is it? Who is impacted?

A user granted READ permission on a single, exact key can use the Watch gRPC API with clientv3.WithFromKey() (an open-ended, “from this key to the end of the keyspace” watch) to receive watch events for every key lexicographically greater than or equal to their permitted key — not just the one key they were granted.

This is an authorization bypass in etcd’s RBAC enforcement for the Watch API; Range/Get and DeleteRange requests are not affected. It only affects clusters with authentication enabled — clusters running without auth already allow unrestricted read access.

References

  • github.com/advisories/GHSA-xg4h-6gfc-h4m8
  • github.com/etcd-io/etcd/commit/6643f80602461a6095c9b294b6512fd9719bef41
  • github.com/etcd-io/etcd/commit/afeaa624da19085b47fb5ccc7c22a8c421bc2eae
  • github.com/etcd-io/etcd/commit/e863b001bbf3367003a543aa3099db9892134cd7
  • github.com/etcd-io/etcd/releases/tag/v3.5.33
  • github.com/etcd-io/etcd/releases/tag/v3.6.14
  • github.com/etcd-io/etcd/releases/tag/v3.7.1
  • github.com/etcd-io/etcd/security/advisories/GHSA-xg4h-6gfc-h4m8

Code Behaviors & Features

Detect and mitigate GHSA-xg4h-6gfc-h4m8 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.5.33, all versions starting from 3.6.0 before 3.6.14, all versions starting from 3.7.0-alpha.0 before 3.7.1

Fixed versions

  • 3.5.33
  • 3.6.14
  • 3.7.1

Solution

Upgrade to versions 3.5.33, 3.6.14, 3.7.1 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/go.etcd.io/etcd/v3/GHSA-xg4h-6gfc-h4m8.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:17:30 +0000.