CVE-2018-16886
go.etcd.io/etcd Authentication Bypass
Also known as GHSA-h6xx-pmxh-3wgp, GO-2021-0077
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.
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
Vulnerability facts
- 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
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 6.8 (v3.0, CNA)CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NOpen in CVSS calculator
Show all 8 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
- EPSS
- 4.06% chance of exploitation in 30 days (percentile 91, 2026-11-26)
- CWE
- CWE-287
- Modified
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
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go go.etcd.io/etcd/v3 | >= 3.2.0, < 3.2.26 | 3.2.26, 3.3.11 | osv |
| Go go.etcd.io/etcd | < 0.5.0-alpha.5.0.20190108173120-83c051b701d3 | 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
- https://access.redhat.com/errata/RHSA-2019:0237
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4/
- https://access.redhat.com/errata/RHSA-2019:1352
- https://nvd.nist.gov/vuln/detail/CVE-2018-16886
Patches
Other
- https://github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.3.md#security-authentication
- http://www.securityfocus.com/bid/106540
- https://github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.2.md#security-authentication
- https://github.com/etcd-io/etcd
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS
- https://pkg.go.dev/vuln/GO-2021-0077
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.