CVE-2026-58172 PUBLISHED

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

Assigner: VulnCheck
Reserved: 29.06.2026 Published: 30.06.2026 Updated: 01.07.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.

Metrics

CVSS Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N
CVSS Score: 9.3

Product Status

Vendor ThreeMammals
Product Ocelot
Versions Default: unaffected
  • affected from 0 to 24.1.0 (incl.)
  • Version f156fd4017ca25025fffdad8ec56c1d657dfb402 is unaffected

Credits

  • George Chen finder

References

Problem Types

  • Authentication Bypass Using an Alternate Path or Channel CWE