# CVE-2026-39409: Hono has incorrect IP matching in ipRestriction() for IPv4-mapped IPv6 addresses

- Severity: Medium 6.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA: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.36%, higher than 31% of CVEs (2026-12-02)
- Published: 2026-04-08T00:17:14.000Z
- Modified: 2026-09-10T03:50:44.898Z
- Also known as: GHSA-xpcf-pg52-r92g
- Weaknesses: CWE-180
- SSVC (CISA-ADP): exploitation none, automatable no, 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.12, ipRestriction() does not canonicalize IPv4-mapped IPv6 client addresses (e.g. ::ffff:127.0.0.1) before applying IPv4 allow or deny rules. In environments such as Node.js dual-stack, this can cause IPv4 rules to fail to match, leading to unintended authorization behavior. This vulnerability is fixed in 4.12.12.

(As written by CVE List.)

## Affected

- honojs hono: < 4.12.12
- hono (npm): before 4.12.12
- hono hono: up to 4.12.11

## Every score

- GitHub_M: CVSS:4.0 6.3 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N`

## References

- <https://github.com/honojs/hono/security/advisories/GHSA-xpcf-pg52-r92g> (vendor-advisory, web)
- <https://github.com/honojs/hono/commit/48fa2233bc092f650119f42df043050737cabf39> (patch, web)
- <https://github.com/honojs/hono/releases/tag/v4.12.12> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-39409> (advisory)
- <https://github.com/honojs/hono> (package)

## Sources

- CVE List: [CVE-2026-39409](https://www.cve.org/CVERecord?id=CVE-2026-39409), CVE Terms of Use, modified 2026-04-08
- GitHub Advisory Database: [GHSA-xpcf-pg52-r92g](https://github.com/advisories/GHSA-xpcf-pg52-r92g), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-39409](https://nvd.nist.gov/vuln/detail/CVE-2026-39409), Public domain, modified 2026-07-24

---

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