CVE-2018-11766: Arbitrary Command Execution in Hadoop

Summary

21/12/2018
Yes i
High
8.8

CVE-2018-11766: Arbitrary Command Execution in Hadoop. Affects org.apache.hadoop:hadoop-main versions >= 2.7.4, < 2.7.7. Fixed in 2.7.7. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

Apache Hadoop is an open-source framework used for distributed storage and processing of large datasets. It provides a scalable and reliable platform for big data analytics. The 'org.apache.hadoop:hadoop-main' package is a core component of Hadoop, responsible for various functionalities such as resource management and job scheduling. However, versions 2.7.4 to 2.7.6 of this package are vulnerable to an incomplete security fix for CVE-2016-6811.

Vulnerability Detail

The vulnerability allows a user with the ability to escalate to the 'yarn' user to execute arbitrary commands as the root user. This can lead to unauthorized access, privilege escalation, and potential compromise of the entire Hadoop system. The incomplete security fix in the affected versions leaves a loophole for malicious users to exploit and gain unauthorized control over the system.

How To Fix

Latest published version: 3.5.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.7.7

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. However, it is strongly advised to apply the recommended fix by upgrading to the latest version of the 'org.apache.hadoop:hadoop-main' package.

Conclusion

The vulnerability CVE-2018-11766 in the 'org.apache.hadoop:hadoop-main' package of Apache Hadoop versions 2.7.4 to 2.7.6 allows for arbitrary command execution as the root user. It is crucial to promptly upgrade to version 2.7.7 or later to mitigate the risk of unauthorized access and potential compromise of the Hadoop system. For further support on vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.apache.hadoop:hadoop-main →

Share this vulnerability

FAQ

Apache Hadoop is an open-source framework for distributed storage and processing of large datasets. It provides a scalable and reliable platform for big data analytics.

The 'org.apache.hadoop:hadoop-main' package is a core component of Hadoop, responsible for various functionalities such as resource management and job scheduling.

CVE-2018-11766 is a vulnerability in Apache Hadoop versions 2.7.4 to 2.7.6, which allows a user to execute arbitrary commands as the root user.

The vulnerability can lead to unauthorized access, privilege escalation, and potential compromise of the entire Hadoop system.

To fix this vulnerability, it is recommended to upgrade the 'org.apache.hadoop:hadoop-main' package to version 2.7.7 or later.

Related vulnerabilities

Recent vulnerabilities recorded for org.apache.hadoop:hadoop-main.

How To Fix

Latest published version: 3.5.0 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

2.7.7

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback