# CVE-2026-47674: Hono: IP Restriction bypasses static deny rules for non-canonical IPv6

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Published: 2026-05-28T15:29:08.525Z
- Modified: 2026-10-14T20:10:00.190Z
- Also known as: GHSA-xrhx-7g5j-rcj5
- Weaknesses: CWE-185, CWE-1289
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.21, the ip-restriction middleware (hono/ip-restriction) compares incoming IP addresses against configured deny and allow rules using string equality after partial normalization. Non-canonical IPv6 representations of an address already listed in a static rule — such as compressed forms, explicit-zero forms, or hex-notation IPv4-mapped addresses — do not match the normalized rule entry, causing the rule to be silently skipped. This vulnerability is fixed in 4.12.21.

(As written by CVE List.)

## Affected

- honojs hono: < 4.12.21
- hono (npm): before 4.12.21
- hono hono: before 4.12.21

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N`

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-xrhx-7g5j-rcj5> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-47674> (advisory)
- <https://github.com/honojs/hono/commit/c831020fb1fa2e929d222f6c84e1abfe013e512b> (web)
- <https://github.com/honojs/hono> (package)
- <https://github.com/honojs/hono/releases/tag/v4.12.21> (web)

## Sources

- CVE List: [CVE-2026-47674](https://www.cve.org/CVERecord?id=CVE-2026-47674), CVE Terms of Use, modified 2026-06-02
- GitHub Advisory Database: [GHSA-xrhx-7g5j-rcj5](https://github.com/advisories/GHSA-xrhx-7g5j-rcj5), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-47674](https://nvd.nist.gov/vuln/detail/CVE-2026-47674), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-47674 · Whole record: https://cve.day/CVE-2026-47674.json · Rebuilt by cve.day 2026-11-25T22:59:22.967Z
