Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2026-105966 — Runnable Camel Spring Boot proof-of-concept reproducing CVE-2026-105966, where camel-undertow skipped securityProvider and allowedRoles checks on WebSocket endpoints. | Kitploit
Tools/GitHubGitHub/oscerd/cve-2026-105966
Authentication & AuthorizationVulnerability AnalysisExploitationWeb SecurityLearning & Education
GitHuboscerd/cve-2026-105966

CVE-2026-105966

Runnable Camel Spring Boot proof-of-concept reproducing CVE-2026-105966, where camel-undertow skipped securityProvider and allowedRoles checks on WebSocket endpoints.

View Repository
14h 52m agoNot yet reviewed
Share

CVE-2026-105966 - camel-undertow: securityProvider and allowedRoles not enforced on WebSocket endpoints

Runnable proof-of-concept reproducer for the Apache Camel vulnerability where the configured securityProvider and allowedRoles were not enforced on WebSocket endpoints, so a client could open a WebSocket consumer without passing the authentication and role checks that apply to the HTTP endpoints.

RuntimeDirectoryStack
Camel Spring Bootcamel-spring-boot/Spring Boot 3.5.13 + camel-undertow 4.22.1

Camel Spring Boot only. There is no camel-quarkus-undertow extension (Quarkus has its own Vert.x HTTP stack), verified against the Camel Quarkus 3.39.0 source tree and its BOM, so this component cannot be run on Camel Quarkus.

What it demonstrates

Two consumers sit on the same undertow server with the same security configuration - the same securityProvider, the same allowedRoles. One speaks HTTP, the other WebSocket:

from("undertow:http://0.0.0.0:8081/api?securityProvider=#demoSecurityProvider&allowedRoles=admin")
from("undertow:ws://0.0.0.0:8081/feed?securityProvider=#demoSecurityProvider&allowedRoles=admin")
cd camel-spring-boot
mvn clean package
docker compose up -d --build
until [ "$(curl -s http://localhost:8080/exploit/ready)" = "Started" ]; do sleep 1; done
curl -s http://localhost:8080/exploit/attack
docker compose down

Output on an affected build:

1) HTTP endpoint, no token
     HTTP 403  refused

2) HTTP endpoint, with the token
     HTTP 200  ADMITTED

3) WebSocket endpoint, NO token - the same security configuration
     handshake: CONNECTED - the upgrade succeeded and the client can send on the protected feed

4) WebSocket endpoint, with the token
     handshake: CONNECTED - the upgrade succeeded and the client can send on the protected feed

Every question the security provider was actually asked:
  - /api -> FORBIDDEN
  - /api -> OK

>>> PROVEN: ...

The provider's call list is the evidence. It contains only /api: the provider was never asked about /feed at all. UndertowConsumer ran the securityProvider / allowedRoles check in the HTTP handler it built, while a WebSocket endpoint was registered through CamelWebSocketHandler, which at this release performs no authentication whatsoever - so the upgrade skipped the check entirely rather than failing it.

The HTTP consumer is the control: the identical caller is refused 403 without the token and admitted with it, so the configuration itself is sound and it is the WebSocket path alone that is unprotected.

How it is wired

No identity provider and no network. A small UndertowSecurityProvider stands in for the deployment's authorization: a caller is authorized only when it presents a shared bearer token and the endpoint's allowed roles include admin. Every call into it is recorded, which is what makes "never asked" visible.

The driver approaches each consumer the way an outside client would: an ordinary HTTP GET for the HTTP one, and a real WebSocket handshake (java.net.http.WebSocket) for the WebSocket one.

Vulnerability Summary

PropertyValue
Componentcamel-undertow (UndertowConsumer, CamelWebSocketHandler)
CWEMissing authorization on an endpoint the deployment configured as protected
SeverityHigh
Attack vectorOpening a WebSocket connection to an undertow consumer configured with securityProvider / allowedRoles
ImpactReaching a route the application intended to protect, without the required authentication or role
Affected Versions4.0.0 before 4.18.6; 4.19.0 before 4.22.2
Fixed Versions4.18.6, 4.22.2, 4.23.0
JIRACAMEL-25375
CreditAndrea Cosentino from Apache Software Foundation

Advisory: https://camel.apache.org/security/CVE-2026-105966.html

The fix

The security-constraint checks now run for WebSocket consumers as well, so the same authentication and allowed roles are enforced: CamelWebSocketHandler authenticates the exchange before the upgrade and sets the status code when the provider refuses.

Checking a fixed build

Set camel.version to 4.22.2 and run it again. Verified against 4.22.1 -> 4.22.2:

3) WebSocket endpoint, NO token
     handshake: refused - WebSocketHandshakeException: null

4) WebSocket endpoint, with the token
     handshake: CONNECTED - the upgrade succeeded and the client can send on the protected feed

Every question the security provider was actually asked:
  - /api -> FORBIDDEN
  - /api -> OK
  - /feed -> FORBIDDEN
  - /feed -> OK

>>> NOT reproduced: the WebSocket upgrade was refused without a token.

Note the two new /feed entries: the provider is now consulted for the WebSocket path, it refuses the caller without a token, and the authorized caller still connects.

Disclaimer

This repository is published for educational and defensive purposes: to help Apache Camel users understand the vulnerability, verify whether they are affected, and confirm that upgrading resolves it. Do not use this material against systems you do not own or operate.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    Callisto

    jetp1ane/callisto

    Automated binary vulnerability analysis tool that decompiles executables via Ghidra, scans pseudo-C code with Semgrep, and validates findings using GPT-3.5-Turbo to reduce false positives.

    2.1k
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    One-tap Android kernel exploit app for CVE-2026-43499, providing privilege escalation via kernel module loading, with offset extraction and on-device analysis tools.

    931
  • 3

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    449
  • 4

    DFRoot

    a2333c/dfroot

    Android root tool for Samsung Galaxy S25 Ultra (SM-S938B) that chains DirtyFrag CVE-2026-43284 and CVE-2026-43499 to gain root automatically at boot via KernelSU.

    411
  • 5

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    374
  • 6

    wifit3

    derv82/wifit3

    Wifite but USB-only & cross-platform.

    348

Explore all tools

Browse our collection of tools

View all tools →