All vulnerabilities

Maven

CVE-2026-110480

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

Severity
Medium 6.8
Published
3 Dec 2026
Last changed
3 Dec 2026
Added to UpHeron
3 Dec 2026
Fixed in
4.18.6, 4.22.3, 4.24.0
Weakness
Incorrect comparison (CWE-697)Authentication bypass by spoofing (CWE-290)
Attack
From the same local network · Only under certain conditions · No login needed · No user action needed
Attacker can
Read data · Change data
CVSS vector
CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Sources
CVE Program

Description

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 known_hosts 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.

From the CVE Program. Shortened; the full text is there.

Affected software

SoftwareAffected versions
org.apache.camel:camel-sshMaven · osv:Maven:org.apache.camel:camel-ssh
  • From 2.20.0 before 4.18.6
  • From 4.19.0 before 4.22.3
  • From 4.23.0 before 4.24.0

About org.apache.camel:camel-ssh

This is the only vulnerability in org.apache.camel:camel-ssh in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-110480