CamelApplication · Apache

CVE-2026-46726

HIGH · 7.5 CVSS v3.1 Published 2026-07-06
Fix available
A fix is available. Upgrade to 4.14.8 / 4.18.3 or later.
See remediation →
84/100
Remediation priority · High
Remotely reachable No privileges Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
Improper Input Validation, Exposure of Sensitive Information to an Unauthorized Actor, Server-Side Request Forgery (SSRF) vulnerability in Apache Camel in Vertx Websocket component. The camel-vertx-websocket consumer mapped inbound WebSocket query and path parameters into the Camel Exchange header map without applying any HeaderFilterStrategy (VertxWebsocketConsumer.populateExchangeHeaders()). Because nothing blocked the Camel header namespace, a client connecting to the WebSocket endpoint could set Camel-internal control headers - including CamelHttpUri (Exchange.HTTP_URI) - simply by supplying them as query parameters. In a route where the WebSocket consumer feeds a downstream HTTP producer, the injected CamelHttpUri redirects the server-side HTTP request to an attacker-chosen destination (server-side request forgery - for example to an internal service or a cloud metadata endpoint). In addition, the HTTP producer resolves Camel property placeholders on the resulting (attacker-controlled) URI, so placeholders embedded in the injected value - such as an environment-variable reference, an application property, or a vault reference - are resolved to their real values and sent to the attacker, disclosing environment variables, application properties and vault secrets. When the WebSocket endpoint is exposed without authentication, this is reachable by an unauthenticated remote attacker. This issue affects Apache Camel: from 4.0.0 before 4.14.8, from 4.15.0 before 4.18.3, from 4.19.0 before 4.21.0. Users are recommended to upgrade to version 4.21.0, which fixes the issue. If users are on the 4.14.x LTS releases stream, then they are suggested to upgrade to 4.14.8. If users are on the 4.18.x releases stream, then they are suggested to upgrade to 4.18.3. The fix makes the affected consumers apply a HeaderFilterStrategy that filters the Camel header namespace case-insensitively on inbound mapping, so externally-supplied Camel* / camel* headers are no longer copied into the Exchange. For deployments that cannot upgrade immediately, strip the Camel control headers from the inbound message before they reach any downstream producer (for example removeHeaders('Camel*') and removeHeaders('camel*') at the start of the route), require authentication on the WebSocket endpoint, and avoid bridging an untrusted consumer directly into an HTTP producer whose target URI can be driven from message headers.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

Apache Camel's Vertx Websocket consumer copies inbound WebSocket query and path parameters into Camel Exchange headers without filtering, allowing attackers to inject Camel-internal headers like CamelHttpUri via query parameters. When the WebSocket consumer feeds an HTTP producer, attackers can redirect server-side requests (SSRF) to internal services or cloud metadata endpoints. Additionally, property placeholders in the injected URI are resolved, exposing environment variables, application properties, and vault secrets.

MitigationUpgrade to Apache Camel 4.21.0 (or 4.14.8 for LTS 4.14.x, 4.18.3 for 4.18.x). If immediate upgrade is not possible, apply workaround: add removeHeaders('Camel*') and removeHeaders('camel*') at route start, require authentication on the WebSocket endpoint, and avoid bridging untrusted WebSocket consumers directly to HTTP producers.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
CamelApplication
Affected:>= 4.0.0, < 4.14.8>= 4.15.0, < 4.18.3>= 4.19.0, < 4.21.0

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify Apache Camel version
    Run 'camel:version' Maven goal, check pom.xml, or inspect the camel-core JAR manifest to determine the installed Apache Camel version
    Affected if The version falls within >= 4.0.0 and < 4.14.8, OR >= 4.15.0 and < 4.18.3, OR >= 4.19.0 and < 4.21.0
  2. Locate Vertx WebSocket consumer routes
    Search route definitions for 'vertx-websocket' component or 'websocket' consumer endpoints in your Camel route XML/Java code
    Affected if Routes contain websocket consumer endpoints using the vertx-websocket component
  3. Verify WebSocket-to-HTTP producer chaining
    Inspect routes where the WebSocket consumer output feeds directly into an HTTP producer (such as http, http4, or camel-http component)
    Affected if A WebSocket consumer is bridged to an HTTP producer without intermediate processing
  4. Check for missing header sanitization
    Review route definitions for absence of removeHeaders('Camel*') or removeHeaders('camel*') filters immediately after the WebSocket consumer endpoint
    Affected if No header filtering is applied, allowing injected CamelHttpUri or other Camel-internal headers to pass through
  5. Inspect for sensitive property placeholder usage
    Search route configurations or property files for property placeholders in HTTP producer URIs that could resolve environment variables, app properties, or vault secrets
    Affected if HTTP producers use property placeholders that could be resolved via injected URIs

You are affected if you run a vulnerable Apache Camel version (4.0.0 to 4.14.7, 4.15.0 to 4.18.2, or 4.19.0 to 4.20.x) with a Vertx WebSocket consumer that feeds an HTTP producer without removeHeaders filtering on incoming query parameters.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to 4.14.8 / 4.18.3 / 4.21.0 or later
Fixed in 4.14.84.18.34.21.0
Interim mitigation

Upgrade to Apache Camel 4.21.0 (or 4.14.8 for LTS 4.14.x, 4.18.3 for 4.18.x). If immediate upgrade is not possible, apply workaround: add removeHeaders('Camel*') and removeHeaders('camel*') at route start, require authentication on the WebSocket endpoint, and avoid bridging untrusted WebSocket consumers directly to HTTP producers.

Recommended fix High confidence

4.21.0 (or 4.14.8 for 4.14.x LTS users, or 4.18.3 for 4.18.x users)

  1. 1. Identify the current Apache Camel version in use by checking your project's dependency management (e.g., pom.xml, build.gradle, or application dependencies)
  2. 2. Determine which version stream your current release belongs to: 4.14.x (LTS), 4.18.x, or another 4.x release
  3. 3. If on 4.14.x LTS stream: upgrade to version 4.14.8 by updating the Camel version property or dependency
  4. 4. If on 4.18.x stream: upgrade to version 4.18.3
  5. 5. If on any other affected version (4.15.x - 4.17.x, 4.19.x - 4.20.x): upgrade to version 4.21.0
  6. 6. Rebuild and test the application to verify the upgrade does not break existing functionality
  7. 7. If authentication is not already in place, configure authentication on the WebSocket endpoint as an additional defense-in-depth measure
  8. 8. If immediate upgrade is not possible, add removeHeaders('Camel*') and removeHeaders('camel*') at the start of routes consuming from Vertx WebSocket before passing to any downstream HTTP producer

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Camel Scoped from the published advisory
  • Consultation2.0 h
  • Implementation2.0 h
  • Testing4.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,720
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,752.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-46726 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-46726 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data