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 occurs because the WebSocket upgrade pipeline branch, configured via MapWhen in OcelotPipelineExtensions.cs, omits the SecurityMiddleware component. As a result, IP-based allow/block lists are not enforced on WebSocket upgrade requests, allowing clients from blocked IP addresses to circumvent access restrictions and reach downstream services. The issue was addressed in a commit identified as f156fd4, which presumably restores enforcement of security middleware in the WebSocket upgrade path.
Potential Impact
Clients from IP addresses that are supposed to be blocked can bypass IP-based access restrictions by exploiting the WebSocket upgrade request path. This leads to unauthorized access to downstream services, resulting in a high confidentiality and integrity impact. Availability is not affected. The vulnerability has a CVSS v3.1 score of 9.1 (critical).
Mitigation Recommendations
A fix is available as the vulnerability was resolved in commit f156fd4. Users should update Ocelot to a version that includes this commit to ensure that SecurityMiddleware is properly applied to WebSocket upgrade requests, enforcing IP-based access controls. Patch status is confirmed by the presence of the fixing commit; no vendor advisory was provided, so check the official ThreeMammals Ocelot repository or release notes for the exact fixed version and update accordingly.
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 occurs because the WebSocket upgrade pipeline branch, configured via MapWhen in OcelotPipelineExtensions.cs, omits the SecurityMiddleware component. As a result, IP-based allow/block lists are not enforced on WebSocket upgrade requests, allowing clients from blocked IP addresses to circumvent access restrictions and reach downstream services. The issue was addressed in a commit identified as f156fd4, which presumably restores enforcement of security middleware in the WebSocket upgrade path.
Potential Impact
Clients from IP addresses that are supposed to be blocked can bypass IP-based access restrictions by exploiting the WebSocket upgrade request path. This leads to unauthorized access to downstream services, resulting in a high confidentiality and integrity impact. Availability is not affected. The vulnerability has a CVSS v3.1 score of 9.1 (critical).
Mitigation Recommendations
A fix is available as the vulnerability was resolved in commit f156fd4. Users should update Ocelot to a version that includes this commit to ensure that SecurityMiddleware is properly applied to WebSocket upgrade requests, enforcing IP-based access controls. Patch status is confirmed by the presence of the fixing commit; no vendor advisory was provided, so check the official ThreeMammals Ocelot repository or release notes for the exact fixed version and update accordingly.
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: 07/16/2026, 09:19:31 UTC
Last updated: 08/12/2026, 00:41:13 UTC
Views: 81
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.