Skip to content

build(deps): bump hono from 4.12.7 to 4.12.12#1891

Closed
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/hono-4.12.12
Closed

build(deps): bump hono from 4.12.7 to 4.12.12#1891
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/npm_and_yarn/hono-4.12.12

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot bot commented on behalf of github Apr 8, 2026

Bumps hono from 4.12.7 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: honojs/hono@v4.12.10...v4.12.11

v4.12.10

What's Changed

New Contributors

... (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 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 [hono](https://github.com/honojs/hono) from 4.12.7 to 4.12.12.
- [Release notes](https://github.com/honojs/hono/releases)
- [Commits](honojs/hono@v4.12.7...v4.12.12)

---
updated-dependencies:
- dependency-name: hono
  dependency-version: 4.12.12
  dependency-type: direct:production
...

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 Apr 8, 2026
@dependabot dependabot bot requested a review from a team as a code owner April 8, 2026 04:08
@vercel
Copy link
Copy Markdown
Contributor

vercel bot commented Apr 8, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
admin.ensnode.io Ready Ready Preview, Comment Apr 8, 2026 4:09am
ensnode.io Ready Ready Preview, Comment Apr 8, 2026 4:09am
ensrainbow.io Ready Ready Preview, Comment Apr 8, 2026 4:09am

@changeset-bot
Copy link
Copy Markdown

changeset-bot bot commented Apr 8, 2026

⚠️ No Changeset found

Latest commit: 05098ba

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@greptile-apps
Copy link
Copy Markdown
Contributor

greptile-apps bot commented Apr 8, 2026

Greptile Summary

This PR is a security-driven dependency bump of hono from 4.12.7 to 4.12.12, generated by Dependabot. The changes are confined to pnpm-workspace.yaml (catalog version pin) and pnpm-lock.yaml (all resolved peer-dependency strings updated accordingly).

hono 4.12.12 includes five CVE-level security fixes:

Other lockfile changes:

  • One @vitest/mocker@4.0.5 snapshot entry switched its vite peer from tsx@4.21.0 to tsx@4.20.6 — this appears to be a pre-existing peer-resolution discrepancy surfaced during the lockfile regeneration and is unrelated to the hono bump itself.

Confidence Score: 5/5

Safe to merge — this is a patch-range security bump with no API-breaking changes and five CVEs resolved.

The change is purely a version bump within the ^4.12.x semver range, so no code changes are required from the consumer. All five fixed issues in 4.12.12 are security patches. The lockfile regeneration is consistent and correct. The only side-effect is a minor pre-existing peer-resolution shuffle in a vitest snapshot entry, which does not affect production code.

No files require special attention.

Vulnerabilities

This bump directly addresses five security advisories in hono:

  • GHSA-wmmm-f939-6g9cserveStatic route middleware bypass via repeated slashes
  • GHSA-xf4j-xp2r-rqqxtoSSG() path traversal allowing writes outside the output directory
  • GHSA-xpcf-pg52-r92gipRestriction() bypass for IPv4-mapped IPv6 addresses (e.g. ::ffff:127.0.0.1)
  • GHSA-26pp-8wgv-hjvm — missing cookie-name validation in setCookie() / serialize() / serializeSigned()
  • GHSA-r5rp-j6wh-rvv4getCookie() non-breaking-space prefix bypass allowing attacker-controlled cookie override

No new security issues are introduced by this PR.

Important Files Changed

Filename Overview
pnpm-workspace.yaml Catalog version pin for hono updated from ^4.12.7 to ^4.12.12 — correct and minimal change.
pnpm-lock.yaml All hono@4.12.7 references mechanically replaced with hono@4.12.12 across importers, packages, and snapshots; integrity hash updated; one unrelated @vitest/mocker peer-resolution entry also changed (tsx@4.21.0tsx@4.20.6).

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A["pnpm-workspace.yaml\ncatalog: hono 4.12.12"] --> B["pnpm-lock.yaml\nhono@4.12.12 resolved"]
    B --> C1["apps/ensnode-api"]
    B --> C2["apps/ensindexer"]
    B --> C3["apps/ensrainbow"]
    B --> C4["packages/ens-referrals"]
    B --> D1["@hono/node-server@1.19.11"]
    B --> D2["@hono/otel@0.2.2"]
    B --> D3["@hono/zod-openapi@1.2.2"]
    B --> D4["@hono/zod-validator@0.7.6"]
    B --> D5["ponder@0.16.3"]
    B --> D6["ponder-enrich-gql-docs-middleware@0.1.3"]
Loading

Reviews (1): Last reviewed commit: "build(deps): bump hono from 4.12.7 to 4...." | Re-trigger Greptile

@shrugs shrugs closed this Apr 8, 2026
@dependabot @github
Copy link
Copy Markdown
Contributor Author

dependabot bot commented on behalf of github Apr 8, 2026

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

@dependabot dependabot bot deleted the dependabot/npm_and_yarn/hono-4.12.12 branch April 8, 2026 19:22
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.

1 participant