Skip to content

chore(deps): bump github.com/labstack/echo/v5 from 5.4.0 to 5.4.1 - #62

Merged
rennf93 merged 1 commit into
masterfrom
dependabot/go_modules/github.com/labstack/echo/v5-5.4.1
Oct 25, 2026
Merged

rennf93 merged 1 commit into
masterfrom
dependabot/go_modules/github.com/labstack/echo/v5-5.4.1

Conversation

@dependabot

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

Copy link
Copy Markdown
Contributor

Bumps github.com/labstack/echo/v5 from 5.4.0 to 5.4.1.

Release notes

Sourced from github.com/labstack/echo/v5's releases.

v5.4.1

Security fixes

Upgrade with go get github.com/labstack/echo/v5@v5.4.1.

  • Validate the sending peer before accepting X-Real-IP in ExtractIPFromRealIPHeader, preventing client IP spoofing when that extractor is configured. GHSA-h53f-rm2w-w7rg
  • Validate upstream WebSocket upgrade responses through Go's HTTP reverse proxy. Rejected upgrades no longer leave a raw tunnel that bypasses Echo routing and route middleware. GHSA-cxf3-9h37-7rr8
  • Close both WebSocket connections when either side disconnects, including when an upstream ignores client EOF. GHSA-9969-6676-49h5
  • Preserve the complete request body beyond the BodyDump capture limit and propagate read errors, including BodyLimit overflows. GHSA-x9ff-22gv-65f4, #3105
  • Restore the original response writer before returning BodyDump buffers to the pool, preventing writes into a reused buffer during error handling. #3174
  • Accept decompressed bodies exactly at the configured limit; keep overflow errors sticky. #3136
  • Include the BodyLimit overflow-check correction and static-path hardening already merged since v5.4.0.

Behavior to review when upgrading

The proxy removes incoming Forwarded headers as defensive hardening. Backends relying on that header should use forwarding headers generated from the configured trusted IP extractor and scheme. WebSocket requests now honor the configured proxy transport, response modifier, target path and query in the same way as HTTP requests; ws and wss targets remain supported.

BodyDump capture limits bound logging only: handlers receive the full request, and clients receive the full response. Applications must still consume request bodies and handle read errors to enforce streaming body limits.

Go 1.25 remains the module minimum. Build deployments with a supported, patched Go toolchain.

Other changes

This release also includes ValidateCtx, router fixes for escaped colons, custom methods and parameter storage, binding support for OpenAPI date formats, and documentation updates.

Thanks to @​rm-Umar, @​Duodum, @​irisitymichaelgrundberg, @​Hama1cco, @​jakezwang, @​Shubham-Padkonde and @​rajpreetcodes for reports and contributions, and to the contributors credited in the individual commits.

Validation: upstream lint checks and race tests passed on Linux, macOS and Windows with Go 1.25, 1.26 and 1.27. Local tests on patched toolchains, vet, staticcheck and govulncheck also passed; govulncheck reported no reachable vulnerabilities.

Full changelog: labstack/echo@v5.4.0...v5.4.1

Changelog

Sourced from github.com/labstack/echo/v5's changelog.

Changelog

Commits
  • a6a9673 chore: prepare v5.4.1 security release (#3185)
  • 1855061 Merge commit from fork
  • 8fd0e18 feat(context): add ValidateCtx (#3152)
  • 3882266 docs: move support terms to .github/SUPPORT.md (#3165)
  • 1836fed docs: refresh README badges (#3164)
  • f098cb2 docs: add Support sponsorship terms (#3163)
  • 199f7d8 docs: add Used by section, ADOPTERS.md and tidy README (#3161)
  • 2968240 fix(router): removing a route with a custom method panics (#3160)
  • 4f7bea5 fix(router): grow PathValues for contexts created before a route with more pa...
  • 40c22f4 docs(group): explain how group catch-all NotFound routes replace RouteNotFoun...
  • Additional commits viewable in compare view

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)
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [github.com/labstack/echo/v5](https://github.com/labstack/echo) from 5.4.0 to 5.4.1.
- [Release notes](https://github.com/labstack/echo/releases)
- [Changelog](https://github.com/labstack/echo/blob/master/CHANGELOG.md)
- [Commits](labstack/echo@v5.4.0...v5.4.1)

---
updated-dependencies:
- dependency-name: github.com/labstack/echo/v5
  dependency-version: 5.4.1
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot
dependabot Bot requested a review from rennf93 as a code owner October 25, 2026 17:12
@dependabot dependabot Bot added dependencies go.mod or go.sum changes go Pull requests that update go code labels Oct 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Thanks for opening your first pull request on echo-guard!

Quick checklist before review (most of these are enforced by CI, but worth a glance):

  • The PR body says Closes #N for an open issue (the issue-link check enforces it); chores take the no-issue label
  • gofmt -l . reports no files
  • go vet ./... is clean
  • go test ./... passes (add -tags integration with Redis for the integration suite)
  • go build ./... compiles the adapter and the example apps
  • govulncheck ./... is clean
  • No nolint / unchecked-error shortcuts; pre-existing violations in touched files are fixed
  • If you changed adapter behavior, it stays aligned with gin-guard and nethttp-guard and the README reflects it

See README.md for the adapter contract and AGENTS.md for the boundary rules.

Welcome aboard - a maintainer will review shortly.

@github-actions github-actions Bot added the build Module files / packaging label Oct 25, 2026
@rennf93
rennf93 merged commit 450d79b into master Oct 25, 2026
15 checks passed
@dependabot
dependabot Bot deleted the dependabot/go_modules/github.com/labstack/echo/v5-5.4.1 branch October 25, 2026 19:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

build Module files / packaging dependencies go.mod or go.sum changes go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant