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.
CVE-2018-1335
Score elevated to 9.0 because EPSS predicts 94% probability of exploitation within the next 30 days (top 0.2% of all CVEs). NVD baseline CVSS 8.1 retained for reference. Confidence: see factors.
- High exploitation likelihood — EPSS 94%
A fix is available — apply it.
- CVSS v3
- 8.1
- EG Score
- 9.0(high)
- EG Risk
- —
- EPSS
- 99.8%
- KEV
- Not listed
Published
April 25, 2018
Last Modified
November 21, 2024
References (10)
- security@apachehttp://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html
- security@apachehttp://www.securityfocus.com/bid/104001
- security@apachehttps://access.redhat.com/errata/RHSA-2019:3140
- security@apachehttps://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E
- security@apachehttps://www.exploit-db.com/exploits/46540/
- af854a3a-2127-422b-91ae-364da2661108http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html
- af854a3a-2127-422b-91ae-364da2661108http://www.securityfocus.com/bid/104001
- af854a3a-2127-422b-91ae-364da2661108https://access.redhat.com/errata/RHSA-2019:3140
- af854a3a-2127-422b-91ae-364da2661108https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca%40%3Cdev.tika.apache.org%3E
- af854a3a-2127-422b-91ae-364da2661108https://www.exploit-db.com/exploits/46540/
Patch Availability(1)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | tika-core | 2019-10-17 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
Maven(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| org.apache.tika:tika-core | 1.10 ... 1.9 (11 versions) | 1.18 | — |
All Vendor Advisories
(1)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 6× in last 7d / 21× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-22 22:13 UTCEG score recompute
- 2026-07-22 14:05 UTCEPSS rescore
- 2026-07-21 15:22 UTCEPSS rescore
- 2026-07-21 13:48 UTCOSV refresh
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-20 17:04 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-15 01:56 UTCEPSS rescore
- 2026-07-13 06:10 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-06 16:24 UTCEPSS rescore
- 2026-07-04 09:26 UTCOSV refresh
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-07-01 15:03 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:19 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-24 14:02 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-23 21:30 UTCEPSS rescore
- 2026-06-15 20:43 UTCOSV refresh
- 2026-06-15 17:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
Show 10 moreShow fewer
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-31 00:14 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 13:42 UTCEPSS rescore
- 2026-05-28 08:37 UTCEG score recompute
- 2026-05-28 08:37 UTCVendor advisory
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
Publicly available exploits
(5 references)Working exploit code is in the public domain (1 Metasploit module) (1 GitHub PoC) (2 Exploit-DB entries). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-47208✓ verifiedFirst seen Aug 5, 2019
Apache Tika 1.15 - 1.17 - Header Command Injection (Metasploit)
Open source ↗ - GitHub PoCSkyBlueEternal/CVE-2018-1335-EXP-GUIFirst seen Mar 20, 2019
GUI版 EXP
Open source ↗ - Exploit-DBEDB-46540✓ verifiedFirst seen Mar 13, 2019
Apache Tika-server < 1.18 - Command Injection
Open source ↗ - Metasploitexploit/windows/http/apache_tika_jp2_jscript✓ verifiedFirst seen Apr 25, 2018
Apache Tika Header Command Injection
Open source ↗ - Nucleihttp/cves/2018/CVE-2018-1335.yamlFirst seen Jan 1, 2018
Apache Tika < 1.1.8 - Header Command Injection
Open source ↗
Frequently asked(5)
What is CVE-2018-1335?
When was CVE-2018-1335 disclosed?
Is CVE-2018-1335 actively exploited?
What is the CVSS score of CVE-2018-1335?
How do I remediate CVE-2018-1335?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2018-1335
Is Your Infrastructure Affected by CVE-2018-1335?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.