Skip to content

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

CriticalCVSS 9.3 EPSS 0.57%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: yes · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
threemammals/ocelot <= 24.1.0 after 24.1.0 Fixed

Affected products

ProductAffected versionsFixed in
threemammals/ocelot <= 24.1.0 No fix listed

References