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: 2026-06-30
Score: 9.3 Critical
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Ocelot up to version 24.1.0 has a security control bypass that lets clients with blocked IPs send WebSocket upgrade requests, causing the pipeline to the SecurityMiddleware and proxy traffic to downstream services. This enables attackers to reach services that should be denied, potentially exposing sensitive data or allowing further compromise.

Affected Systems

The affected product is ThreeMammals Ocelot, specifically versions up to and including 24.1.0; the issue resides in the MapWhen configuration branch that handles WebSocket upgrades.

Risk and Exploitability

The CVSS score of 9.3 indicates a critical severity. EPSS data is unavailable, so the exact likelihood of exploitation cannot be quantified at this time. The vulnerability is not listed in the CISA KEV catalog, but the attack vector is remote, relying on a client to initiate a WebSocket upgrade from a blocked IP address, bypassing the IP allow/block list before any access control is applied.

Generated by OpenCVE AI on June 30, 2026 at 17:24 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Ocelot to a version that includes the commit f156fd4 or apply that patch directly.
  • Verify that the pipeline configuration for WebSocket upgrades includes the SecurityMiddleware and that the MapWhen branch does not omit it.
  • If a direct upgrade is not possible, block WebSocket upgrade traffic from denied IP addresses using a firewall or reverse proxy rule and monitor for anomalous connections.

Generated by OpenCVE AI on June 30, 2026 at 17:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 30 Jun 2026 16:45:00 +0000

Type Values Removed Values Added
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.
Title Ocelot - IP Allow/Block List Bypass for WebSocket Upgrade Requests
Weaknesses CWE-288
References
Metrics cvssV3_1

{'score': 9.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-06-30T15:54:59.466Z

Reserved: 2026-06-29T16:03:38.521Z

Link: CVE-2026-58172

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-30T17:30:15Z

Weaknesses
  • CWE-288

    Authentication Bypass Using an Alternate Path or Channel