Skip to content

chore(deps): bump hono from 4.12.21 to 4.12.25 in /apps/backend in the npm_and_yarn group across 1 directory#25

Open
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/apps/backend/npm_and_yarn-c3b932bfa0
Open

chore(deps): bump hono from 4.12.21 to 4.12.25 in /apps/backend in the npm_and_yarn group across 1 directory#25
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/npm_and_yarn/apps/backend/npm_and_yarn-c3b932bfa0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 20, 2026

Copy link
Copy Markdown
Contributor

Bumps the npm_and_yarn group with 1 update in the /apps/backend directory: hono.

Updates hono from 4.12.21 to 4.12.25

Release notes

Sourced from hono's releases.

v4.12.25

Security fixes

This release includes fixes for the following security issues:

CORS Middleware reflects any Origin with credentials when origin defaults to the wildcard

Affects: hono/cors. Fixes the wildcard origin reflecting the request Origin and sending Access-Control-Allow-Credentials: true when credentials: true is set without an explicit origin, where any site a logged-in user visited could make credentialed cross-origin requests and read responses from cookie-authenticated endpoints. GHSA-88fw-hqm2-52qc

Body Limit Middleware can be bypassed on AWS Lambda by understating Content-Length

Affects: hono/body-limit on AWS Lambda (hono/aws-lambda, hono/lambda-edge). Fixes the request being built with the client-declared Content-Length while the body is delivered fully buffered, where a client could declare a small Content-Length with a much larger body and slip past the configured size limit. GHSA-rv63-4mwf-qqc2

Path traversal in serve-static on Windows via encoded backslash (%5C)

Affects: serveStatic on Windows (Node, Bun, Deno adapters). Fixes the path guard allowing a lone backslash, where an encoded backslash (%5C) decoded to \ was treated as a separator by the Windows path resolver, letting a single URL segment escape into a middleware-guarded subtree. GHSA-wwfh-h76j-fc44

AWS Lambda adapter merges multiple Set-Cookie headers into one value, dropping cookies on ALB single-header and Lattice

Affects: hono/aws-lambda. Fixes multiple Set-Cookie response headers being joined into one comma-separated value for ALB single-header responses and VPC Lattice v2, where the value could not be split back into individual cookies and clients silently dropped or misparsed them. GHSA-j6c9-x7qj-28xf

Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest

Affects: hono/lambda-edge. Fixes repeated request headers being written with overwrite instead of append, where only the last value of a header such as X-Forwarded-For reached the application and the remaining values were silently dropped. GHSA-wgpf-jwqj-8h8p

v4.12.24

What's Changed

Full Changelog: honojs/hono@v4.12.23...v4.12.24

v4.12.23

What's Changed

Full Changelog: honojs/hono@v4.12.22...v4.12.23

v4.12.22

What's Changed

... (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 <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions
    You can disable automated security fix PRs for this repo from the Security Alerts page.

Greptile Summary

This PR is a Dependabot security bump of hono from 4.12.21 to 4.12.25 in apps/backend. The four-patch span addresses five CVEs in hono middleware and adapters.

  • CORS credential reflection (GHSA-88fw-hqm2-52qc), body-limit bypass on Lambda (GHSA-rv63-4mwf-qqc2), Windows path traversal via %5C (GHSA-wwfh-h76j-fc44), Set-Cookie merging on ALB/Lattice (GHSA-j6c9-x7qj-28xf), and repeated header drop on Lambda@Edge (GHSA-wgpf-jwqj-8h8p) are all patched.
  • A quick audit of apps/backend/src confirms none of the affected middleware (hono/cors, hono/body-limit, serveStatic, hono/aws-lambda, hono/lambda-edge) are imported, so exposure is limited even on the prior version; upgrading is still the right call.

Confidence Score: 5/5

Safe to merge — this is a focused patch-level security update with no API changes.

The only change is a version pin update for hono. None of the five patched middleware modules (cors, body-limit, serve-static, aws-lambda, lambda-edge) are imported anywhere in apps/backend/src, so there is no risk of regressions from the fixes and no exposure to the addressed vulnerabilities on the current version either. The bump is purely additive and safe.

No files require special attention.

Important Files Changed

Filename Overview
apps/backend/package.json Bumps hono from 4.12.21 to 4.12.25, which includes five security fixes (CORS credential reflection, body-limit bypass on Lambda, Windows path traversal, Set-Cookie header merging, and repeated header dropping on Lambda@Edge); none of the affected middleware are used in this codebase.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[hono 4.12.21] -->|bump| B[hono 4.12.25]
    B --> C{Affected middleware\nin this codebase?}
    C -->|hono/cors| D[Not used ✓]
    C -->|hono/body-limit| E[Not used ✓]
    C -->|serveStatic| F[Not used ✓]
    C -->|hono/aws-lambda| G[Not used ✓]
    C -->|hono/lambda-edge| H[Not used ✓]
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A[hono 4.12.21] -->|bump| B[hono 4.12.25]
    B --> C{Affected middleware\nin this codebase?}
    C -->|hono/cors| D[Not used ✓]
    C -->|hono/body-limit| E[Not used ✓]
    C -->|serveStatic| F[Not used ✓]
    C -->|hono/aws-lambda| G[Not used ✓]
    C -->|hono/lambda-edge| H[Not used ✓]
Loading

Reviews (1): Last reviewed commit: "chore(deps): bump hono" | Re-trigger Greptile

Bumps the npm_and_yarn group with 1 update in the /apps/backend directory: [hono](https://github.com/honojs/hono).


Updates `hono` from 4.12.21 to 4.12.25
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.21...v4.12.25)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.25
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 20, 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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants