Vulnerabilityin Apache Tika.
Weaponized: a Metasploit exploit is public.
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.
- Upgrade org.apache.tika:tika-core (Maven) to 1.18 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 7 Dec 2017CVE ID reserved by apache.
- 25 Apr 2018Published in the CVE List.
- 25 Apr 2018Metasploit module: Apache Tika Header Command Injection.
- 20 Mar 2019First public proof of concept on GitHub.
- 17 Sep 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other Tika vulnerabilities
- lists.apache.org mailing-list, x_refsource_MLIST
- www.securityfocus.com vdb-entry, x_refsource_BID
- packetstormsecurity.com x_refsource_MISC
- access.redhat.com vendor-advisory, x_refsource_REDHAT
Patchminder. CVE-2018-1335: Vulnerability in Apache Tika. https://patchminder.com/cve/cve-2018-1335/ (accessed 5 December 2026).