Vulnerabilities in pkg:npm/hono

PACKAGE
Advisory Identifier: GHSA-v8w9-8mx6-g223
Advisory Summary

CVE-2026-56763 is a MODERATE (CVSS 4.8) true }) vulnerability (CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')) affecting Hono libraries in the npm ecosystem. The issue involves true }). Remediation is available by upgrading affected packages to version 4.12.7.

55 Known Advisory Record(s)
Package Vulnerability Intelligence

pkg:npm/hono

55 Known Advisory Record(s)

Vulnerability advisories affecting package pkg:npm/hono. Select an advisory below to view technical details or fixes.

Advisory ID CVE / NVD Severity Summary
GHSA-v8w9-8mx6-g223 CVE-2026-56763 MODERATE Hono vulnerable to Prototype Pollution possible through __proto__ key allowed in parseBody({ dot: true })
GHSA-3wcj-gjvf-fvch - MODERATE Duplicate Advisory: Hono vulnerable to Prototype Pollution possible through __proto__ key allowed in parseBody({ dot: true })
GHSA-q7jf-gf43-6x6p CVE-2025-71381 MODERATE Hono vulnerable to Vary Header Injection leading to potential CORS Bypass
GHSA-cw3j-28qq-x3xh - MODERATE Duplicate Advisory: Hono vulnerable to Vary Header Injection leading to potential CORS Bypass
GHSA-hxh3-vqpv-xpqv CVE-2026-93981 MODERATE hono/jsx renders plain strings unescaped in boundary components, leading to XSS
GHSA-6623-4q32-82v8 - LOW Duplicate Advisory: hono/jsx renders plain strings unescaped in boundary components, leading to XSS
GHSA-26pp-8wgv-hjvm CVE-2026-56762 MODERATE Hono missing validation of cookie name on write path in setCookie()
GHSA-55cm-p4ww-685g - MODERATE Duplicate Advisory: Hono missing validation of cookie name on write path in setCookie()
GHSA-gqvv-2mrq-wpjv CVE-2026-84365 MODERATE Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory
GHSA-g6gw-c38x-mqfc CVE-2026-84364 MODERATE Hono: Unbounded dot-notation nesting in `parseBody()` can cause memory exhaustion
GHSA-crvj-82cr-hjcx CVE-2026-84363 MODERATE Hono: Query parser reads parameters after the URL fragment, causing cache-key and proxy interpretation differentials
GHSA-f23p-vx2j-j53r CVE-2026-71850 MODERATE Hono: `memo()` retains SSR output across requests, leading to cross-user data disclosure
GHSA-79qm-7rj5-m7r9 CVE-2026-71849 LOW Hono: Proxy Helper does not remove response headers listed in the `Connection` header
GHSA-54fx-42gc-7vw4 CVE-2026-71848 MODERATE Hono: Algorithmic Complexity DoS in Language Middleware
GHSA-8j4g-w8fx-2239 CVE-2026-69207 MODERATE Hono: ReDoS in CORS middleware via Access-Control-Request-Headers
GHSA-hvrm-45r6-mjfj CVE-2026-59896 MODERATE hono/jsx does not isolate context per request, leading to cross-request data disclosure
GHSA-w62v-xxxg-mg59 CVE-2026-59895 MODERATE Hono: Server-Side XSS via JSX Escaping Bypass in cx() Utility
GHSA-xgm2-5f3f-mvvc CVE-2026-59897 MODERATE Hono: API Gateway v1 adapter can drop a distinct repeated request header value during de-duplication
GHSA-wwfh-h76j-fc44 CVE-2026-54286 MODERATE hono: Path traversal in `serve-static` on Windows via encoded backslash (`%5C`)
GHSA-88fw-hqm2-52qc CVE-2026-54290 HIGH hono: CORS Middleware reflects any Origin with credentials when `origin` defaults to the wildcard
GHSA-wgpf-jwqj-8h8p CVE-2026-54289 MODERATE hono: Lambda@Edge adapter keeps only the last value of a repeated request header, dropping the rest
GHSA-rv63-4mwf-qqc2 CVE-2026-54288 MODERATE hono: Body Limit Middleware can be bypassed on AWS Lambda by understating `Content-Length`
GHSA-j6c9-x7qj-28xf CVE-2026-54287 MODERATE hono: AWS Lambda adapter merges multiple `Set-Cookie` headers into one value, dropping cookies on ALB single-header and Lattice
GHSA-458j-xx4x-4375 CVE-2026-56761 MODERATE hono Improperly Handles JSX Attribute Names Allows HTML Injection in hono/jsx SSR
GHSA-2gcr-mfcq-wcc3 CVE-2026-47676 MODERATE Hono: app.mount() strips mount prefix using undecoded path, causing incorrect routing for percent-encoded paths
GHSA-xrhx-7g5j-rcj5 CVE-2026-47674 MODERATE Hono: IP Restriction bypasses static deny rules for non-canonical IPv6
GHSA-3hrh-pfw6-9m5x CVE-2026-47675 MODERATE Hono: Cookie helper does not sanitize sameSite and priority, allowing Set-Cookie injection
GHSA-f577-qrjj-4474 CVE-2026-47673 MODERATE Hono: JWT middleware accepts any Authorization scheme, not only Bearer
GHSA-hm8q-7f3q-5f36 CVE-2026-44459 LOW Hono has improper validation of NumericDate claims (exp, nbf, iat) in JWT verify()
GHSA-p77w-8qqv-26rm CVE-2026-44457 MODERATE Hono's Cache Middleware ignores Vary: Authorization / Vary: Cookie leading to cross-user cache leakage
GHSA-9vqf-7f2p-gf9v CVE-2026-44456 MODERATE Hono: bodyLimit() can be bypassed for chunked / unknown-length requests
GHSA-69xw-7hcm-h432 CVE-2026-44455 MODERATE hono/jsx has Unvalidated JSX Tag Names that May Allow HTML Injection
GHSA-qp7p-654g-cw7p CVE-2026-44458 MODERATE Hono has CSS Declaration Injection via Style Object Values in JSX SSR
GHSA-xpcf-pg52-r92g CVE-2026-39409 MODERATE Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses
GHSA-r5rp-j6wh-rvv4 CVE-2026-39410 MODERATE Hono: Non-breaking space prefix bypass in cookie name handling in getCookie()
GHSA-xf4j-xp2r-rqqx CVE-2026-39408 MODERATE Hono: Path traversal in toSSG() allows writing files outside the output directory
GHSA-wmmm-f939-6g9c CVE-2026-39407 MODERATE Hono: Middleware bypass via repeated slashes in serveStatic
GHSA-5pq2-9x2x-5p6w CVE-2026-29086 MODERATE Hono Vulnerable to Cookie Attribute Injection via Unsanitized domain and path in setCookie()
GHSA-p6xx-57qc-3wxr CVE-2026-29085 MODERATE Hono Vulnerable to SSE Control Field Injection via CR/LF in writeSSE()
GHSA-q5qw-h33p-qvwr CVE-2026-29045 HIGH Hono vulnerable to arbitrary file access via serveStatic vulnerability
GHSA-xh87-mx6m-69f3 CVE-2026-27700 HIGH Hono is Vulnerable to Authentication Bypass by IP Spoofing in AWS Lambda ALB conninfo
GHSA-gq3j-xvxp-8hrf - LOW Hono added timing comparison hardening in basicAuth and bearerAuth
GHSA-w332-q679-j88p CVE-2026-24473 MODERATE Hono has an Arbitrary Key Read in Serve static Middleware (Cloudflare Workers Adapter)
GHSA-6wqw-2p9w-4vw4 CVE-2026-24472 MODERATE Hono cache middleware ignores "Cache-Control: private" leading to Web Cache Deception
GHSA-r354-f388-2fhh CVE-2026-24398 MODERATE Hono IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing
GHSA-9r54-q6cx-xmh5 CVE-2026-24771 MODERATE Hono vulnerable to XSS through ErrorBoundary component
GHSA-3vhc-576x-3qv4 CVE-2026-22818 HIGH Hono JWK Auth Middleware has JWT algorithm confusion when JWK lacks "alg" (untrusted header.alg fallback)
GHSA-f67f-6cw9-8mq4 CVE-2026-22817 HIGH Hono JWT Middleware's JWT Algorithm Confusion via Unsafe Default (HS256) Allows Token Forgery and Auth Bypass
GHSA-m732-5p4w-x69g CVE-2025-62610 HIGH Hono Improper Authorization vulnerability
GHSA-92vj-g62v-jqhh CVE-2025-59139 MODERATE Hono has Body Limit Middleware Bypass
GHSA-9hp6-4448-45g2 CVE-2025-58362 HIGH Hono's flaw in URL path parsing could cause path confusion
GHSA-rpfr-3m35-5vx5 CVE-2024-43787 LOW Hono CSRF middleware can be bypassed using crafted Content-Type header
GHSA-2234-fmw7-43wr CVE-2024-48913 MODERATE Hono allows bypass of CSRF Middleware by a request without Content-Type header.
GHSA-3mpf-rcc7-5347 CVE-2024-32869 MODERATE Hono vulnerable to Restricted Directory Traversal in serveStatic with deno
GHSA-f6gv-hh8j-q8vq CVE-2023-50710 MODERATE Named path parameters can be overridden in TrieRouter

CVE-2026-56763 at a Glance

CVE Identifier CVE-2026-56763
GHSA Identifier GHSA-v8w9-8mx6-g223
Severity MODERATE
CVSS v3.1 Base Score 4.8
CWE Classification CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')
Affected Product Hono
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 4.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality Low (C:L)
Integrity Low (I:L)
Availability None (A:N)

How to Fix CVE-2026-56763

To remediate this vulnerability, upgrade all affected Hono dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

hono fixed: 4.12.7
npm install hono@4.12.7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls hono

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-56763, inspect your project dependencies using npm:

npm ls hono

Analyze the terminal output to locate any version of Hono in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.12.7), your application is affected.

Note: The npm ls hono command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution'), where the product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype. In Hono, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary When using `parseBody({ dot: true })` in HonoRequest, specially crafted form field names such as `__proto__.x` could create objects containing a `__proto__` property. If the parsed result is later merged into regular JavaScript objects using unsafe merge patterns, this may lead to prototype pollution in the target object. ## Details The `parseBody({ dot: true })` feature supports dot notation to construct nested objects from form field names. In previous versions, the `__proto__` path segment was not filtered. As a result, specially crafted keys such as `__proto__.x` could produce objects containing `__proto__` properties. While this behavior does not directly modify `Object.prototype` within Hono itself, it may become exploitable if the parsed result is later merged into regular JavaScript objects using unsafe merge patterns. ## Impact Applications that merge parsed form data into regular objects using unsafe patterns (for example recursive deep merge utilities) may become vulnerable to prototype pollution.

CVE-2026-56763 Affected Hono Versions

1 component(s)
Fixed Versions:
4.12.7
Product / Package Ecosystem Affected Versions Fixed Version
hono
npm
< 4.12.7
4.12.7

References

Frequently Asked Questions

What is CVE-2026-56763?
CVE-2026-56763 is a security vulnerability in Hono involving true }) under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution').
Which Hono versions are affected?
Affected versions include releases prior to 4.12.7 across affected packages: hono.
What version fixes CVE-2026-56763?
Upgrading to 4.12.7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is hono affected?
Yes, hono is affected in releases prior to 4.12.7. Upgrade your dependency to 4.12.7 or later.
What is the CVSS score of CVE-2026-56763?
CVE-2026-56763 has a CVSS v3.1 base score of 4.8 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
What CWE is associated with CVE-2026-56763?
CVE-2026-56763 is classified under CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') (The product receives input from an upstream component that specifies attributes that are to be initialized or updated in an object, but it does not properly control modifications of attributes of the object prototype.).
How can I check npm dependencies for CVE-2026-56763?
Run the dependency tree command: 'npm ls hono'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-v8w9-8mx6-g223",
  "modified" : "2026-10-02T22:36:06Z",
  "published" : "2026-03-11T00:31:47Z",
  "aliases" : [ "CVE-2026-56763" ],
  "summary" : "Hono vulnerable to Prototype Pollution possible through __proto__ key allowed in parseBody({ dot: true })",
  "details" : "## Summary\n\nWhen using `parseBody({ dot: true })` in HonoRequest, specially crafted form field names such as `__proto__.x` could create objects containing a `__proto__` property.\n\nIf the parsed result is later merged into regular JavaScript objects using unsafe merge patterns, this may lead to prototype pollution in the target object.\n\n## Details\n\nThe `parseBody({ dot: true })` feature supports dot notation to construct nested objects from form field names.\n\nIn previous versions, the `__proto__` path segment was not filtered. As a result, specially crafted keys such as `__proto__.x` could produce objects containing `__proto__` properties.\n\nWhile this behavior does not directly modify `Object.prototype` within Hono itself, it may become exploitable if the parsed result is later merged into regular JavaScript objects using unsafe merge patterns.\n\n## Impact\n\nApplications that merge parsed form data into regular objects using unsafe patterns (for example recursive deep merge utilities) may become vulnerable to prototype pollution.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "hono"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.12.7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/honojs/hono/security/advisories/GHSA-v8w9-8mx6-g223"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-56763"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/honojs/hono/commit/ef902257e0beacbb83d2a9549b3b83e03514a6fe"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/honojs/hono"
  }, {
    "type" : "WEB",
    "url" : "https://www.vulncheck.com/advisories/hono-prototype-pollution-via-proto-key-in-parsebody-with-dot-option"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-1321" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-03-11T00:31:47Z",
    "nvd_published_at" : null
  }
}