Apache Camel security advisory
CVE-2026-109112
Camel-Telegram webhook accepts unauthenticated updates on a predictable default path
Description
When the Telegram bot token was configured on the camel-telegram component, the webhook consumer accepted updates on a predictable default path without verifying that they came from Telegram, so a party able to reach the path could post crafted updates that the route processed as genuine. The fixed releases verify the Telegram Bot API secret token on webhook updates.
Mitigation
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.2. Users on the 4.18.x LTS release stream should upgrade to 4.18.6. When Camel registers the webhook at startup (webhookAutoRegister=true, the default), nothing else is needed. When the webhook is registered in another way, register it again with the secret token (see the webhookSecretToken option), otherwise the upgraded consumer rejects the updates.
Credit
This issue was discovered by Shashank Mohan Jain
Notes
The JIRA ticket: https://issues.apache.org/jira/browse/CAMEL-25564 refers to the various commits that resolved the issue, and have more details.