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.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| threemammals/ocelot | <= 24.1.0 | after 24.1.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| threemammals/ocelot | <= 24.1.0 | No fix listed |
References
- Researcher Disclosure exploit issue-tracking technical-description
- Fix PR issue-tracking patch
- Fix Commit patch
- www.vulncheck.com third-party-advisory
- ENISA EUVD EUVD-2026-40353 third-party-advisory