CVE-2023-26031
Java vulnerability analysis and mitigation

Overview

CVE-2023-26031 affects Apache Hadoop versions 3.3.1 to 3.3.4 on Linux systems, involving a vulnerability in the relative library resolution of the container-executor binary. The vulnerability was discovered on July 13, 2022, and publicly announced on November 16, 2023. This security flaw allows local users to gain root privileges, and in certain configurations where YARN clusters accept remote authenticated users' work, it may enable remote users to obtain root privileges (Apache CVE List, NVD).

Technical details

The vulnerability stems from a modification introduced in YARN-10495 that changed the library loading path for .so files from '$ORIGIN/' to '$ORIGIN/:../lib/native/'. This path is used to locate libcrypto.so. The container-executor binary, which must be owned by root and have the suid bit set for YARN processes to run containers as specific users, can be exploited through this modified library path. The vulnerability has a CVSS v3.1 base score of 7.5 (HIGH) with the vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H (NVD, NetApp Advisory).

Impact

When successfully exploited, this vulnerability allows users with reduced privileges to install a malicious libcrypto library into a writable path, invoke the container-executor command, and have their modified library executed with root privileges. In environments where YARN clusters accept remote authenticated users' jobs executed on the physical host rather than in containers, the vulnerability enables remote users to gain root privileges (Security Online, NVD).

Exploitability

The vulnerability is exploitable when the container-executor binary has specific configurations. To be vulnerable, the system must have the RUNPATH or RPATH value containing the relative path './lib/native/', and the container-executor must be owned by root with the suid bit set. This can be verified using the readelf command to check the binary's configuration (Apache CVE List).

Mitigation and workarounds

The vulnerability has been fixed in Apache Hadoop version 3.3.5 through YARN-11441, which reverts the changes made in YARN-10495. For systems that cannot immediately upgrade, a temporary mitigation involves either disabling the container-executor by removing execute permissions, changing its ownership from root, or deleting it if Yarn Secure Containers are not required. Alternatively, the container-executor binary can be replaced with that from version 3.3.5 (Apache CVE List, YARN-11441).

Additional resources


SourceThis report was generated using AI

Related Java vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-76904CRITICAL9.8
  • Java logoJava
  • org.geotools.jdbc:gt-jdbc-postgis
NoYesAug 21, 2026
GHSA-mqjf-5f49-2fjhCRITICAL9.8
  • Java logoJava
  • org.geotools:gt-jdbc-postgis
NoYesAug 21, 2026
CVE-2026-61827HIGH8.7
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63202HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026
CVE-2026-63124HIGH7.5
  • Java logoJava
  • io.netty.incubator:netty-incubator-codec-bhttp
NoYesAug 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management