Sourced from undici's releases.
v6.27.0
⚠️ Security Release
This release line addresses 4 security advisories.
Action required: Upgrade to undici 6.27.0 or later.
npm install undici@^6.27.0Note on patched version: the v6 fixes shipped in v6.27.0, not
6.26.0—v6.26.0contains only the chunked-EOF fix (#5308) and the version bump, none of the security fixes below.The v6 line is not affected by the SOCKS5 advisories (GHSA-vmh5-mc38-953g, GHSA-hm92-r4w5-c3mj), the shared-cache disclosure (GHSA-pr7r-676h-xcf6), or the 8.x-only WebSocket regression (GHSA-38rv-x7px-6hhq).
Summary
Advisory CVE Severity (CVSS) Fixed in Fix commit GHSA-vxpw-j846-p89q CVE-2026-12151 High (7.5) 6.27.0 b7f252e7GHSA-p88m-4jfj-68fv CVE-2026-9679 Moderate (5.9) 6.27.0 25efa447GHSA-g8m3-5g58-fq7m CVE-2026-11525 Low (3.7) 6.27.0 25efa447GHSA-35p6-xmwp-9g52 CVE-2026-6733 Low (3.7) 6.27.0 f4c31d60
High severity
WebSocket DoS via fragment count bypass — CVE-2026-12151
GHSA-vxpw-j846-p89q · CWE-400, CWE-770 Fix:
b7f252e7Backport WebSocket maxPayloadSize fixes (#5423, backported to v6 in #5428)A malicious WebSocket server can stream a large number of small or empty continuation frames. Undici enforced a limit on cumulative payload size but did not limit the number of fragments per message, leading to unbounded memory growth and denial of service. All releases from 6.17.0 onward are affected.
- Affected: applications using
new WebSocket(...)orWebSocketStreamagainst untrusted endpoints.- Workaround: none — upgrade is required.
Moderate severity
HTTP header injection via Set-Cookie percent-decoding — CVE-2026-9679
... (truncated)
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
origindefaults to the wildcardAffects:
hono/cors. Fixes the wildcard origin reflecting the requestOriginand sendingAccess-Control-Allow-Credentials: truewhencredentials: trueis set without an explicitorigin, where any site a logged-in user visited could make credentialed cross-origin requests and read responses from cookie-authenticated endpoints. GHSA-88fw-hqm2-52qcBody Limit Middleware can be bypassed on AWS Lambda by understating
Content-LengthAffects:
hono/body-limiton AWS Lambda (hono/aws-lambda,hono/lambda-edge). Fixes the request being built with the client-declaredContent-Lengthwhile the body is delivered fully buffered, where a client could declare a smallContent-Lengthwith a much larger body and slip past the configured size limit. GHSA-rv63-4mwf-qqc2Path traversal in
serve-staticon Windows via encoded backslash (%5C)Affects:
serveStaticon 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-fc44AWS Lambda adapter merges multiple
Set-Cookieheaders into one value, dropping cookies on ALB single-header and LatticeAffects:
hono/aws-lambda. Fixes multipleSet-Cookieresponse 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-28xfLambda@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 asX-Forwarded-Forreached the application and the remaining values were silently dropped. GHSA-wgpf-jwqj-8h8pv4.12.24
What's Changed
- docs(contribution): simplifyAI Usage Policy by
@yusukebein honojs/hono#4972- chore: remove
@types/globby@rtrittoin honojs/hono#4978- fix(bearer-auth): mention verifyToken in missing-options error message by
@tan7virin honojs/hono#4987- refactor(language): Test/improve tests on languages middleware by
@iNeoOin honojs/hono#4980- fix(utils/ipaddr): expand "::" to eight zero groups by
@youcefzemmarin honojs/hono#4973- fix: clean up config files trailing comma, stale excludes, typesVersions gaps, jsr paths by
@Mohammad-Faiz-Cloud-Engineerin honojs/hono#4982- refactor(timing): Test/add test for middleware timing by
@iNeoOin honojs/hono#4991- fix(utils/ipaddr): render the unspecified address binary as "::" by
@sarathfrancis90in honojs/hono#4998Full Changelog: https://github.com/honojs/hono/compare/v4.12.23...v4.12.24
fce483e
4.12.25751ba41
Merge commit from forkf0b094d
Merge commit from forkfa5f9bf
Merge commit from fork3892a6c
Merge commit from fork74c2cf8
test(aws-lambda): update integration tests (#5012)7ae7cba
Merge commit from fork1b13848
chore(ci): bump codecov-action to v7.0.0 (#5011)5fdde5a
4.12.24c78932d
fix(utils/ipaddr): render the unspecified address binary as
"::" (#4998)