CVE-2026-58172

CRITICAL

Ocelot - IP Allow/Block List Bypass for WebSocket Upgrade Requests

Title source: cna
STIX 2.1

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.

Scores

CVSS v3 9.1
EPSS 0.0041
EPSS Percentile 33.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

CISA SSVC

Vulnrichment
Exploitation poc
Automatable yes
Technical Impact partial

Details

CWE
CWE-288
Status published
Products (2)
ThreeMammals/Ocelot < 24.1.0
ThreeMammals/Ocelot f156fd4017ca25025fffdad8ec56c1d657dfb402
Published Jun 30, 2026
Tracked Since Jun 30, 2026