CVE-2026-58172: Authentication Bypass Using an Alternate Path or Channel in ThreeMammals Ocelot
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.
AI Analysis
Technical Summary
CVE-2026-58172 is a security control bypass vulnerability in ThreeMammals Ocelot through version 24.1.0. The vulnerability arises because the WebSocket upgrade pipeline branch, configured via MapWhen in OcelotPipelineExtensions.cs, does not include the SecurityMiddleware. As a result, IP-based allow/block lists are not enforced for WebSocket upgrade requests, enabling clients from denied IP addresses to bypass restrictions and have their requests proxied to downstream services. The issue is resolved in a commit identified as f156fd4.
Potential Impact
Attackers from blocked IP addresses can bypass IP-based access controls by sending WebSocket upgrade requests, potentially gaining unauthorized access to downstream services. This leads to a high confidentiality and integrity impact, as unauthorized clients can interact with protected services. Availability impact is not indicated.
Mitigation Recommendations
A fix for this vulnerability is available in the commit f156fd4. Users should update Ocelot to a version that includes this fix. Since no official patch version or vendor advisory is provided, verify the fix by applying the commit or checking for an official release incorporating it. Patch status is not yet confirmed via vendor advisory; check the vendor's official channels for current remediation guidance.
CVE-2026-58172: Authentication Bypass Using an Alternate Path or Channel in ThreeMammals Ocelot
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.
CVSS v3.1
Score 9.1critical
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-58172 is a security control bypass vulnerability in ThreeMammals Ocelot through version 24.1.0. The vulnerability arises because the WebSocket upgrade pipeline branch, configured via MapWhen in OcelotPipelineExtensions.cs, does not include the SecurityMiddleware. As a result, IP-based allow/block lists are not enforced for WebSocket upgrade requests, enabling clients from denied IP addresses to bypass restrictions and have their requests proxied to downstream services. The issue is resolved in a commit identified as f156fd4.
Potential Impact
Attackers from blocked IP addresses can bypass IP-based access controls by sending WebSocket upgrade requests, potentially gaining unauthorized access to downstream services. This leads to a high confidentiality and integrity impact, as unauthorized clients can interact with protected services. Availability impact is not indicated.
Mitigation Recommendations
A fix for this vulnerability is available in the commit f156fd4. Users should update Ocelot to a version that includes this fix. Since no official patch version or vendor advisory is provided, verify the fix by applying the commit or checking for an official release incorporating it. Patch status is not yet confirmed via vendor advisory; check the vendor's official channels for current remediation guidance.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-06-29T16:03:38.521Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a43f43127e9c79719185f80
Added to database: 06/30/2026, 16:52:01 UTC
Last enriched: 06/30/2026, 17:06:35 UTC
Last updated: 07/01/2026, 02:05:17 UTC
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.