# Path traversal in Hadoop

Advisory record · `GHSA-gx2c-fvhc-ph4j`

- **Identifiers:** `GHSA-gx2c-fvhc-ph4j` · `CVE-2022-26612`
- **State:** Confirmed
- **Severity:** CVSS 9.8 Critical
- **Critical:** Yes: CVSS 9+
- **Weakness (CWE):** [CWE-22](https://cwe.mitre.org/data/definitions/22.html)
- **Tags:** [Path traversal](https://agentprime.io/advisories/tag/path-traversal.md)
- **Published:** 8 Apr 2022
- **Updated:** 1 Oct 2025
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 8 Apr 2022, 00:00 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Critical

Critical, because:

- CVSS score 9.8: 9.0 or more.

How we decide what’s critical: <https://agentprime.io/advisories/critical.md>

## Affected packages

- `org.apache.hadoop:hadoop-common` (Maven): affected `>=3.2.0, <3.2.3 || <2.10.2 || >=3.3.0, <3.3.3`; fixed in `3.2.3`, `2.10.2`, `3.3.3`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> Hadoop-common versions from 3.2.0 to before 3.2.3, before 2.10.2, and from 3.3.0 to before 3.3.3 are vulnerable to path traversal during TAR extraction on Windows. An attacker who can supply a crafted TAR archive for extraction can create a symlink that points outside the extraction directory and then write an arbitrary file there, because the path check does not resolve symbolic links on Windows. Upgrade hadoop-common to 3.2.3, 2.10.2, or 3.3.3, depending on the release line in use.

Written 7 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 9.8 Critical, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.042, the 91st percentile, on 18 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 15:10 UTC: First seen by agentprime
- 31 Oct 2026, 15:10 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-gx2c-fvhc-ph4j)

## Sources

- [GitHub Advisory Database: GHSA-gx2c-fvhc-ph4j](https://github.com/advisories/GHSA-gx2c-fvhc-ph4j)
- [OSV: GHSA-gx2c-fvhc-ph4j](https://osv.dev/vulnerability/GHSA-gx2c-fvhc-ph4j)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-26612>
- <https://github.com/apache/hadoop>
- <https://github.com/apache/hadoop/commits/rel/release-2.10.2/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java>
- <https://github.com/apache/hadoop/commits/rel/release-3.2.3/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java>
- <https://github.com/apache/hadoop/commits/rel/release-3.3.3/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java>
- <https://github.com/apache/hadoop/commits/rel/release-3.4.0/hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/fs/FileUtil.java>
- <https://issues.apache.org/jira/browse/HADOOP-18317>
- <https://lists.apache.org/thread/hslo7wzw2449gv1jyjk8g6ttd7935fyz>
- <https://security.netapp.com/advisory/ntap-20220519-0004>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-gx2c-fvhc-ph4j>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-gx2c-fvhc-ph4j/>. Everything for agents: <https://agentprime.io/llms.txt>.
