{"id":"CVE-2026-29045","state":"PUBLISHED","title":"Hono: Arbitrary file access via serveStatic vulnerability","description":"Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, when using serveStatic together with route-based middleware protections (e.g. app.use('/admin/*', ...)), inconsistent URL decoding allowed protected static resources to be accessed without authorization. The router used decodeURI, while serveStatic used decodeURIComponent. This mismatch allowed paths containing encoded slashes (%2F) to bypass middleware protections while still resolving to the intended filesystem path. This issue has been patched in version 4.12.4.","publishedAt":"2026-03-04T22:09:22.045Z","updatedAt":"2026-03-05T15:42:05.041Z","severity":{"score":7.5,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["honojs hono"],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":"< 4.12.4","status":"affected"}]}],"references":["https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr","https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3"],"weaknesses":["CWE-177"],"ingestedAt":"2026-10-29T20:11:31.369Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/29xxx/CVE-2026-29045.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-29045","state":"PUBLISHED","datePublished":"2026-03-04T22:09:22.045Z","dateUpdated":"2026-03-05T15:42:05.041Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-03-03T17:50:11.243Z"},"containers":{"cna":{"title":"Hono: Arbitrary file access via serveStatic vulnerability","descriptions":[{"lang":"en","value":"Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.12.4, when using serveStatic together with route-based middleware protections (e.g. app.use('/admin/*', ...)), inconsistent URL decoding allowed protected static resources to be accessed without authorization. The router used decodeURI, while serveStatic used decodeURIComponent. This mismatch allowed paths containing encoded slashes (%2F) to bypass middleware protections while still resolving to the intended filesystem path. This issue has been patched in version 4.12.4."}],"affected":[{"vendor":"honojs","product":"hono","versions":[{"version":"< 4.12.4","status":"affected"}]}],"references":[{"url":"https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr","name":"https://github.com/honojs/hono/security/advisories/GHSA-q5qw-h33p-qvwr","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3","name":"https://github.com/honojs/hono/commit/6a0607a929d888893f0c91d92dce2fcfdb3662a3","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":7.5,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-177","lang":"en","description":"CWE-177: Improper Handling of URL Encoding (Hex Encoding)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-03-04T22:09:22.045Z"},"source":{"advisory":"GHSA-q5qw-h33p-qvwr","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-03-05T15:39:29.390771Z","id":"CVE-2026-29045","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-03-05T15:42:05.041Z"}}]}}}