From Apache Tika versions 1.7 to 1.17, clients could send carefully crafted headers to…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 1 fixed, 1 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Apache | Apache Tika | 1.7 to 1.17 | — | No fix listed | CNA |
| — | org.apache.tika:tika-core (Maven) | 1.7 to before 1.18 | 1.18 | Patch available | GHSA-9r24-gp44-h3pm |
- Apache Tika VendorApache Affected 1.7 to 1.17 Fixed in — No fix listed CNA
- org.apache.tika:tika-core (Maven) Vendor— Affected 1.7 to before 1.18 Fixed in 1.18 Patch available GHSA-9r24-gp44-h3pm
Remediation
- Fix · GHSA-9r24-gp44-h3pm org.apache.tika:tika-core (Maven) Fixed in 1.18 Advisory →
Red Hat 1 advisory
- RHSA-2019:3140 Released 2019-10-17 · Red Hat rating ImportantRed Hat JBoss Data Virtualization 6.4.8 security update
- Red Hat JBoss Data Virtualization 6.4.8
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Satellite 5 | Affected | No fix planned: Will not fix |
| Red Hat JBoss Data Virtualization 6.4.8 | Fixed | RHSA-2019:3140 |
Not affected: 7 products
- Red Hat BPM Suite 6
- Red Hat Fuse 7
- Red Hat JBoss BRMS 5
- Red Hat JBoss BRMS 6
- Red Hat JBoss Fuse Integration Service 2
- Red Hat JBoss Fuse Service Works 6
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1335
- 2026-10-03 Alias added: GHSA-9r24-gp44-h3pm
References
Exploit 1
Advisory 3
Other 4
- [dev] 20180425 [CVE-2018-1335] Command Injection Vulnerability in Apache Tika's tika-server module
- http://packetstormsecurity.com/files/153864/Apache-Tika-1.17-Header-Command-Injection.html
- https://lists.apache.org/thread.html/b3ed4432380af767effd4c6f27665cc7b2686acccbefeb9f55851dca@%3Cdev.tika.apache.org%3E
- https://www.exploit-db.com/exploits/46540
More Apache Tika vulnerabilities
- TI-2025-40938 XML external entity injection in Apache Tika core CVSS 3.1CRITICAL 9.8
- TI-2025-34694 Apache Tika PDF parser module: XXE vulnerability in PDFParser's handling of XFA CVSS 3.1CRITICAL 9.8
- TI-2016-05850 Apache Tika before 1.14 allows Java code execution for serialized objects embedded in… CVSS 3.1CRITICAL 9.8
- TI-2021-13169 An XXE issue in SAXBuilder in JDOM through 2.0.6 allows attackers to cause a denial of… CVSS 3.1HIGH 7.5
- TI-2019-07413 Resource allocation without limits in Apache Tika CVSS 3.0HIGH 8.8
- TI-2018-08418 XML external entity injection in Apache Tika CVSS 3.0HIGH 7.5
Sources
- CVE-2018-1335 · CVE Program
- CVE-2018-1335 · NVD
- FIRST EPSS
- GHSA-9r24-gp44-h3pm · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1335 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences