chore: bump github.com/go-chi/chi/v5 from 5.2.4 to 5.3.1 - #27051
Merged
github-actions[bot] merged 1 commit intoJul 7, 2026
Merged
Conversation
Bumps [github.com/go-chi/chi/v5](https://github.com/go-chi/chi) from 5.2.4 to 5.3.1. - [Release notes](https://github.com/go-chi/chi/releases) - [Changelog](https://github.com/go-chi/chi/blob/master/CHANGELOG.md) - [Commits](go-chi/chi@v5.2.4...v5.3.1) --- updated-dependencies: - dependency-name: github.com/go-chi/chi/v5 dependency-version: 5.3.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
github-actions
Bot
deleted the
dependabot/go_modules/github.com/go-chi/chi/v5-5.3.1
branch
July 7, 2026 11:18
This was referenced Jul 10, 2026
Copilot AI
added a commit
that referenced
this pull request
Jul 10, 2026
Addresses three security advisories: - GHSA-qhwx-jg74-4x6h (CVE-2025-44857) - Path traversal via StripSlashes - GHSA-9cwv-cppx-mqjm (CVE-2025-44858) - Path traversal via StripSlashes - GHSA-fhqf-pp68-g2c9 (CVE-2025-44856) - DoS via unbounded URL path processing Backport of commit 4dade44 from main (PR #27051). Linear: ENT-132
denisra
pushed a commit
that referenced
this pull request
Jul 13, 2026
Backport chi v5.3.1 to release/2.34, aligning with the upgrade already merged on main (#27051). chi v5.3.0 and v5.3.1 address several security advisories: - GHSA-9g5q-2w5x-hmxf: IP spoofing via XFF in RemoteAddr resolution - GHSA-rjr7-jggh-pgcp: RealIP allows IP spoofing via unvalidated XFF - GHSA-3fxj-6jh8-hvhx: IP spoofing in middleware.RealIP (Critical, 9.3) - GHSA-mqqf-5wvp-8fh8 (CVE-2025-69725): Open redirect in RedirectSlashes - GHSA-vrw8-fxc6-2r93: Host Header Injection in RedirectSlashes Coder does not use the affected middleware (middleware.RealIP, StripSlashes, RedirectSlashes, CleanPath); it relies on its own httpmw.ExtractRealIP and singleSlashMW. The primary motivation is keeping the release branch aligned with main to prevent drift.
denisra
pushed a commit
that referenced
this pull request
Jul 13, 2026
Backport chi v5.3.1 to release/2.35, aligning with the upgrade already merged on main (#27051). chi v5.3.0 and v5.3.1 address several security advisories: - GHSA-9g5q-2w5x-hmxf: IP spoofing via XFF in RemoteAddr resolution - GHSA-rjr7-jggh-pgcp: RealIP allows IP spoofing via unvalidated XFF - GHSA-3fxj-6jh8-hvhx: IP spoofing in middleware.RealIP (Critical, 9.3) - GHSA-mqqf-5wvp-8fh8 (CVE-2025-69725): Open redirect in RedirectSlashes - GHSA-vrw8-fxc6-2r93: Host Header Injection in RedirectSlashes Coder does not use the affected middleware (middleware.RealIP, StripSlashes, RedirectSlashes, CleanPath); it relies on its own httpmw.ExtractRealIP and singleSlashMW. The primary motivation is keeping the release branch aligned with main to prevent drift.
mtojek
added a commit
that referenced
this pull request
Jul 14, 2026
#27148) ## Summary Backport [go-chi/chi](https://github.com/go-chi/chi) v5.2.4 to v5.3.1 on `release/2.34`, aligning with the upgrade already merged on `main` via #27051. ## Security Advisories Addressed chi v5.3.0 and v5.3.1 resolve the following advisories: | Advisory | Description | Severity | |----------|-------------|----------| | [GHSA-9g5q-2w5x-hmxf](GHSA-9g5q-2w5x-hmxf) | IP spoofing via XFF in RemoteAddr resolution | — | | [GHSA-rjr7-jggh-pgcp](GHSA-rjr7-jggh-pgcp) | RealIP allows IP spoofing via unvalidated XFF | — | | [GHSA-3fxj-6jh8-hvhx](GHSA-3fxj-6jh8-hvhx) | IP spoofing in middleware.RealIP | Critical (9.3) | | [GHSA-mqqf-5wvp-8fh8](GHSA-mqqf-5wvp-8fh8) | Open redirect in RedirectSlashes (CVE-2025-69725) | — | | [GHSA-vrw8-fxc6-2r93](GHSA-vrw8-fxc6-2r93) | Host Header Injection in RedirectSlashes | — | ## Impact Assessment Coder does **not** use the directly affected middleware: - `middleware.RealIP` — Coder uses its own `httpmw.ExtractRealIP` - `StripSlashes` / `RedirectSlashes` / `CleanPath` — Coder uses its own `singleSlashMW` The primary motivation for this backport is keeping `release/2.34` aligned with `main` to prevent dependency drift and to satisfy IronBank scanning requirements. ## Changes - `go.mod` / `go.sum`: bump `github.com/go-chi/chi/v5` v5.2.4 to v5.3.1 ## Related - #27051 — original Dependabot upgrade on `main` - #27147 — same backport on `release/2.35` --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Marcin Tojek <mtojek@users.noreply.github.com>
mtojek
added a commit
that referenced
this pull request
Jul 14, 2026
## Summary Backport [go-chi/chi](https://github.com/go-chi/chi) v5.2.4 to v5.3.1 on `release/2.35`, aligning with the upgrade already merged on `main` via #27051. ## Security Advisories Addressed chi v5.3.0 and v5.3.1 resolve the following advisories: | Advisory | Description | Severity | |----------|-------------|----------| | [GHSA-9g5q-2w5x-hmxf](GHSA-9g5q-2w5x-hmxf) | IP spoofing via XFF in RemoteAddr resolution | — | | [GHSA-rjr7-jggh-pgcp](GHSA-rjr7-jggh-pgcp) | RealIP allows IP spoofing via unvalidated XFF | — | | [GHSA-3fxj-6jh8-hvhx](GHSA-3fxj-6jh8-hvhx) | IP spoofing in middleware.RealIP | Critical (9.3) | | [GHSA-mqqf-5wvp-8fh8](GHSA-mqqf-5wvp-8fh8) | Open redirect in RedirectSlashes (CVE-2025-69725) | — | | [GHSA-vrw8-fxc6-2r93](GHSA-vrw8-fxc6-2r93) | Host Header Injection in RedirectSlashes | — | ## Impact Assessment Coder does **not** use the directly affected middleware: - `middleware.RealIP` — Coder uses its own `httpmw.ExtractRealIP` - `StripSlashes` / `RedirectSlashes` / `CleanPath` — Coder uses its own `singleSlashMW` The primary motivation for this backport is keeping `release/2.35` aligned with `main` to prevent dependency drift and to satisfy IronBank scanning requirements. ## Changes - `go.mod` / `go.sum`: bump `github.com/go-chi/chi/v5` v5.2.4 to v5.3.1 ## Related - #27051 — original Dependabot upgrade on `main` - #27148 — same backport on `release/2.34` --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: Marcin Tojek <mtojek@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Bumps github.com/go-chi/chi/v5 from 5.2.4 to 5.3.1.
Release notes
Sourced from github.com/go-chi/chi/v5's releases.
... (truncated)
Commits
8b258c7ci: pin GitHub Actions to full commit SHAs (#1116)caf87e6feat(mux): support http QUERY method ietf rfc10008 (#1132)7fcb8a2middleware: document printPrettyStack and harden NoColor panic test (#1131)878fe71Fix defaultLogEntry.Panic not respecting NoColor setting (#1050)d7b767bfeat(middleware): add text/xml and application/xml to default compressible ty...3b50c7cTidy build directives (#1113)2b9fca2Honor Discard() in httpFancyWriter.ReadFrom (#1110)3b17157feat: middleware.ClientIP, a replacement for middleware.RealIP (#967)818fdcffix: set Request.Pattern from RoutePattern() (#1097)f975af0Fix typo in Route doc comment (#1073)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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)