# CVE-2018-8029: Privilege escalation vulnerability in Apache Hadoop

> 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:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 3.91% (percentile 91, 2026-11-26)
- **CWE:** CWE-285
- **Aliases:** GHSA-37pw-qw47-4jxm
- **Published:** 2019-05-30T15:15:42.000Z
- **Modified:** 2026-06-17T02:04:07.567Z

## Who should check

- Projects that depend on Maven package org.apache.hadoop:hadoop-main (\>= 2.2.0, \< 2.8.4)
- Anyone running Apache Hadoop Apache Hadoop 3.0.0-alpha1 to 3.1.0, 2.9.0 to 2.9.1, 2.2.0 to 2.8.4

## Description

In Apache Hadoop versions 3.0.0-alpha1 to 3.1.0, 2.9.0 to 2.9.1, and 2.2.0 to 2.8.4, a user who can escalate to yarn user can possibly run arbitrary commands as root user.

## Affected and fixed versions

- Maven `org.apache.hadoop:hadoop-main`: affected \>= 2.2.0, \< 2.8.4; fixed 2.8.4, 2.9.2, 3.1.1 (osv)
- Apache Hadoop: Apache Hadoop 3.0.0-alpha1 to 3.1.0, 2.9.0 to 2.9.1, 2.2.0 to 2.8.4 (cvelist)

## Mitigation

- Upgrade org.apache.hadoop:hadoop-main to one of 2.8.4, 2.9.2, 3.1.1 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2018-8029.md
Affected: org.apache.hadoop:hadoop-main >= 2.2.0, < 2.8.4
Fixed in: 2.8.4, 2.9.2, 3.1.1

Steps:
1. Search this machine and project for org.apache.hadoop:hadoop-main (Maven), Apache Hadoop: 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-8029 being exploited?

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

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

High: CVSS 8.8 (v3.0, scored by NVD). Remote, login needed.

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

org.apache.hadoop:hadoop-main \>= 2.2.0, \< 2.8.4.

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

Yes. Fixed in 2.8.4, 2.9.2, 3.1.1. Upgrade org.apache.hadoop:hadoop-main to one of 2.8.4, 2.9.2, 3.1.1 (or later in the same release line).

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

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://nvd.nist.gov/vuln/detail/CVE-2018-8029>
- other: <https://lists.apache.org/thread.html/17084c09e6dedf60efe08028b429c92ffd28aacc28454e4fa924578a%40%3Cgeneral.hadoop.apache.org%3E>
- other: <https://lists.apache.org/thread.html/a97c53a81e639ca2fc7b8f61a4fcd1842c2a78544041244a7c624727%40%3Cissues.hbase.apache.org%3E>
- other: <http://www.securityfocus.com/bid/108518>
- other: <https://lists.apache.org/thread.html/a0164b87660223a2d491f83c88f905fe1a9fa8dc795148d9b0d968c8%40%3Cdev.hbase.apache.org%3E>
- other: <https://lists.apache.org/thread.html/0b8d58e02dbd0fb8bf7320c514fe58da1d6728bdc150f1ba04e0d9fc%40%3Cissues.hbase.apache.org%3E>
- other: <https://security.netapp.com/advisory/ntap-20190617-0001/>
- other: <https://lists.apache.org/thread.html/r4dddf1705dbedfa94392913b2dad1cd2d1d89040facd389eea0b3510%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rb21df54a4e39732ce653d2aa5672e36a792b59eb6717f2a06bb8d02a%40%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/0b8d58e02dbd0fb8bf7320c514fe58da1d6728bdc150f1ba04e0d9fc@%3Cissues.hbase.apache.org%3E>
- other: <https://lists.apache.org/thread.html/17084c09e6dedf60efe08028b429c92ffd28aacc28454e4fa924578a@%3Cgeneral.hadoop.apache.org%3E>
- other: <https://lists.apache.org/thread.html/a0164b87660223a2d491f83c88f905fe1a9fa8dc795148d9b0d968c8@%3Cdev.hbase.apache.org%3E>
- other: <https://lists.apache.org/thread.html/a97c53a81e639ca2fc7b8f61a4fcd1842c2a78544041244a7c624727@%3Cissues.hbase.apache.org%3E>
- other: <https://lists.apache.org/thread.html/r4dddf1705dbedfa94392913b2dad1cd2d1d89040facd389eea0b3510@%3Ccommits.druid.apache.org%3E>
- other: <https://lists.apache.org/thread.html/rb21df54a4e39732ce653d2aa5672e36a792b59eb6717f2a06bb8d02a@%3Ccommits.druid.apache.org%3E>
- other: <https://security.netapp.com/advisory/ntap-20190617-0001>

## 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-8029>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-37pw-qw47-4jxm> (license: <https://creativecommons.org/licenses/by/4.0/>)

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