# CVE-2018-1098: etcd Cross-site Request Forgery (CSRF)

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

- **Severity:** HIGH 8.8
- **CVSS:** 8.8 (v3.0, NVD) `CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** Yes (see exploit references)
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 1.22% (percentile 69, 2026-11-26)
- **CWE:** CWE-352
- **Aliases:** GHSA-5gjm-fj42-x983
- **Published:** 2018-04-03T16:00:00.000Z
- **Modified:** 2026-06-17T01:50:28.537Z

## Who should check

- Projects that depend on Go package go.etcd.io/etcd/v3 (\< 3.4.0)
- Anyone running Red Hat, Inc. etcd 3.3.1 and earlier

## Description

A cross-site request forgery flaw was found in etcd 3.3.1 and earlier. An attacker can set up a website that tries to send a POST request to the etcd server and modify a key. Adding a key is done with PUT so it is theoretically safe (can't PUT from an HTML form or such) but POST allows creating in-order keys that an attacker can send.

## Affected and fixed versions

- Go `go.etcd.io/etcd/v3`: affected \< 3.4.0; fixed 3.4.0 (osv)
- Red Hat, Inc. etcd: 3.3.1 and earlier (cvelist)

## Mitigation

- Upgrade go.etcd.io/etcd/v3 to 3.4.0 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-1098. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2018-1098.md
Affected: go.etcd.io/etcd/v3 < 3.4.0
Fixed in: 3.4.0

Steps:
1. Search this machine and project for go.etcd.io/etcd/v3 (Go), Red Hat, Inc. 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-1098 being exploited?

There is no confirmed exploitation: CVE-2018-1098 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.22% chance of exploitation in the next 30 days (as of 2026-11-26).

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

High: CVSS 8.8 (v3.0, scored by NVD). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

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

go.etcd.io/etcd/v3 \< 3.4.0.

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

Yes. Fixed in 3.4.0. Upgrade go.etcd.io/etcd/v3 to 3.4.0 or later.

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

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://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://nvd.nist.gov/vuln/detail/CVE-2018-1098>
- patch: <https://github.com/coreos/etcd/commit/a7e5790c82039945639798ae9a3289fe787f5e56>
- exploit: <https://github.com/coreos/etcd/issues/9353>
- other: <https://bugzilla.redhat.com/show_bug.cgi?id=1552714>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JX7QTIT465BQGRGNCE74RATRQLKT2QE4>
- other: <https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UPGYHMSKDPW5GAMI7BEP3XQRVRLLBJKS>
- 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>

## 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-1098>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-5gjm-fj42-x983> (license: <https://creativecommons.org/licenses/by/4.0/>)

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