Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.8
JanusGraph Docker images let Windows extraction write outside folder
published 8 days ago
Summary
The JanusGraph 1.0 and 1.1 Docker images use Apache Hadoop to unpack TAR files. On Windows, the unpacking process can follow a shortcut (symlink) and place files outside the intended directory, which could let an attacker place or modify files on the host. Update the images to a version that includes Hadoop 3.2.3 or later, or apply the available patch to prevent this behavior.
What to do
The CVE record does not list a fixed version. Check the vendor's site or the advisory links below - a fix may already be released.
Affected software
| Ecosystem | Vendor | Product | Affected versions |
|---|---|---|---|
| Docker Hardened Images:Alpine:3.24 | docker hardened images | janusgraph-1.0 | All versions |
| Docker Hardened Images:Alpine:3.24 | docker hardened images | janusgraph-1.1 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | janusgraph-1.0 | All versions |
| Docker Hardened Images:Debian:13 | docker hardened images | janusgraph-1.1 | All versions |
Original advisory text
In Apache Hadoop, The unTar function uses unTarUsingJava function on Windows and the built-in tar utility on Unix and…
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 getCanonicalPath call. However on Windows, getCanonicalPath doesn't resolve symbolic links, which bypasses the check. unpackEntries during TAR extraction follows symbolic links which allows writing outside expected base directory on Windows. This was addressed in Apache Hadoop 3.2.3
References
- https://scout.docker.com/v/DHI-wlip-3k67-7wt2-khgq Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2022-26612 Vendor Advisory
- https://security.netapp.com/advisory/ntap-20220519-0004/ Vendor Advisory
- https://lists.apache.org/thread/hslo7wzw2449gv1jyjk8g6ttd7935fyz Vendor Advisory
- https://github.com/advisories/GHSA-gx2c-fvhc-ph4j Vendor Advisory
- https://inthewild.io/vuln/CVE-2022-26612 Vendor Advisory
- https://access.redhat.com/security/cve/CVE-2022-26612 Vendor Advisory
Internet-facing
3 days
Internal
60 days
- Not known to be exploited
- Can be exploited automatically (estimated)
- Gives an attacker full control (estimated)
Timeline
Published13 Nov 2026
Updated16 Nov 2026
First seen16 Nov 2026
Sources
DHI-wlip-3k67-7wt2-khgq · OSV
Track software like this
Free during beta