CVE-2026-56763
JSON

6.3medium

Hono - Prototype Pollution via __proto__ Key in parseBody with dot Option

Severity
6.3medium CVSS:4.0 by VulnCheck
Exploit likelihood
0.18% (higher than 7% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck
Also known as
GHSA-v8w9-8mx6-g223

Description

Hono before 4.12.7 allows __proto__ key in parseBody with dot option enabled, permitting specially crafted form field names to create objects with __proto__ properties. When parsed results are merged into regular JavaScript objects using unsafe merge patterns, attackers can exploit this to achieve prototype pollution and modify object behavior.

Affected

Product or packageVersionsReported by
Hono Honobefore 4.12.7
Not affected: 4.12.7
CVE List
hono (npm)before 4.12.7GitHub Advisory Database

All scores

VulnCheck6.3medium CVSS:4.0CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
VulnCheck4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-1321

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Hono before 4.12.7 allows __proto__ key in parseBody with dot option enabled, permitting specially crafted form field names to create objects with __proto__ properties. When parsed results are merged into regular JavaScript objects using unsafe merge patterns, attackers can exploit this to achieve prototype pollution and modify object behavior.

GitHub Advisory Database

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.

NVD (es)

Hono anterior a la versión 4.12.7 permite la clave __proto__ en parseBody con la opción dot habilitada, permitiendo que nombres de campos de formulario especialmente diseñados creen objetos con propiedades __proto__. Cuando los resultados analizados se fusionan en objetos JavaScript regulares utilizando patrones de fusión inseguros, los atacantes pueden explotar esto para lograr la contaminación de prototipos y modificar el comportamiento del objeto.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-56763 changed 2026-07-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-v8w9-8mx6-g223 changed 2026-10-02CC-BY-4.0
NVDCVE-2026-56763 changed 2026-10-25Public domain