Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-53913: CWE-287 Improper Authentication in Apache Software Foundation Apache Camel Keycloak

0
Critical
VulnerabilityCVE-2026-53913cvecve-2026-53913cwe-287cwe-306cwe-636
Published: 07/06/2026 (07/06/2026, 08:12:32 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: Apache Camel Keycloak

Description

CVE-2026-53913 is an improper authentication vulnerability in the Apache Camel Keycloak component. The default configuration of KeycloakSecurityPolicy skips cryptographic verification of bearer access tokens when requiredRoles and requiredPermissions are empty, allowing any non-null bearer token value to bypass authentication. This can lead to unauthenticated access to protected routes and potentially unauthenticated remote code execution if the route forwards to a code-execution-capable producer. The issue affects Apache Camel Keycloak versions 4.15.0 through before 4.18.3 and 4.19.0 through before 4.21.0. Upgrading to 4.21.0 or 4.18.3 (for the 4.18.x stream) fixes the issue.

Affected software

Apache Software Foundation/org.apache.camel:camel-keycloak
pkg:maven/Apache Software Foundation/org.apache.camel:camel-keycloak
Affected versions
>=4.15.0 <4.18.3>=4.19.0 <4.21.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/06/2026, 09:07:04 UTC

Technical Analysis

The Apache Camel Keycloak component's KeycloakSecurityPolicy performs token presence checks but skips full token verification (signature, issuer, expiry) when both requiredRoles and requiredPermissions are empty, which is the default 'Basic Setup'. This means any non-null bearer token, including forged or unsigned tokens, is accepted, allowing unauthenticated access to protected routes. This vulnerability affects versions 4.15.0 before 4.18.3 and 4.19.0 before 4.21.0. The flaw is independent of a previous CVE (2026-23552) and remains in default configurations. The vendor recommends upgrading to 4.21.0 or 4.18.3 and/or configuring non-empty requiredRoles or requiredPermissions or disabling token acceptance from headers to enforce token verification.

Potential Impact

Unauthenticated users can bypass authentication checks on routes protected by the KeycloakSecurityPolicy in default configurations, potentially gaining unauthorized access to server-side functionality. If the protected route forwards requests to components capable of executing code, this can lead to unauthenticated remote code execution. This undermines the security guarantees of the authentication mechanism and exposes sensitive operations to attackers.

Mitigation Recommendations

A fix is available in Apache Camel Keycloak versions 4.21.0 and 4.18.3. Users should upgrade to these versions to resolve the vulnerability. For deployments unable to upgrade immediately, configure KeycloakSecurityPolicy with non-empty requiredRoles or requiredPermissions to ensure token verification is performed. Alternatively, set allowTokenFromHeader to false if tokens are not expected in request headers, or perform token verification at the framework layer before the policy is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
apache
Date Reserved
2026-06-11T10:24:16.144Z
Cvss Version
null
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4b6cb027e9c79719252695

Added to database: 07/06/2026, 08:52:00 UTC

Last enriched: 07/06/2026, 09:07:04 UTC

Last updated: 07/06/2026, 18:07:14 UTC

Views: 34

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses