Improperly Controlled Modification of Dynamically-Determined Object Attributes Affecting org.apache.camel:camel-kafka 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.39% (31st 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 Improperly Controlled Modification of Dynamically-Determined Object Attributes vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHECAMEL-17822558
  • published6 Jul 2026
  • disclosed6 Jul 2026
  • creditUnknown

Introduced: 6 Jul 2026

NewCVE-2026-49098  (opens in a new tab)
CWE-915  (opens in a new tab)

How to fix?

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

Overview

Affected versions of this package are vulnerable to Improperly Controlled Modification of Dynamically-Determined Object Attributes via the kafka.OVERRIDE_TOPIC and other kafka.* headers that bypass the upstream HTTP header filter. An attacker can redirect messages to arbitrary Kafka topics or inject crafted messages into sensitive topics by supplying specially crafted HTTP headers. This is only exploitable if an HTTP consumer is bridged to a Kafka producer and the HTTP endpoint is unauthenticated.

Workaround

This vulnerability can be mitigated by stripping kafka.* headers from any untrusted ingress before the Kafka producer, for example by using removeHeaders('kafka.*') at the start of the route, and ensuring the target topic is set from a trusted source.

CVSS Base Scores

version 4.0
version 3.1