CVE-2018-16886
go.etcd.io/etcd Authentication Bypass
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- High
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
6.8
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.
- Record
CVE-2018-16886- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-287
- Updated
- 2026-11-02
EUVDEUVD-2022-1756
6.8
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.
- Record
EUVD-2022-1756- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-h6xx-pmxh-3wgp
8.1
go.etcd.io/etcd Authentication Bypass
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.
- Record
GHSA-h6xx-pmxh-3wgp- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-285, CWE-287
- Updated
- 2026-11-02
NVD
8.1
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.
- Record
CVE-2018-16886- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS 2.0
- 6.8 Medium
AV:N/AC:M/Au:N/C:P/I:P/A:P - Weakness
- CWE-287
- Updated
- 2026-11-02
OSV
8.1
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.
- Record
CVE-2018-16886- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVDEBIAN-CVE-2018-16886
8.1
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.
- Record
DEBIAN-CVE-2018-16886- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
Show 6 moreShow less
OSVGHSA-h6xx-pmxh-3wgp
8.1
go.etcd.io/etcd Authentication Bypass
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.
- Record
GHSA-h6xx-pmxh-3wgp- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-285, CWE-287
- Updated
- 2026-11-02
OSVRHSA-2019:1352
6.8
Red Hat Security Advisory: etcd security, bug fix, and enhancement update
- Record
RHSA-2019:1352- CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVUBUNTU-CVE-2018-16886
8.1
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.
- Record
UBUNTU-CVE-2018-16886- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H - CVSS 3.0
- 6.8 Medium
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVGO-2021-0077 No score
Authentication bypass in go.etcd.io/etcd
A user can use a valid client certificate that contains a CommonName that matches a valid RBAC username to authenticate themselves as that user, despite lacking the required credentials. This may allow authentication bypass, but requires a certificate that is issued by a CA trusted by the server.
- Record
GO-2021-0077- Updated
- 2026-11-02
OSVopenSUSE-SU-2024:10741-1 No score
etcd-3.4.16-3.1 on GA media
These are all security issues fixed in the etcd-3.4.16-3.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2024:10741-1- Updated
- 2026-11-02
OSVSUSE-SU-2024:3656-1 No score
Security update for etcd
This update for etcd fixes the following issues:
Update to version 3.5.12:
Security fixes:
- CVE-2018-16873: Fixed remote command execution in cmd/go (bsc#1118897)
- CVE-2018-16874: Fixed directory traversal in cmd/go (bsc#1118898)
- CVE-2018-16875: Fixed CPU denial of service in crypto/x509 (bsc#1118899)
- CVE-2018-16886: Fixed improper authentication issue when RBAC and client-cert-auth is enabled (bsc#1121850)
- CVE-2020-15106: Fixed panic in decodeRecord method (bsc#1174951)
- CVE-2020-15112: Fixed improper checks in entry index (bsc#1174951)
- CVE-2021-28235: Fixed information discosure via debug function (bsc#1210138)
- CVE-2022-41723: Fixed quadratic complexity in HPACK decoding in net/http (bsc#1208270, bsc#1208297)
- CVE-2023-29406: Fixed insufficient sanitization of Host header in go net/http (bsc#1213229)
- CVE-2023-47108: Fixed DoS vulnerability in otelgrpc (bsc#1217070)
- CVE-2023-48795: Fixed prefix truncation breaking ssh channel integrity (aka Terrapin Attack) in crypto/ssh (bsc#1217950, bsc#1218150)
Other changes:
- Added hardening to systemd service(s) (bsc#1181400)
- Fixed static /tmp file issue (bsc#1199031)
- Fixed systemd service not starting (bsc#1183703)
Full changelog:
- Record
SUSE-SU-2024:3656-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
go.etcd.io/etcd/v3Go |
3.2.0 up to 3.2.26 | 3.2.26 |
go.etcd.io/etcd/v3Go |
3.3.0 up to 3.3.11 | 3.3.11 |
go.etcd.io/etcdGo |
before 0.5.0-alpha.5.0.20190108173120-83c051b701d3 | 0.5.0-alpha.5.0.20190108173120-83c051b701d3 |
etcdDebian:12 |
before 3.2.26+dfsg-1 | 3.2.26+dfsg-1 |
etcdDebian:13 |
before 3.2.26+dfsg-1 | 3.2.26+dfsg-1 |
etcdDebian:14 |
before 3.2.26+dfsg-1 | 3.2.26+dfsg-1 |
etcdRed Hat:rhel_extras_other:7 |
before 0:3.2.26-1.el7 | 0:3.2.26-1.el7 |
etcd-debuginfoRed Hat:rhel_extras_other:7 |
before 0:3.2.26-1.el7 | 0:3.2.26-1.el7 |
etcdopenSUSE:Leap 15.5 From an advisory covering 11 CVEs |
before 3.5.12-150000.7.6.1 | 3.5.12-150000.7.6.1 |
etcdopenSUSE:Leap 15.6 From an advisory covering 11 CVEs |
before 3.5.12-150000.7.6.1 | 3.5.12-150000.7.6.1 |
etcdUbuntu:Pro:18.04:LTS |
All versions, plus listed versions 3.1.0-13.2.9+dfsg-23.2.9+dfsg-33.2.17+dfsg-13.2.17+dfsg-1ubuntu0.1~esm13.2.17+dfsg-1ubuntu0.13.2.17+dfsg-1ubuntu0.1+esm13.2.17+dfsg-1ubuntu0.1+esm2 |
None known |
etcdopenSUSE:Tumbleweed From an advisory covering 5 CVEs |
before 3.4.16-3.1 | 3.4.16-3.1 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, facts | ||
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2018-16886 is a medium vulnerability (CVSS 6.8) in Etcd, published January 14, 2019. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 4.06%, the 90th percentile. Fixed in go.etcd.io/etcd/v3 3.2.26.
References
github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.3.md
securityfocus.com/bid/106540
github.com/etcd-io/etcd/blob/1eee465a43720d713bb69f7b7f5e120135fdb1ac/CHANGELOG-3.2.md
access.redhat.com/errata/RHSA-2019:0237
bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16886
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS
Show 51 moreShow less
lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4
access.redhat.com/errata/RHSA-2019:1352
nvd.nist.gov/vuln/detail/CVE-2018-16886
github.com/etcd-io/etcd/pull/10366
github.com/etcd-io/etcd/commit/0191509637546621d6f2e18e074e955ab8ef374d
github.com/etcd-io/etcd/commit/bf9d0d8291dc71ecbfb2690612954e1a298154b2
lists.fedoraproject.org/archives/list/[email protected]/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4
lists.fedoraproject.org/archives/list/[email protected]/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS
pkg.go.dev/vuln/GO-2021-0077
github.com/advisories/GHSA-h6xx-pmxh-3wgp
security-tracker.debian.org/tracker/CVE-2018-16886
github.com/etcd-io/etcd
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1651034
bugzilla.redhat.com/show_bug.cgi?id=1676902
security.access.redhat.com/data/csaf/v2/advisories/2019/rhsa-2019_1352.json
access.redhat.com/security/cve/CVE-2018-16886
cve.org/CVERecord?id=CVE-2018-16886
suse.com/support/update/announcement/2024/suse-su-20243656-1
bugzilla.suse.com/1095184
bugzilla.suse.com/1118897
bugzilla.suse.com/1118898
bugzilla.suse.com/1118899
bugzilla.suse.com/1121850
bugzilla.suse.com/1174951
bugzilla.suse.com/1181400
bugzilla.suse.com/1183703
bugzilla.suse.com/1199031
bugzilla.suse.com/1208270
bugzilla.suse.com/1208297
bugzilla.suse.com/1210138
bugzilla.suse.com/1213229
bugzilla.suse.com/1217070
bugzilla.suse.com/1217950
bugzilla.suse.com/1218150
suse.com/security/cve/CVE-2018-16873
suse.com/security/cve/CVE-2018-16874
suse.com/security/cve/CVE-2018-16875
suse.com/security/cve/CVE-2018-16886
suse.com/security/cve/CVE-2020-15106
suse.com/security/cve/CVE-2020-15112
suse.com/security/cve/CVE-2021-28235
suse.com/security/cve/CVE-2022-41723
suse.com/security/cve/CVE-2023-29406
suse.com/security/cve/CVE-2023-47108
suse.com/security/cve/CVE-2023-48795
ubuntu.com/security/CVE-2018-16886
github.com/etcd-io/etcd/commit/a9a9466fb8ba11ad7bb6a44d7446fbd072d59887
github.com/etcd-io/etcd/commit/99704e2a97e8710da942bdc737417fc9c9a2c03f
github.com/etcd-io/etcd/commit/83c051b701d33261eef91a719e4421c81b000ba4
github.com/etcd-io/etcd/pull/10386