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 package | Versions | Reported by |
|---|---|---|
| Hono Hono | before 4.12.7 Not affected: 4.12.7 | CVE List |
| hono (npm) | before 4.12.7 | GitHub Advisory Database |
All scores
| VulnCheck | 6.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N |
| VulnCheck | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 4.8medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Classification
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
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-56763 changed 2026-07-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-v8w9-8mx6-g223 changed 2026-10-02 | CC-BY-4.0 |
| NVD | CVE-2026-56763 changed 2026-10-25 | Public domain |