{"id":"CVE-2018-1335","url":"https://www.cyber-defence.io/tools/cve/CVE-2018-1335","generatedAt":"2026-10-29T01:51:36.103Z","title":"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.","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.","published":"2018-04-25T21:29:00.000Z","lastModified":"2026-06-17T01:51:03.000Z","status":"Modified","sourceIdentifier":"security@apache.org","cvss":{"version":"3.0","score":8.1,"severity":"HIGH","vector":"CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":[],"affected":["apache/tika"],"epss":{"score":0.93555,"percentile":0.99839,"date":"2026-10-27","history":[{"date":"2026-09-21","score":0.9087,"percentile":0.99804},{"date":"2026-09-22","score":0.93758,"percentile":0.9984}]},"kev":{"listed":false},"exploits":{"count":2,"verified":true,"firstPublished":"2019-03-13","source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[{"edbId":47208,"kind":"exploit","title":"Apache Tika 1.15 - 1.17 - Header Command Injection (Metasploit)","url":"https://www.exploit-db.com/exploits/47208","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows/remote/47208.rb","file":"exploits/windows/remote/47208.rb","published":"2019-08-05","added":"2019-08-05","updated":"2019-08-05","author":"Metasploit","type":"remote","platform":"windows","port":null,"verified":true,"codes":["CVE-2018-1335"],"tags":"Metasploit Framework (MSF)","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://raw.githubusercontent.com/rapid7/metasploit-framework/master/modules/exploits/windows/http/apache_tika_jp2_jscript.rb"},{"edbId":46540,"kind":"exploit","title":"Apache Tika-server < 1.18 - Command Injection","url":"https://www.exploit-db.com/exploits/46540","sourceUrl":"https://gitlab.com/exploit-database/exploitdb/-/blob/main/exploits/windows/remote/46540.py","file":"exploits/windows/remote/46540.py","published":"2019-03-13","added":"2019-03-13","updated":"2019-08-05","author":"Rhino Security Labs","type":"remote","platform":"windows","port":null,"verified":true,"codes":["CVE-2018-1335"],"tags":"Command Injection","aliases":null,"applicationUrl":null,"screenshotUrl":null,"referenceUrl":"https://rhinosecuritylabs.com/application-security/exploiting-cve-2018-1335-apache-tika/"}]},"verdict":{"level":"urgent","text":"EPSS puts the probability of exploitation in the next 30 days at 93.6%, higher than 100% of all known CVEs. Patch or mitigate before the next change window."},"changes":[],"references":[{"url":"http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html","source":"security@apache.org"},{"url":"http://www.securityfocus.com/bid/104001","tags":["Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"https://access.redhat.com/errata/RHSA-2019:3140","source":"security@apache.org"},{"url":"https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E","source":"security@apache.org"},{"url":"https://www.exploit-db.com/exploits/46540/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"security@apache.org"},{"url":"http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"http://www.securityfocus.com/bid/104001","tags":["Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://access.redhat.com/errata/RHSA-2019:3140","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E","source":"af854a3a-2127-422b-91ae-364da2661108"},{"url":"https://www.exploit-db.com/exploits/46540/","tags":["Exploit","Third Party Advisory","VDB Entry"],"source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2018-1335","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}