WebSocket Control Bypass in Ocelot by ThreeMammals
CVE-2026-58172
Key Information:
- Vendor
Threemammals
- Status
- Vendor
- CVE Published:
- 30 June 2026
Badges
What is CVE-2026-58172?
Ocelot, a popular API Gateway developed by ThreeMammals, is vulnerable to a security control bypass that impacts versions up to 24.1.0. This vulnerability arises from the WebSocket upgrade requests that can bypass IP-based access restrictions due to faulty configuration in the OcelotPipelineExtensions.cs file. Specifically, the pipeline omits the crucial SecurityMiddleware layer for these requests, which allows clients from blocked IP addresses to access downstream services without adhering to the pre-configured allow/block list.
Affected Version(s)
Ocelot 0 <= 24.1.0
Ocelot f156fd4017ca25025fffdad8ec56c1d657dfb402
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
