🌐 US-Proxy
class="logged-out env-production page-responsive" style="word-wrap: break-word;" >
Skip to content

chore: bump github.com/go-chi/chi/v5 from 5.2.4 to 5.3.1 - #27051

Merged
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/go-chi/chi/v5-5.3.1
Jul 7, 2026
Merged

chore: bump github.com/go-chi/chi/v5 from 5.2.4 to 5.3.1#27051
github-actions[bot] merged 1 commit into
mainfrom
dependabot/go_modules/github.com/go-chi/chi/v5-5.3.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jul 7, 2026

Copy link
Copy Markdown
Contributor

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.

v5.3.1

What's Changed

New Contributors

Full Changelog: go-chi/chi@v5.3.0...v5.3.1

v5.3.0

What's Changed

New Contributors

SECURITY: middleware.ClientIP, a replacement for middleware.RealIP

@​VojtechVitek submitted PR #967, which introduces middleware.ClientIP — a replacement for middleware.RealIP that closes the three open spoofing advisories:

It also addresses issues outlined at:

... (truncated)

Commits
  • 8b258c7 ci: pin GitHub Actions to full commit SHAs (#1116)
  • caf87e6 feat(mux): support http QUERY method ietf rfc10008 (#1132)
  • 7fcb8a2 middleware: document printPrettyStack and harden NoColor panic test (#1131)
  • 878fe71 Fix defaultLogEntry.Panic not respecting NoColor setting (#1050)
  • d7b767b feat(middleware): add text/xml and application/xml to default compressible ty...
  • 3b50c7c Tidy build directives (#1113)
  • 2b9fca2 Honor Discard() in httpFancyWriter.ReadFrom (#1110)
  • 3b17157 feat: middleware.ClientIP, a replacement for middleware.RealIP (#967)
  • 818fdcf fix: set Request.Pattern from RoutePattern() (#1097)
  • f975af0 Fix typo in Route doc comment (#1073)
  • 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)

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>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Jul 7, 2026
@github-actions
github-actions Bot enabled auto-merge (squash) July 7, 2026 11:04
@github-actions
github-actions Bot merged commit 4dade44 into main Jul 7, 2026
68 of 70 checks passed
@github-actions
github-actions Bot deleted the dependabot/go_modules/github.com/go-chi/chi/v5-5.3.1 branch July 7, 2026 11:18
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>
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 go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants