CVE-2022-26612: In Apache Hadoop, The unTar function uses unTarUsingJava function on Windows and the built-in tar utility on U
CVE-2022-26612 is a critical-severity flaw (CVSS 9.8) affecting hadoop. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
In Apache Hadoop, The unTar function uses unTarUsingJava function on Windows and the built-in tar utility on Unix and other OSes. As a result, a TAR entry may create a symlink under the expected extraction directory which points to an external directory. A subsequent TAR entry may extract an arbitrary file into the external directory using the symlink name. This however would be caught by the same targetDirPath check on Unix because of the getCan
Why this priority
- Critical severity
- EPSS top 9%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
- On your watchlist
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 4.2% (top 9%) |
| CISA exploited list | No |
| Weakness | CWE-59 |
| Published | 2022-04-07 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2022-26612?
hadoop: upgrade to 3.2.3. Exact commands for each OS are on this page.
Is CVE-2022-26612 being exploited?
CVE-2022-26612 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2022-26612 affect?
CVE-2022-26612 affects hadoop. Severity is critical (CVSS 9.8). In Apache Hadoop, The unTar function uses unTarUsingJava function on Windows and the built-in tar utility on Unix and other OSes. As a result, a TAR entry may create a symlink under the expected extraction directory which points to an exter
How urgent is CVE-2022-26612?
Priority 72/100. Critical severity; EPSS top 9%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action; On your watchlist
Software pages
Windows vulnerabilities · Apache Hadoop vulnerabilities
Related CVEs
- CVE-2025-27821 HIGH 7.3 UPGRADE Out-of-bounds Write vulnerability in Apache Hadoop HDFS native client. This issue affects Apache Hadoop: from
- CVE-2024-23454 MEDIUM 6.2 UPGRADE Apache Hadoop’s RunJar.run() does not set permissions for temporary directory by default
- CVE-2023-26031 HIGH 7.5 UPGRADE Relative library resolution in linux container-executor binary in Apache Hadoop 3.3.1-3.3.4 on Linux allows lo
- CVE-2021-37404 CRITICAL 9.8 UPGRADE There is a potential heap buffer overflow in Apache Hadoop libhdfs native code
- CVE-2021-33036 HIGH 8.8 UPGRADE In Apache Hadoop 2.2.0 to 2.10.1, 3.0.0-alpha1 to 3.1.4, 3.2.0 to 3.2.2, and 3.3.0 to 3.3.1, a user who can es