# CVE-2018-16886: go.etcd.io/etcd Authentication Bypass

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.8
- **CVSS:** 6.8 (v3.0, CNA) `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: High; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 4.06% (percentile 91, 2026-11-26)
- **CWE:** CWE-287
- **Aliases:** GHSA-h6xx-pmxh-3wgp, GO-2021-0077
- **Published:** 2019-01-14T19:00:00.000Z
- **Modified:** 2026-09-10T03:49:28.808Z

## Who should check

- Projects that depend on Go package go.etcd.io/etcd/v3 (\>= 3.2.0, \< 3.2.26)
- Projects that depend on Go package go.etcd.io/etcd (\< 0.5.0-alpha.5.0.20190108173120-83c051b701d3)
- Anyone running The etcd Project etcd: versions 3.2.x before 3.2.26 and 3.3.x before 3.3.11

## Description

etcd versions 3.2.x before 3.2.26 and 3.3.x before 3.3.11 are vulnerable to an improper authentication issue when role-based access control (RBAC) is used and client-cert-auth is enabled. If an etcd client server TLS certificate contains a Common Name (CN) which matches a valid RBAC username, a remote attacker may authenticate as that user with any valid (trusted) client certificate in a REST API request to the gRPC-gateway.

## Affected and fixed versions

- Go `go.etcd.io/etcd/v3`: affected \>= 3.2.0, \< 3.2.26; fixed 3.2.26, 3.3.11 (osv)
- Go `go.etcd.io/etcd`: affected \< 0.5.0-alpha.5.0.20190108173120-83c051b701d3; fixed 0.5.0-alpha.5.0.20190108173120-83c051b701d3 (osv)
- The etcd Project etcd:: versions 3.2.x before 3.2.26 and 3.3.x before 3.3.11 (cvelist)

## Mitigation

- Upgrade go.etcd.io/etcd/v3 to one of 3.2.26, 3.3.11 (or later in the same release line).
- Upgrade go.etcd.io/etcd to 0.5.0-alpha.5.0.20190108173120-83c051b701d3 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2018-16886. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-16886.md
Affected: go.etcd.io/etcd/v3 >= 3.2.0, < 3.2.26; go.etcd.io/etcd < 0.5.0-alpha.5.0.20190108173120-83c051b701d3
Fixed in: 3.2.26, 3.3.11, 0.5.0-alpha.5.0.20190108173120-83c051b701d3

Steps:
1. Search this machine and project for go.etcd.io/etcd/v3 (Go), go.etcd.io/etcd (Go), The etcd Project etcd:: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2018-16886 being exploited?

There is no confirmed exploitation: CVE-2018-16886 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.06% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2018-16886?

Medium: CVSS 6.8 (v3.0, scored by CNA). Remote, login needed. The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2018-16886?

go.etcd.io/etcd/v3 \>= 3.2.0, \< 3.2.26; go.etcd.io/etcd \< 0.5.0-alpha.5.0.20190108173120-83c051b701d3.

### Is there a fix for CVE-2018-16886?

Yes. Fixed in 3.2.26, 3.3.11, 0.5.0-alpha.5.0.20190108173120-83c051b701d3. Upgrade go.etcd.io/etcd/v3 to one of 3.2.26, 3.3.11 (or later in the same release line). Upgrade go.etcd.io/etcd to 0.5.0-alpha.5.0.20190108173120-83c051b701d3 or later.

### How do I check if I'm affected by CVE-2018-16886?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://access.redhat.com/errata/RHSA-2019:0237>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS/>
- vendor: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4/>
- vendor: <https://access.redhat.com/errata/RHSA-2019:1352>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2018-16886>
- patch: <https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16886>
- patch: <https://github.com/etcd-io/etcd/pull/10366>
- patch: <https://github.com/etcd-io/etcd/commit/0191509637546621d6f2e18e074e955ab8ef374d>
- patch: <https://github.com/etcd-io/etcd/commit/bf9d0d8291dc71ecbfb2690612954e1a298154b2>
- other: <https://github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.3.md#security-authentication>
- other: <http://www.securityfocus.com/bid/106540>
- other: <https://github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.2.md#security-authentication>
- other: <https://github.com/etcd-io/etcd>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4>
- other: <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS>
- other: <https://pkg.go.dev/vuln/GO-2021-0077>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2018-16886>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-h6xx-pmxh-3wgp> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2021-0077> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2018-16886> · JSON: <https://flawdb.com/api/v1/entries/CVE-2018-16886>
