CVE-2018-11762 Moderate severity vulnerability that affects org.apache.tika:tika-core
An attacker can overwrite arbitrary files on the system by providing a crafted input file with an absolute path when the extract directory is not specified.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2018-11762?
CVE-2018-11762 is a medium-severity path traversal vulnerability in Apache Tika, published on 19 Sep 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as "C:/evil.bat", tika-app would overwrite that file.
Weakness: CWE-22
Which versions are affected by CVE-2018-11762?
2 open source packages ship an affected version, including org.apache.tika:tika-core. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.apache.tika:tika-core Maven | From 0.9 | 1.19 |
org.apache.tika:tika-core Maven | From 0.9 | 1.19 |
Products include Apache Tika.
How do I fix CVE-2018-11762?
Upgrade org.apache.tika:tika-core to 1.19 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2018-11762 being exploited?
There is no known exploitation of CVE-2018-11762 in the wild and no public exploit code.
Other vulnerabilities in Apache Tika
- CVE-2019-10088 Allocation of Resources Without Limits or Throttling in Apache Tika
- CVE-2025-66516 Apache Tika has XXE vulnerability
- CVE-2025-54988 Apache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFA
- CVE-2018-1335 Command injection in org.apache.tika:tika-core
- CVE-2019-10094 Allocation of Resources Without Limits or Throttling in Apache Tika
Sources
Also known as DEBIAN-CVE-2018-11762, GHSA-w6g3-v46q-5p28, UBUNTU-CVE-2018-11762.