CVE-2026-58172
Critical · CVSS 9.1Ocelot — Security control bypass via WebSocket upgrade request omitting IP allowlist/blocklist middleware (CWE-288)
- CVSS
- 9.1
- nvd
- EPSS
- —
- KEV
- No
- Class
- oss containerizable
- CWE-288
Description
Ocelot through 24.1.0, fixed in commit f156fd4, contains a security control bypass vulnerability that allows denied clients to circumvent IP-based access restrictions by sending WebSocket upgrade requests. The WebSocket upgrade pipeline branch configured via MapWhen in OcelotPipelineExtensions.cs omits SecurityMiddleware, causing requests from blocked IP addresses to be proxied to downstream services without enforcement of the configured allow/block list.
Search profile — drives PoC discovery
Symbols OcelotPipelineExtensionsMapWhenSecurityMiddlewareOcelotPipelineExtensions.csWebSocket upgradeIP allow listIP block listf156fd4017ca25025fffdad8ec56c1d657dfb402
Keywords CVE-2026-58172Ocelot WebSocket IP bypassOcelot SecurityMiddleware bypassOcelot MapWhen WebSocketOcelotPipelineExtensions SecurityMiddleware omitOcelot IP allowlist blocklist bypassOcelot 24.1.0 vulnerabilityThreeMammals Ocelot CVEOcelot WebSocket upgrade security bypassOcelot issue 2403Ocelot pull 2406
Versions: through 24.1.0 (fixed in commit f156fd4017ca25025fffdad8ec56c1d657dfb402)
References
Status: enriched · ingested 2026-07-15T00:00:20.000Z · profiled 2026-07-15T00:30:20.000Z