Authorization Bypass Through User-Controlled Key Affecting org.apache.camel:camel-lucene package, versions [4.0.0 ,4.14.8)[4.15.0,4.18.3)[4.19.0,4.21.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (32nd 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 Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-17892032
  • published8 Jul 2026
  • disclosed6 Jul 2026
  • creditYu Bao, Andrea Cosentino

Introduced: 6 Jul 2026

NewCVE-2026-46585  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade org.apache.camel:camel-lucene to version 4.14.8, 4.18.3, 4.21.0 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key through the LuceneConstants.HEADER_QUERY and LuceneConstants.HEADER_RETURN_LUCENE_DOCS headers in the Lucene producer. An attacker can override the intended Lucene search by sending an HTTP request with attacker-controlled QUERY or RETURN_LUCENE_DOCS headers that pass through the HTTP header filter into the Exchange. In routes that expose the Lucene producer behind an HTTP consumer, this lets an unauthenticated client run arbitrary searches against the indexed data, including broad or expensive queries. The result is unauthorized document disclosure and increased CPU consumption, breaking the route’s intended per-request search control.

CVSS Base Scores

version 4.0
version 3.1