CVE-2018-1335 Apache Tika
| Affected software | Apache Tika |
|---|---|
| Severity | 8.1 High CVSS 3.0 2 scores |
| Fixed in | 1.18 |
| Published | 25 Apr 2018 |
| Updated | 20 Oct 2026 |
Description
From Apache Tika versions 1.7 to 1.17, clients could send carefully crafted headers to tika-server that could be used to inject commands into the command line of the server running tika-server. This vulnerability only affects those running tika-server on a server that is open to untrusted clients. The mitigation is to upgrade to Tika 1.18.
Exploitation status
Exploited
Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.
Exploitation status
- CISA KEV not listed
- VulnCheck KEV listed Exploitation reported in the wild. 1 citation · honeypot sightings · 5 exploits · earliest 2023-12-05.
- CISA Vulnrichment no assessment published
- Indexed PoC 6 indexed Published artifacts you can open, in Exploit-DB, GitHub PoC, Metasploit, Nuclei; first seen 2019-03-13.
- EPSS 94% chance in 30 days A model's forecast, not a report of exploitation. Higher than 99.8% of all scored CVEs.
VulnCheck KEV
Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2018-1335 in VulnCheck (free account).
| Evidence | Source | Detail | Date |
|---|---|---|---|
| Honeypot sighting | Shadowserver honeypots | Exploitation attempts seen on 697 days | 2023-12-05 to 2026-11-12 |
| Reported exploitation | greynoise.io | /blog/coordinated-cloud-based-scanning-operation-targets-75-known-exposure-points | 2025-05-27 |
| Exploit reference | VulnCheck XDB 147026ce3d31 | Exploit type: initial-access | 2020-02-11 |
| Exploit reference | VulnCheck XDB 8c09b09421ae | Exploit type: initial-access | 2021-01-18 |
| Exploit reference | VulnCheck XDB 509c75796be5 | Exploit type: initial-access | 2021-03-26 |
| Exploit reference | VulnCheck XDB 03afb5c3d4bd | Exploit type: initial-access | 2023-05-25 |
| Exploit reference | VulnCheck XDB c9ddc2b4526e | Exploit type: initial-access | 2024-06-06 |
| Index | Artifact | Stars | First seen |
|---|---|---|---|
| GitHub PoC | GUI版 EXP | 14 | 2019-03-20 |
| GitHub PoC | CENG 325 - Principles of Information Security And Privacy | 1 | 2021-01-18 |
| Exploit-DB | Apache Tika 1.15 - 1.17 - Header Command Injection (Metasploit) | 2019-08-05 | |
| Exploit-DB | Apache Tika-server < 1.18 - Command Injection | 2019-03-13 | |
| Nuclei | Apache Tika < 1.1.8 - Header Command Injection | ||
| Metasploit | Apache Tika Header Command Injection (excellent rank) |
Waratek protection
Waratek has a rule that blocks attacks on this vulnerability.
- Protection full Process
- Action available security rule
- Review automated AI triage
- Record active
| Decided by | A researcher's recorded decision for this specific CVE |
|---|---|
| Finding | An AI triage run found this CVE protected by the ARMR Process rule. |
Waratek research note
written 2026-11-13Written by a Waratek engineer who reviewed this CVE. Their decision sets the status above, ahead of every automated rule except a withdrawal.
Comments
Rule Name: ARMR Process rule
OS command injection: the X-Tika-OCRTesseractPath and X-Tika-OCRLanguage headers make TesseractOCRParser.doOCR start a program the attacker picks through ProcessBuilder.start. The ARMR Process rule blocks it with execute("*") protecting and only Tesseract's install folder allowed by full path.
How to mitigate CVE-2018-1335
Upgrade Apache Tika to 1.18 or later. Until you can, Waratek RASP blocks exploitation with its process rule. It runs inside the Java application, with no code changes.
CVSS
8.1 HIGH
v3.0 CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
CVSS
8.1 HIGH v3.0CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
2 metrics
We show the highest score from the newest CVSS version. Scores from different versions can't be compared, and the first score listed is sometimes a 0.0 placeholder.
| Version | Score | Band | Vector | Assigner | Type | |
|---|---|---|---|---|---|---|
| CVSS 3.0 | 8.1 | HIGH | CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
NVD | Primary | published |
| CVSS 2.0 | 9.3 | none | AV:N/AC:M/Au:N/C:C/I:C/A:C |
NVD | Primary |
Affected software and releases
Maven packages
Affected and fixed versions, from OSV.dev| Package | Introduced | Fixed | Last affected |
|---|---|---|---|
org.apache.tika:tika-core |
1.7 | 1.18 |
unbounded |
References
Timeline
Timeline
| Published | 2018-04-25 | By the CVE Program. |
|---|---|---|
| VulnCheck KEV: earliest evidence | 2023-12-05 | Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE. |
| NVD record modified | 2026-06-17 | NVD's own last-modified date for this record. |
| Last VRT activity | 2026-10-20 | Most recent commit touching this CVE's classification, patch or rule file. |
| VulnCheck KEV: latest evidence | 2026-11-12 | Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record. |
| Classification created | 2026-11-13 | First commit adding this CVE's research note. |