Improper Neutralization Affecting org.apache.camel:camel-tika package, versions [4.0.0,4.18.5)[4.19.0,4.22.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.36% (28th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-21430112
  • published22 Oct 2026
  • disclosed19 Oct 2026
  • creditClaude Security

Introduced: 19 Oct 2026

NewCVE-2026-85249  (opens in a new tab)
CWE-164  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-tika to version 4.18.5, 4.22.1 or higher.

Overview

Affected versions of this package are vulnerable to Improper Neutralization via convertMetadataToHeaders in the Camel Tika producer. An attacker can manipulate downstream route behavior, including where a later file producer writes content, by supplying a document with metadata such as CamelFileName set to an attacker-chosen path.

Workarounds

  • In routes using the Tika producer, add removeHeaders("Camel*") immediately after it and before any component that acts on those headers, preventing document metadata from controlling downstream behavior through Camel headers.

CVSS Base Scores

version 4.0
version 3.1