{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-110314","id":"CVE-2026-110314","title":"Bandit continued handler execution after WebSocket close","description":"Client-Side Enforcement of Server-Side Security vulnerability in 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.\n\nWhen a WebSock callback returns {:stop, ...}, Bandit.WebSocket.Connection calls terminate/2, sends Close and shuts ","descriptionLong":"Client-Side Enforcement of Server-Side Security vulnerability in 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.\n\nWhen a WebSock callback returns {:stop, ...}, Bandit.WebSocket.Connection calls terminate/2, sends Close and shuts down the write side, but keeps the connection process running in a :closing state. handle_frame/3 and handle_info/3 never check that state, so later frames still reach handle_in/2 and later messages reach handle_info/2, with the state from the stop tuple, until the client sends Close, TCP drops or the idle timeout fires. A client refused in init/1 after a failed token check could still run an admin-only action.\n\nThis issue affects bandit: from 0.5.1 before 1.14.0.","published":"2026-10-26T13:31:18.257Z","updated":"2026-11-19T09:45:37.570511645Z","reserved":"2026-10-23T12:45:01.107Z","status":"Awaiting Analysis","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"EEF"},"metrics":[{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"medium","source":"EEF"},{"version":"4.0","score":6.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"medium","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"}],"rating":"medium","products":["mtrudel bandit"],"affectedProducts":[{"vendor":"mtrudel","product":"bandit","defaultStatus":"unaffected","versions":[{"lessThan":"1.14.0","status":"affected","version":"0.5.1","versionType":"semver"}],"platforms":[]},{"vendor":"mtrudel","product":"bandit","defaultStatus":"unaffected","versions":[{"lessThan":"220b9dfd27f9a21305be2afc75cbe585ddc24e7a","status":"affected","version":"bb407f2277dcb65a58dd8cc07913a0b58a80e266","versionType":"git"}],"platforms":[]}],"packages":[],"cwes":["CWE-602"],"aliases":["EEF-CVE-2026-110314","GHSA-2v5v-8f9v-xh85"],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-2v5v-8f9v-xh85","tags":["vendor-advisory","related","exploit","advisory"]},{"url":"https://cna.erlef.org/cves/CVE-2026-110314.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-110314","tags":["related","web"]},{"url":"https://github.com/mtrudel/bandit/commit/bb407f2277dcb65a58dd8cc07913a0b58a80e266","tags":["related","fix"]},{"url":"https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a","tags":["patch","fix"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/110xxx/CVE-2026-110314.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110314","tags":["advisory"]},{"url":"https://github.com/mtrudel/bandit","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00384,"epssPercentile":0.3317,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-110314","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-110314","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-110314","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-110314","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}