Home / Apache Software Foundation / Apache Hadoop / CVE-2023-26031
CVE-2023-26031: is it exploited, and which versions of Apache Software Foundation Apache Hadoop are affected and fixed?
CVE-2023-26031 is an untrusted Search Path vulnerability in Apache Software Foundation Apache Hadoop. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: org.apache.hadoop:hadoop-yarn-project from 3.3.1 before 3.3.5 (GitHub advisory GHSA-94jh-j374-9r3j). Fixed in 3.3.5 (GitHub advisory GHSA-94jh-j374-9r3j). Severity: High (7.5, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:34 UTC.
What is CVE-2023-26031?
Privilege escalation in Apache Hadoop Yarn container-executor binary on Linux systems
Relative library resolution in linux container-executor binary in Apache Hadoop 3.3.1-3.3.4 on Linux allows local user to gain root privileges. If the YARN cluster is accepting work from remote (authenticated) users, this MAY permit remote users to gain root privileges. Hadoop 3.3.0 updated the " YARN Secure Containers https://hadoop.apache.org/docs/stable/hadoop-yarn/hadoop-yarn-site/SecureContainer.html " to add a feature for executing user-submitted applications in isolated linux containers. The native binary HADOOP_HOME/bin/container-executor is used to launch these containers; it must be owned by root and have the suid bit set in order for the YARN processes to run the containers as the specific users submitting the jobs. The patch " YARN-10495 https://issues.apache.org/jira/browse/YARN-10495 . make the rpath of container-executor configurable" modified the library loading path for loading .so files from "$ORIGIN/" to ""$ORIGIN/:../lib/native/". This is the a path through which libcrypto.so is located. Thus it is is possible for a user with reduced privileges to install a malicious libcrypto library into a path to which they have write access, invoke the container-executor command, and have their modified library executed as root. If the YARN cluster is accepting work from remote (authenticated) users, and these users' submitted job are executed in the physical host, rather than a container, then the CVE permits remote users to gain root privileges. The fix for the vulnerability is to revert the change, which is done in YARN-11441 https://issues.apache.org/jira/browse/YARN-11441 , "Revert YARN-10495". This patch is in hadoop-3.3.5. To determine whether a version of container-executor is vulnerable, use the readelf command. If the RUNPATH or RPATH value contains the relative path "./lib/native/" then it is at risk $ readelf -d container-executor|grep 'RUNPATH\|RPATH' 0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/:../lib/native/] If it does not, then it is safe: $ readelf -d container-executor|grep 'RUNPATH\|RPATH' 0x000000000000001d (RUNPATH) Library runpath: [$ORIGIN/] For an at-risk version of container-executor to enable privilege escalation, the owner must be root and the suid bit must be set $ ls -laF /opt/hadoop/bin/container-executor ---Sr-s---. 1 root hadoop 802968 May 9 20:21 /opt/hadoop/bin/container-executor A safe installation lacks the suid bit; ideally is also not owned by root. $ ls -laF /opt/hadoop/bin/container-executor -rwxr-xr-x. 1 yarn hadoop 802968 May 9 20:21 /opt/hadoop/bin/container-executor This configuration does not support Yarn Secure Containers, but all other hadoop services, including YARN job execution outside secure containers continue to work.
From the CVE record by apache, last updated February 13, 2025, 16:44 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Apache Software Foundation | Apache Hadoop | from 3.3.1 before 3.3.5 | 3.3.5 |
As the CVE record by apache states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Maven | org.apache.hadoop:hadoop-yarn-project | >= 3.3.1, < 3.3.5 | 3.3.5 | GHSA-94jh-j374-9r3j |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 10, 2025. Summary: Apache Hadoop allows local user to gain root privileges.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| apache | hadoop | from 3.3.1 through 3.3.4 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:42 UTC.
How severe is CVE-2023-26031?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | CISA-ADP |
| High 7.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-26031 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, July 19, 2024)
- EPSS
- 2.59% probability of exploitation activity in the next 30 days, percentile 85.8 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-426 Untrusted Search Path
Is there a workaround? (from the CVE record)
* Upgrade to Apache Hadoop 3.3.5 * If Yarn Secure Containers are not required, remove all execute permissions on bin/container-executor ; change its owner from root, or simply delete it. * If Yarn Secure Containers are required on a vulnerable release and upgrade is not possible, replace the container-executor binary with that of the 3.3.5 release. As most Hadoop installations do not use Yarn Secure Containers, removing execute permissions from the container-executor binary a is sufficient to secure the systems; deletion ensures that no security scanners will report the issue.
Where are the vendor advisories and references?
- https://issues.apache.org/jira/browse/YARN-11441 issue-tracking
- https://hadoop.apache.org/cve_list.html vendor-advisory
- https://lists.apache.org/thread/q9qpdlv952gb4kphpndd5phvl7fkh71r vendor-advisory
- https://security.netapp.com/advisory/ntap-20240112-0001/
Who found and reported it?
- Esa Hiltunen (finder)
- Mikko Kortelainen (finder)
- The Teragrep Project (sponsor)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- February 17, 2023
- Published
- November 16, 2023, 08:15 UTC
- CVE record updated
- February 13, 2025, 16:44 UTC by apache
- NVD
- Modified, last modified June 17, 2026, 05:42 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:34 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Apache Hadoop?
- Sep 25, 2024CVE-2024-23454 Apache Software Foundation Apache Hadoop: creation of Temporary File With Insecure Permissions
- Aug 25, 2022CVE-2021-25642 Apache Software Foundation Apache Hadoop: deserialization of untrusted data
- Aug 4, 2022CVE-2022-25168 Apache Software Foundation Apache Hadoop: OS command injection
- Jun 15, 2022CVE-2021-33036 Apache Software Foundation Apache Hadoop: path Traversal: '../filedir'
- Jun 13, 2022CVE-2021-37404 Apache Software Foundation Apache Hadoop: out-of-bounds write (memory corruption)
- Apr 7, 2022CVE-2022-26612 Apache Software Foundation Apache Hadoop: link following (a symlink lets an attacker reach other files)
- Feb 7, 2019CVE-2018-1296 Apache Software Foundation Apache Hadoop: information disclosure
- Nov 27, 2018CVE-2018-11766 Apache Software Foundation Apache Hadoop: Privilege Escalation
Questions about CVE-2023-26031
Is CVE-2023-26031 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 2.59% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Apache Software Foundation Apache Hadoop are affected by CVE-2023-26031?
org.apache.hadoop:hadoop-yarn-project from 3.3.1 before 3.3.5, per the GitHub advisory GHSA-94jh-j374-9r3j. The tables above give every range the sources list.
Which version fixes CVE-2023-26031?
3.3.5, per the GitHub advisory GHSA-94jh-j374-9r3j. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-26031?
High (7.5, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2023-26031?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.