Home

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.

PUBLISHED Reserved 2026-06-29 | Published 2026-06-30 | Updated 2026-07-14 | Assigner VulnCheck




CRITICAL: 9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

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

Problem types

Authentication Bypass Using an Alternate Path or Channel

Product status

Default status
unaffected

Any version
affected

f156fd4017ca25025fffdad8ec56c1d657dfb402 (git)
unaffected

Credits

George Chen finder

References

github.com/ThreeMammals/Ocelot/issues/2403 (Researcher Disclosure) technical-description exploit

github.com/ThreeMammals/Ocelot/pull/2406 (Fix PR) issue-tracking

github.com/...ommit/f156fd4017ca25025fffdad8ec56c1d657dfb402 (Fix Commit) patch

www.vulncheck.com/...t-bypass-for-websocket-upgrade-requests third-party-advisory

cve.org (CVE-2026-58172)

nvd.nist.gov (CVE-2026-58172)

Download JSON