p PatchFirst

PatchFirst · Latest vulnerabilities

hono vulnerabilities · Page 3

Vulnerability published for hono in the last 30 days: 1. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 52

  1. CVE-2026-24473

    Medium · CVSS 6.3EPSS 0.48%Fix available

    Hono has an Arbitrary Key Read in Serve static Middleware (Cloudflare Workers Adapter)

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, Serve static Middleware for the Cloudflare Workers adapter contains an information disclosure vulnerability that may allow attackers to read arbitrary keys from the Workers environment. Improper validation of user-controlled paths can result in unintended access to internal asset keys. Version 4.11.7 contains a patch for the issue.

    • Update to 4.11.7
    Published Updated
  2. CVE-2026-24472

    Medium · CVSS 5.3EPSS 0.52%Fix available

    Hono cache middleware ignores "Cache-Control: private" leading to Web Cache Deception

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, Cache Middleware contains an information disclosure vulnerability caused by improper handling of HTTP cache control directives. The middleware does not respect standard cache control headers such as `Cache-Control: private` or `Cache-Control: no-store`, which may result in private or authenticated responses being cached and subsequently exposed to unauthorized users. Version 4.11.7 has a patch for the issue.

    • Update to 4.11.7
    Published Updated
  3. CVE-2026-24398

    Medium · CVSS 4.8EPSS 0.34%Fix available

    Hono's IPv4 address validation bypass in IP Restriction Middleware allows IP spoofing

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.11.7, IP Restriction Middleware in Hono is vulnerable to an IP address validation bypass. The `IPV4_REGEX` pattern and `convertIPv4ToBinary` function in `src/utils/ipaddr.ts` do not properly validate that IPv4 octet values are within the valid range of 0-255, allowing attackers to craft malformed IP addresses that bypass IP-based access controls. Version 4.11.7 contains a patch for the issue.

    • Update to 4.11.7
    Published Updated
  4. CVE-2026-22817

    High · CVSS 8.2EPSS 0.17%Fix available

    JWT Algorithm Confusion via Unsafe Default (HS256) in Hono JWT Middleware Allows Token Forgery and Auth Bypass

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.11.4, there is a flaw in Hono’s JWK/JWKS JWT verification middleware allowed the JWT header’s alg value to influence signature verification when the selected JWK did not explicitly specify an algorithm. This could enable JWT algorithm confusion and, in certain configurations, allow forged tokens to be accepted. As part of this fix, the JWT middleware now requires the alg option to be explicitly specified. This prevents algorithm confusion by ensuring that the verification algorithm is not derived from untrusted JWT header values. This vulnerabilit

    • Update to 4.11.4
    Published Updated
  5. CVE-2026-22818

    High · CVSS 8.2EPSS 0.14%Fix available

    JWT algorithm confusion in Hono JWK Auth Middleware when JWK lacks "alg" (untrusted header.alg fallback)

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.11.4, there is a flaw in Hono’s JWK/JWKS JWT verification middleware allowed the algorithm specified in the JWT header to influence signature verification when the selected JWK did not explicitly define an algorithm. This could enable JWT algorithm confusion and, in certain configurations, allow forged tokens to be accepted. The JWK/JWKS JWT verification middleware has been updated to require an explicit allowlist of asymmetric algorithms when verifying tokens. The middleware no longer derives the verification algorithm from untrusted JWT header v

    • Update to 4.11.4
    Published Updated
  6. CVE-2025-62610

    High · CVSS 8.1EPSS 0.38%Fix available

    Hono Improperly Authorizes JWT Audience Validation

    Hono is a Web application framework that provides support for any JavaScript runtime. In versions from 1.1.0 to before 4.10.2, Hono’s JWT Auth Middleware does not provide a built-in aud (Audience) verification option, which can cause confused-deputy / token-mix-up issues: an API may accept a valid token that was issued for a different audience (e.g., another service) when multiple services share the same issuer/keys. This can lead to unintended cross-service access. Hono’s docs list verification options for iss/nbf/iat/exp only, with no aud support; RFC 7519 requires that when an aud claim is present, tokens MUST be rejected unless the proces

    • Update to 4.10.2
    Published Updated
  7. CVE-2025-59139

    Medium · CVSS 5.3EPSS 0.45%Fix available

    Hono has Body Limit Middleware Bypass

    Hono is a Web application framework that provides support for any JavaScript runtime. In versions prior to 4.9.7, a flaw in the `bodyLimit` middleware could allow bypassing the configured request body size limit when conflicting HTTP headers were present. The middleware previously prioritized the `Content-Length` header even when a `Transfer-Encoding: chunked` header was also included. According to the HTTP specification, `Content-Length` must be ignored in such cases. This discrepancy could allow oversized request bodies to bypass the configured limit. Most standards-compliant runtimes and reverse proxies may reject such malformed requests w

    • Update to 4.9.7
    Published Updated
  8. CVE-2025-58362

    High · CVSS 7.5EPSS 0.55%Fix available

    Hono contains a flaw in URL path parsing, potentially leading to path confusion

    Hono is a Web application framework that provides support for any JavaScript runtime. Versions 4.8.0 through 4.9.5 contain a flaw in the getPath utility function which could allow path confusion and potential bypass of proxy-level ACLs (e.g. Nginx location blocks). The original implementation relied on fixed character offsets when parsing request URLs. Under certain malformed absolute-form Request-URIs, this could lead to incorrect path extraction depending on the application and environment. If proxy ACLs are used to protect sensitive endpoints such as /admin, this flaw could have allowed unauthorized access. The confidentiality impact depen

    • Update to 4.9.6
    Published Updated
  9. CVE-2024-48913

    Medium · CVSS 5.9EPSS 0.33%Fix available

    Hono vulnerable to bypass of CSRF Middleware by a request without Content-Type header.

    Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by a request without Content-Type header. Although the CSRF middleware verifies the Content-Type Header, Hono always considers a request without a Content-Type header to be safe. This can allow an attacker to bypass CSRF protection implemented with Hono CSRF middleware. Version 4.6.5 fixes this issue.

    • Update to 4.6.5
    Published Updated
  10. CVE-2024-43787

    Medium · CVSS 5EPSS 0.24%Fix available

    Hono CSRF middleware can be bypassed using crafted Content-Type header

    Hono is a Web application framework that provides support for any JavaScript runtime. Hono CSRF middleware can be bypassed using crafted Content-Type header. MIME types are case insensitive, but isRequestedByFormElementRe only matches lower-case. As a result, attacker can bypass csrf middleware using upper-case form-like MIME type. This vulnerability is fixed in 4.5.8.

    • Update to 4.5.8
    Published Updated
  11. CVE-2024-32869

    Medium · CVSS 5.3EPSS 0.64%Fix available

    Hono vulnerable to Restricted Directory Traversal in serveStatic with deno

    Hono is a Web application framework that provides support for any JavaScript runtime. Prior to version 4.2.7, when using serveStatic with deno, it is possible to traverse the directory where `main.ts` is located. This can result in retrieval of unexpected files. Version 4.2.7 contains a patch for the issue.

    • Update to 4.2.7
    Published Updated
  12. CVE-2023-50710

    Medium · CVSS 4.2EPSS 0.64%Fix available

    Hono's named path parameters can be overridden in TrieRouter

    Hono is a web framework written in TypeScript. Prior to version 3.11.7, clients may override named path parameter values from previous requests if the application is using TrieRouter. So, there is a risk that a privileged user may use unintended parameters when deleting REST API resources. TrieRouter is used either explicitly or when the application matches a pattern that is not supported by the default RegExpRouter. Version 3.11.7 includes the change to fix this issue. As a workaround, avoid using TrieRouter directly.

    • Update to 3.11.7
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →