An open index of dependabot pull requests across open source projects.

chore(deps):(deps-dev): bump hono from 4.12.10 to 4.12.12

Open
Number: #404
Type: Pull Request
State: Open
Author: dependabot[bot] dependabot[bot]
Association: Unknown
Comments: 2
Created: April 08, 2026 at 08:58 PM UTC
(13 days ago)
Updated: April 08, 2026 at 09:01 PM UTC
(13 days ago)
Labels:
dependencies
Description:

Bumps hono from 4.12.10 to 4.12.12.

Release notes

Sourced from hono's releases.

v4.12.12

Security fixes

This release includes fixes for the following security issues:

Middleware bypass via repeated slashes in serveStatic

Affects: Serve Static middleware. Fixes a path normalization inconsistency where repeated slashes (//) could bypass route-based middleware protections and allow access to protected static files. GHSA-wmmm-f939-6g9c

Path traversal in toSSG() allows writing files outside the output directory

Affects: toSSG() for Static Site Generation. Fixes a path traversal issue where crafted ssgParams values could write files outside the configured output directory. GHSA-xf4j-xp2r-rqqx

Incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses

Affects: IP Restriction Middleware. Fixes improper handling of IPv4-mapped IPv6 addresses (e.g. ::ffff:127.0.0.1) that could cause allow/deny rules to be bypassed. GHSA-xpcf-pg52-r92g

Missing validation of cookie name on write path in setCookie()

Affects: setCookie(), serialize(), and serializeSigned() from hono/cookie. Fixes missing validation of cookie names on the write path, preventing inconsistent handling between parsing and serialization. GHSA-26pp-8wgv-hjvm

Non-breaking space prefix bypass in cookie name handling in getCookie()

Affects: getCookie() from hono/cookie. Fixes a discrepancy in cookie name handling that could allow attacker-controlled cookies to override legitimate ones and bypass prefix protections. GHSA-r5rp-j6wh-rvv4


Users who use Serve Static, Static Site Generation, Cookie utilities, or IP restriction middleware are strongly encouraged to upgrade to this version.

v4.12.11

What's Changed

New Contributors

Full Changelog: https://github.com/honojs/hono/compare/v4.12.10...v4.12.11

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

Summary by cubic

Upgrade hono to 4.12.12 to pull in security fixes for static serving, SSG output, cookie handling, and IP restriction. No app code changes; lockfile updated.

  • Dependencies
    • Bumped hono from 4.12.10 to 4.12.12 (updates pnpm-lock.yaml).

Written for commit b559d5cd633317837b4227ebab1d5551c71e6137. Summary will update on new commits.

Package Dependencies
Package:
hono
Ecosystem:
npm
Version Change:
4.12.10 → 4.12.12
Update Type:
Patch
Security Advisories
Hono: Non-breaking space prefix bypass in cookie name handling in getCookie()
GHSA-r5rp-j6wh-rvv4 CVE-2026-39410 MODERATE
## Summary A discrepancy between browser cookie parsing and `parse()` handling allows cookie prefix protections to be bypassed. Cookie names that are treated as distinct by the browser may be nor...
Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses
GHSA-xpcf-pg52-r92g CVE-2026-39409 MODERATE
## Summary `ipRestriction()` does not canonicalize IPv4-mapped IPv6 client addresses (e.g. `::ffff:127.0.0.1`) before applying IPv4 allow or deny rules. In environments such as Node.js dual-stack,...
Hono missing validation of cookie name on write path in setCookie()
GHSA-26pp-8wgv-hjvm MODERATE
## Summary Cookie names are not validated on the write path when using `setCookie()`, `serialize()`, or `serializeSigned()` to generate Set-Cookie headers. While certain cookie attributes such as...
Hono: Path traversal in toSSG() allows writing files outside the output directory
GHSA-xf4j-xp2r-rqqx CVE-2026-39408 MODERATE
## Summary A path traversal issue in `toSSG()` allows files to be written outside the configured output directory during static site generation. When using dynamic route parameters via `ssgParams`...
Hono: Middleware bypass via repeated slashes in serveStatic
GHSA-wmmm-f939-6g9c CVE-2026-39407 MODERATE
## Summary A path handling inconsistency in `serveStatic` allows protected static files to be accessed by using repeated slashes (`//`) in the request path. When route-based middleware (e.g., `/a...
Technical Details
ID: 15141693
UUID: 4227608495
Node ID: PR_kwDORVSXHM7Q73Q3
Host: GitHub
Repository: daggerstuff/pixelated