Skip to content

chore: bump bandit from 1.12.5 to 1.13.1 - #887

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/bandit-1.13.1
Open

dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/hex/bandit-1.13.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Oct 25, 2026

Copy link
Copy Markdown
Contributor

Bumps bandit from 1.12.5 to 1.13.1.

Changelog

Sourced from bandit's changelog.

1.13.1 (15 Oct 2026)

Reverts

  • Revert the stale conn check added in 1.13.0 (#668), since a number of valid code paths in Phoenix depend on stale conns (notably, Plug.Parsers errors rendered by Phoenix.Endpoint.RenderErrors). See elixir-plug/plug#1331

1.13.0 (15 Oct 2026)

Enhancements

Changes

  • Require Thousand Island 1.6, and use the peername it now captures when it accepts a connection (#718)
  • Require hpax 1.1 and drop the nil field value workaround (#706, thanks @​acrogenesis!)
  • Report conn.port as an integer for CONNECT requests, as Plug.Conn requires
  • Close idle connections which send no bytes silently instead of answering 408 (#689, thanks @​tomciopp!)
  • RFC Conformance: Enforce Host requirements for HTTP/1.1 targets (#679, thanks @​mpettibone!)
  • RFC Conformance: Complete HTTP/2 field validation (#680, thanks @​mpettibone!)
  • RFC Conformance: Validate HTTP/2 content length on initial END_STREAM (#681, thanks @​mpettibone!)
  • RFC Conformance: Enforce HTTP/2 trailer field section requirements (#682, thanks @​mpettibone!)
  • RFC Conformance: Validate request transfer coding before Plug dispatch (#683, thanks @​mpettibone!)
  • RFC Conformance: Fix HTTP/1.0 streaming response framing (#684, thanks @​mpettibone!)
  • RFC Conformance: Accept empty non-final WebSocket continuation frames (#685, thanks @​mpettibone!)
  • RFC Conformance: Validate WebSocket client keys (#686, thanks @​mpettibone!)

Fixes

  • Validate the authority of HTTP/1 absolute-form and authority-form request targets against the same grammar as the Host header (GHSA-v53v-9hvg-37jf, thanks @​euriconicacio!)
  • Bound HTTP/2 sends blocked on a send window by progress, so that a trickle of window updates can no longer keep a stream pinned indefinitely (GHSA-69m6-wcv4-rwcf, thanks @​tomciopp!)
  • Reject control bytes in HTTP/1 request targets (#713, #711, thanks @​PJUllrich!)
  • Fix crash when a client resets an HTTP/1 connection before Bandit reads its peer address (#718, #717, thanks @​mhsdef!)
  • Drain all queued HTTP/2 DATA frames of an unread body once a response has been sent (#710, #697, thanks @​jamilbk!)
  • Preserve independent error responses on HTTP/1 keep-alive and pipelined requests, and frame empty 4xx/5xx error responses with Content-Length: 0 (#705, thanks @​jeregrine!)
  • Close instead of draining when a plug never honors Expect: 100-continue (#695, thanks @​tomciopp!)
  • Fix chunked read_body(length: 0) falsely completing the body (#691, thanks @​tomciopp!)
  • Observe RST_STREAM while blocked on the stream send window (#688, thanks @​tomciopp!)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [bandit](https://github.com/mtrudel/bandit) from 1.12.5 to 1.13.1.
- [Changelog](https://github.com/mtrudel/bandit/blob/main/CHANGELOG.md)
- [Commits](mtrudel/bandit@1.12.5...1.13.1)

---
updated-dependencies:
- dependency-name: bandit
  dependency-version: 1.13.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code labels Oct 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file elixir Pull requests that update elixir code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants