Client-Side Enforcement of Server-Side Security Affecting bandit package, versions >=0.5.1 <1.14.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-HEX-BANDIT-21755448
  • published27 Oct 2026
  • disclosed26 Oct 2026
  • creditUnknown

Introduced: 26 Oct 2026

NewCVE-2026-110314  (opens in a new tab)
CWE-602  (opens in a new tab)

How to fix?

Upgrade bandit to version 1.14.0 or higher.

Overview

bandit is a HTTP server for Plug and WebSock apps.

Affected versions of this package are vulnerable to Client-Side Enforcement of Server-Side Security via the WebSocket connection handling of mtrudel bandit allows a remote client to keep running WebSock handler code after the server has stopped its connection, via data frames sent after ignoring the server's Close frame. When a callback returns {:stop, ...}, Bandit.WebSocket.Connection sends a Close frame and enters a :closing state, but does not enforce it in handle_frame/3 or handle_info/3. By simply ignoring the close handshake and continuing to transmit data frames, an attacker can keep invoking handlers-potentially executing unauthorized or admin actions even after being explicitly rejected during initialization.

CVSS Base Scores

version 4.0
version 3.1