CVE-2026-110480: Apache Camel: Camel-SSH Host Key Verification Bypass via Substring Matching of known_hosts Entries

Published Dec 3, 2026
·
Updated

Incorrect Comparison and Authentication Bypass by Spoofing vulnerability in Apache Camel SSH component.

This issue affects Apache Camel: from 2.20.0 before 4.18.6, from 4.19.0 before 4.22.3, from 4.23.0 before 4.24.0.

In Apache Camel's camel-ssh component, the ResourceBasedSSHKeyVerifier used when a knownHostsResource is configured selected the server's trusted key by matching the connecting host against knownhosts entries with substring comparison and first-match-wins, instead of OpenSSH host-pattern semantics applied to the configured connection host. As a result the public key listed for a different but textually overlapping entry could be accepted when validating the server the client connects to, so host-key verification could confirm the wrong server's identity even with strict checking (failOnUnknownHost=true) enabled. This is fixed in 4.18.6, 4.22.3 and 4.24.0, which match the configured host with OpenSSH-compatible patterns (globbing, negation, hashed and revoked entries, all lines considered) and fail closed on an unreadable resource or entry.

Upgrade to Apache Camel 4.24.0, which fixes the issue. Users on the 4.22.x LTS release stream should upgrade to 4.22.3. Users on the 4.18.x LTS release stream should upgrade to 4.18.6.

Affected Software

1 affected component
Apache Apache Camel>=2.20.0<4.18.6, >=4.19.0<4.22.3, >=4.23.0<4.24.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.18.6
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.22.3
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 4.24.0

Event History

Dec 3, 2026
CVE Published
via MITRE·12:00 PM
Data Sourced
via MITRE·12:00 PM
RemedyDescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

Deployments using Apache Camel's camel-ssh component with a knownHostsResource configured are affected in the listed vulnerable release ranges. The issue concerns the ResourceBasedSSHKeyVerifier used for that configuration.

2

Does enabling strict unknown-host checking prevent this issue?

No. The vulnerability can cause verification of the wrong server identity even when failOnUnknownHost=true is enabled, because a different known_hosts entry with a textually overlapping host can be selected.

3

What must an attacker be able to do to exploit this?

The attacker must be able to present a server key that is trusted under a different, textually overlapping known_hosts entry. The vulnerable verifier can select that entry through substring matching and accept the wrong server identity.

4

How can I determine whether an application needs remediation?

Check whether the application uses camel-ssh with knownHostsResource and is running Apache Camel from 2.20.0 before 4.18.6, 4.19.0 before 4.22.3, or 4.23.0 before 4.24.0. Review known_hosts entries for host names that overlap textually, as these can trigger incorrect key selection.

5

What is the recommended remediation?

Upgrade to Apache Camel 4.24.0. For the 4.22.x LTS release stream, upgrade to 4.22.3; the fixed releases use OpenSSH-compatible host-pattern matching and fail closed when the resource or an entry cannot be read.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203