CVE-2026-39407
mediumpriority · track · 21EPSS 0.004 · 38 %ileDEEUUSEPSS · scored 2026-10-22
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.12, a path handling inconsistency in serveStatic allows protected static files to be accessed by using repeated slashes (//) in the request path. When route-based middleware (e.g., /admin/*) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. This vulnerability is fixed in 4.12.12.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (27)
Products and version ranges known to be affected.
- IBM App Connect Enterprise 12.0.1.0-12.0.12.25all versionscert_bundDEcpe:/a:ibm:app_connect_enterprise:12.0.1.0_-_12.0.12.25
- IBM App Connect Enterprise 12.0.1.0-12.0.12.26all versionscert_bundDEcpe:/a:ibm:app_connect_enterprise:12.0.1.0_-_12.0.12.26
- IBM App Connect Enterprise 13.0.1.0-13.0.7.0all versionscert_bundDEcpe:/a:ibm:app_connect_enterprise:13.0.1.0_-_13.0.7.0
- IBM App Connect Enterprise 13.0.1.0-13.0.7.1all versionscert_bundDEcpe:/a:ibm:app_connect_enterprise:13.0.1.0_-_13.0.7.1
- IBM SPSS Collaboration and Deployment Servicesall versionscert_bundDEcpe:/a:ibm:spss:collaboration_and_deployment_services
- IBM Sterling Connect:Direct Web Servicesall versionscert_bundDEcpe:/a:ibm:sterling_connect%3adirect:web_services
- Red Hat Enterprise Linux 9 Multicluster Engine for Kubernetes 2.8.6all versionscert_bundDEcpe:/o:redhat:enterprise_linux:9_multicluster_engine_for_kubernetes_2.8.6
- Red Hat OpenShift OpenShift Container Platform 4.20.29all versionscert_bundDEcpe:/a:redhat:openshift:openshift_container_platform_4.20.29
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2026-1407IBM App Connect Enterprise Certified Container: Mehrere SchwachstellenDeutsch2026-05-06csaf · cert_bundDE
Ein Angreifer kann mehrere Schwachstellen in IBM App Connect Enterprise Certified Container ausnutzen, um beliebigen Code auszuführen, Sicherheitsmaßnahmen zu umgehen, Cross-Site-Scripting-Angriffe durchzuführen, Daten zu manipulieren, vertrauliche Informationen offenzulegen oder einen Denial-of-Service-Zustand zu verursachen.
- GHSA-wmmm-f939-6g9cHono: Middleware bypass via repeated slashes in serveStatic2026-04-08ghsa · osvUS
## Summary A path handling inconsistency in `serveStatic` allows protected static files to be accessed by using repeated slashes (`//`) in the request path. When route-based middleware (e.g., `/admin/*`) is used for authorization, the router may not match paths containing repeated slashes, while serveStatic resolves them as normalized paths. This can lead to a middleware bypass. ## Details The routing layer and `serveStatic` handle repeated slashes differently. For example: ``` /admin/secret.txt => matches /admin/* /admin//secret.txt => may not match /admin/* ``` However, `serveStatic` may interpret both paths as the same file location (e.g., `admin/secret.txt`) and return the file. This inconsistency allows a request such as: ``` GET //admin/secret.txt ``` to bypass middleware registered on `/admin/*` and access protected files. The issue has been fixed by rejecting paths that contain repeated slashes, ensuring consistent behavior between route matching and static file resolution. ## Impact An attacker can access static files that are intended to be protected by route-based middleware by using repeated slashes in the request path. This can lead to unauthorized access to sensitive files under the static root. This issue affects applications that rely on serveStatic together with route-based middleware for access control.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3ccnnvd
- https://github.com/honojs/hono/releasesPatchcnnvd
- https://github.com/honojs/hono/releases/tag/v4.12.12cnnvd
- https://github.com/honojs/hono/security/advisories/GHSA-wmmm-f939-6g9ccnnvd
- https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3cenisa_euvd
- https://github.com/honojs/hono/releases/tag/v4.12.12enisa_euvd
- https://github.com/honojs/hono/security/advisories/GHSA-wmmm-f939-6g9cenisa_euvd
- https://github.com/honojs/hono/commit/9aff14bd727f8b0435c963363fd803260e7b8e3cPatchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan