{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-42786","id":"CVE-2026-42786","title":"WebSocket fragmented message reassembly unbounded in bandit","description":"Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows unauthenticated remote denial of service via memory exhaustion.\n\nThe fragment reassembly path in 'Elixir.Bandit.WebSocket.Connection':handle_frame/3 in lib/bandit/websocket/connection.ex appends every incoming Continuation{fin: false} frame's payload to a per-connection iolist with no cumulative size cap. T","descriptionLong":"Allocation of Resources Without Limits or Throttling vulnerability in mtrudel bandit allows unauthenticated remote denial of service via memory exhaustion.\n\nThe fragment reassembly path in 'Elixir.Bandit.WebSocket.Connection':handle_frame/3 in lib/bandit/websocket/connection.ex appends every incoming Continuation{fin: false} frame's payload to a per-connection iolist with no cumulative size cap. The existing max_frame_size option only bounds individual frames; a peer that streams an unbounded number of continuation frames without ever setting fin=1 grows BEAM heap linearly until the OS or a supervisor kills the process.\n\nBecause the accumulation happens before WebSock.handle_in/2 is called, the application has no opportunity to interpose a size check. Phoenix Channels and LiveView both run over WebSock on Bandit, so a stock Phoenix application exposes this surface as soon as it accepts socket connections.\n\nThis issue affects bandit: from 0.5.0 before 1.11.0.","published":"2026-05-01T20:34:17.014Z","updated":"2026-10-28T02:30:40.523938417Z","reserved":"2026-04-29T18:06:33.251Z","status":"Deferred","rejected":false,"assigner":"EEF","metric":{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"EEF"},"metrics":[{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"EEF"},{"version":"4.0","score":8.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/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":"high","source":"6b3ad84c-e1a6-4bf7-a703-f496b71e49db"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"}],"rating":"high","products":["mtrudel bandit"],"affectedProducts":[{"vendor":"mtrudel","product":"bandit","defaultStatus":"unaffected","versions":[{"lessThan":"1.11.0","status":"affected","version":"0.5.0","versionType":"semver"}],"platforms":[]},{"vendor":"mtrudel","product":"bandit","defaultStatus":"unaffected","versions":[{"lessThan":"21612c7c7b1ce43eccd36d3af3a2299d23513667","status":"affected","version":"8909391f486d42138c5308410bc5ea49a65f4d46","versionType":"git"}],"platforms":[]}],"packages":[{"ecosystem":"Hex","name":"bandit","purl":"pkg:hex/bandit","ranges":[">=0.5.0 <1.11.0"],"fixed":["1.11.0"],"advisory":"GHSA-pf94-94m9-536p"}],"cwes":["CWE-770"],"aliases":["EEF-CVE-2026-42786","GHSA-pf94-94m9-536p"],"references":[{"url":"https://github.com/mtrudel/bandit/security/advisories/GHSA-pf94-94m9-536p","tags":["vendor-advisory","related","exploit","advisory","web"]},{"url":"https://cna.erlef.org/cves/CVE-2026-42786.html","tags":["related","web"]},{"url":"https://osv.dev/vulnerability/EEF-CVE-2026-42786","tags":["related","web"]},{"url":"https://github.com/mtrudel/bandit/commit/21612c7c7b1ce43eccd36d3af3a2299d23513667","tags":["patch","fix","web"]},{"url":"https://github.com","tags":["web"]},{"url":"https://repo.hex.pm","tags":["web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42786.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42786","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":"yes","technicalImpact":"partial"},"epss":0.00647,"epssPercentile":0.518,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-42786","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-42786","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-42786","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-pf94-94m9-536p","ok":true,"note":"GHSA-pf94-94m9-536p"},{"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-42786","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}