Skip to content

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

MediumCVSS 5.3 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial
Technology
Red Hat

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.

Upgrade path

10 packages: 4 fixed, 5 with no fix yet.

PackageAffectedFixed inStatus
redhat/ansible-automation-platform-27/mcp-server-rhel9(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/ansible-automation-platform-tech-preview/mcp-server-rhel9(Red Hat ansible_automation_platform 2) All versions No fix listed No fix yet
redhat/devspaces/code-rhel9(Red Hat openshift_devspaces 3) All versions No fix listed No fix yet
redhat/grafana(Red Hat enterprise_linux 10) All versions No fix listed No fix yet
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9(Red Hat openshift_ai) All versions No fix listed No fix yet
npm hono(npm) >= 4.12.4, < 4.13.11 4.13.11 Fixed
redhat/grafana12-4-main(Red Hat hummingbird 1) < 12.4.13-0.1.hum1 12.4.13-0.1.hum1 Fixed
redhat/grafana13-1-main(Red Hat hummingbird 1) < 13.1.7-0.2.hum1 13.1.7-0.2.hum1 Fixed
redhat/grafana13-2-main(Red Hat hummingbird 1) < 13.2.4-0.1.hum1 13.2.4-0.1.hum1 Fixed
honojs hono = >= 4.12.4, < 4.13.11 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
redhat/grafana13-1-main(Red Hat:hummingbird:1) < 13.1.7-0.2.hum1 13.1.7-0.2.hum1
redhat/grafana12-4-main(Red Hat:hummingbird:1) < 12.4.13-0.1.hum1 12.4.13-0.1.hum1
redhat/grafana13-2-main(Red Hat:hummingbird:1) < 13.2.4-0.1.hum1 13.2.4-0.1.hum1
redhat/ansible-automation-platform-27/mcp-server-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/ansible-automation-platform-tech-preview/mcp-server-rhel9(Red Hat:ansible_automation_platform:2) All versions No fix listed
redhat/grafana(Red Hat:enterprise_linux:10) All versions No fix listed
redhat/rhoai/odh-workbench-codeserver-datascience-cpu-py312-rhel9(Red Hat:openshift_ai) All versions No fix listed
redhat/devspaces/code-rhel9(Red Hat:openshift_devspaces:3) All versions No fix listed
honojs hono = >= 4.12.4, < 4.13.11 No fix listed
npm hono(npm) >= 4.12.4, < 4.13.11 4.13.11

References