Skip to content
Heist/ feed
Back to feed
High

HTTP/2 StreamError recovery rolls back connection state and bypasses per-connection limits in Bandit

Type: advisorySources: Official CVE List

Improper Cleanup on Thrown Exception vulnerability in the HTTP/2 handler of mtrudel bandit allows an unauthenticated remote attacker to bypass per-connection resource limits via a single TCP write that carries several frames, one of which raises a stream error. When a frame raises StreamError partway through a chunk, Bandit.HTTP2.Handler.handle_data/3 sends RST_STREAM and continues with the connection state from before the chunk, dropping the rest of it. Streams opened by earlier frames in the chunk keep running their Plug calls, but the stream counts, last_stream_id, the rapid-reset timestamps, the HPACK decoder state and the buffer roll back, so max_concurrent_streams, max_requests and the rapid-reset limiter never see those streams. A client that sends one HEADERS frame more than max_concurrent_streams in each write has the extra refused and the others forgotten: with a limit of 10, five such writes run 50 Plug calls at once. This issue affects bandit: from 1.9.0 before 1.14.0.

Products
bandit
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-111103
Confirmed fixed CVEs
Not specified
Updated in this feed
30 Oct 2026, 12:02 UTC · Revision 1

Source evidence

HTTP/2 StreamError recovery rolls back connection state and bypasses per-connection limits in Bandit

core-cve · Original source

Published 26 Oct 2026, 13:32 UTC

Improper Cleanup on Thrown Exception vulnerability in the HTTP/2 handler of mtrudel bandit allows an unauthenticated remote attacker to bypass per-connection resource limits via a single TCP write that carries several frames, one of which raises a stream error. When a frame raises StreamError partway through a chunk, Bandit.HTTP2.Handler.handle_data/3 sends RST_STREAM and continues with the connection state from before the chunk, dropping the rest of it. Streams opened by earlier frames in the chunk keep running their Plug calls, but the stream counts, last_stream_id, the rapid-reset timestamps, the HPACK decoder state and the buffer roll back, so max_concurrent_streams, max_requests and the rapid-reset limiter never see those streams. A client that sends one HEADERS frame more than max_concurrent_streams in each write has the extra refused and the others forgotten: with a limit of 10, five such writes run 50 Plug calls at once. This issue affects bandit: from 1.9.0 before 1.14.0.

cve:CVE-2026-111103

bandit

Fixed versions: Not specified

bandit

Fixed versions: Not specified

Complete source record
{
  "id": "8c29c12e1f302695a539764143184f15a0af7cd8e4593e2346f61b8000add7e9",
  "url": "https://www.cve.org/CVERecord?id=CVE-2026-111103",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "HTTP/2 StreamError recovery rolls back connection state and bypasses per-connection limits in Bandit",
    "summary": "Improper Cleanup on Thrown Exception vulnerability in the HTTP/2 handler of mtrudel bandit allows an unauthenticated remote attacker to bypass per-connection resource limits via a single TCP write that carries several frames, one of which raises a stream error. When a frame raises StreamError partway through a chunk, Bandit.HTTP2.Handler.handle_data/3 sends RST_STREAM and continues with the connection state from before the chunk, dropping the rest of it. Streams opened by earlier frames in the chunk keep running their Plug calls, but the stream counts, last_stream_id, the rapid-reset timestamps, the HPACK decoder state and the buffer roll back, so max_concurrent_streams, max_requests and the rapid-reset limiter never see those streams. A client that sends one HEADERS frame more than max_concurrent_streams in each write has the extra refused and the others forgotten: with a limit of 10, five such writes run 50 Plug calls at once. This issue affects bandit: from 1.9.0 before 1.14.0.",
    "evidence": "cve:CVE-2026-111103",
    "products": [
      {
        "name": {
          "value": "bandit",
          "evidence": "/containers/cna/affected/0/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "bandit",
          "evidence": "/containers/cna/affected/1/product"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      }
    ],
    "severity": "high",
    "structured": {
      "id": "CVE-2026-111103",
      "aliases": [
        "CVE-2026-111103"
      ],
      "metrics": [
        {
          "format": "CVSS",
          "cvssV4_0": {
            "Safety": "NOT_DEFINED",
            "version": "4.0",
            "Recovery": "NOT_DEFINED",
            "baseScore": 8.2,
            "Automatable": "NOT_DEFINED",
            "attackVector": "NETWORK",
            "baseSeverity": "HIGH",
            "valueDensity": "NOT_DEFINED",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N",
            "providerUrgency": "NOT_DEFINED",
            "userInteraction": "NONE",
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "privilegesRequired": "NONE",
            "subIntegrityImpact": "NONE",
            "vulnIntegrityImpact": "NONE",
            "subAvailabilityImpact": "NONE",
            "vulnAvailabilityImpact": "HIGH",
            "subConfidentialityImpact": "NONE",
            "vulnConfidentialityImpact": "NONE",
            "vulnerabilityResponseEffort": "NOT_DEFINED"
          },
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "affected": [
        {
          "cpes": [
            "cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*"
          ],
          "repo": "https://github.com/mtrudel/bandit",
          "vendor": "mtrudel",
          "product": "bandit",
          "versions": [
            {
              "status": "affected",
              "version": "1.9.0",
              "lessThan": "1.14.0",
              "versionType": "semver"
            }
          ],
          "packageURL": "pkg:hex/bandit",
          "packageName": "bandit",
          "collectionURL": "https://repo.hex.pm",
          "defaultStatus": "unaffected"
        },
        {
          "cpes": [
            "cpe:2.3:a:mtrudel:bandit:*:*:*:*:*:*:*:*"
          ],
          "repo": "https://github.com/mtrudel/bandit",
          "vendor": "mtrudel",
          "product": "bandit",
          "versions": [
            {
              "status": "affected",
              "version": "3ad49c80c268891e7cc412e69649115456638e59",
              "lessThan": "220b9dfd27f9a21305be2afc75cbe585ddc24e7a",
              "versionType": "git"
            }
          ],
          "packageURL": "pkg:github/mtrudel/bandit",
          "packageName": "mtrudel/bandit",
          "collectionURL": "https://github.com",
          "defaultStatus": "unaffected"
        }
      ],
      "modified": "2026-10-26T15:35:51.229Z",
      "provider": "cve",
      "references": [
        "https://github.com/mtrudel/bandit/security/advisories/GHSA-2238-pgfc-w82m",
        "https://cna.erlef.org/cves/CVE-2026-111103.html",
        "https://osv.dev/vulnerability/EEF-CVE-2026-111103",
        "https://github.com/mtrudel/bandit/commit/3ad49c80c268891e7cc412e69649115456638e59",
        "https://github.com/mtrudel/bandit/commit/220b9dfd27f9a21305be2afc75cbe585ddc24e7a"
      ],
      "provider_metadata": {
        "adp": [
          {
            "title": "CISA ADP Vulnrichment",
            "metrics": [
              {
                "other": {
                  "type": "ssvc",
                  "content": {
                    "id": "CVE-2026-111103",
                    "role": "CISA Coordinator",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "version": "2.0.3",
                    "timestamp": "2026-10-26T15:11:27.499001Z"
                  }
                }
              }
            ],
            "providerMetadata": {
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP",
              "dateUpdated": "2026-10-26T15:35:51.229Z"
            }
          }
        ],
        "cna": {
          "orgId": "6b3ad84c-e1a6-4bf7-a703-f496b71e49db",
          "shortName": "EEF",
          "dateUpdated": "2026-10-26T13:32:06.340Z"
        }
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-111103",
        "evidence": "/cveMetadata/cveId"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/containers/cna/metrics"
  },
  "source_id": "core-cve",
  "document_id": 316042,
  "published_at": "2026-10-26T13:32:06.34+00:00"
}