Ocelot through 24.1.0, fixed in commit f156fd4, contains...
Critical severity
Unreviewed
Published
Jun 30, 2026
to the GitHub Advisory Database
•
Updated Jun 30, 2026
Description
Published by the National Vulnerability Database
Jun 30, 2026
Published to the GitHub Advisory Database
Jun 30, 2026
Last updated
Jun 30, 2026
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.
References