CVE-2026-58172

Summary

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.

Affected Software

VendorProductVersion RangeStatus
ThreeMammalsOcelot0 <= 24.1.0affected
ThreeMammalsOcelotf156fd4017ca25025fffdad8ec56c1d657dfb402unaffected

Weaknesses

  • CWE-288: Authentication Bypass Using an Alternate Path or Channel

ADP Enrichment

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: poc
    • Automatable: yes
    • Technical Impact: total

References