3.8low
Hono: Improper validation of NumericDate claims (exp, nbf, iat) in JWT verify()
- Severity
- 3.8low CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.22% (higher than 12% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-hm8q-7f3q-5f36
Description
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.18, improper validation of the JWT NumericDate claims exp, nbf, and iat in hono/utils/jwt allows tokens with non-spec-compliant claim values to silently bypass time-based checks. This issue is not exploitable by an anonymous attacker; it only manifests when a malformed claim value reaches verify() — typically when the application itself issues such tokens, or when the signing key is otherwise under attacker control. This vulnerability is fixed in 4.12.18.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| honojs hono | < 4.12.18 | CVE List |
| hono (npm) | before 4.12.18 | GitHub Advisory Database |
| hono hono | before 4.12.18 | NVD |
All scores
| GitHub_M | 3.8low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 3.8low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
What each source says
CVE List
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.12.18, improper validation of the JWT NumericDate claims exp, nbf, and iat in hono/utils/jwt allows tokens with non-spec-compliant claim values to silently bypass time-based checks. This issue is not exploitable by an anonymous attacker; it only manifests when a malformed claim value reaches verify() — typically when the application itself issues such tokens, or when the signing key is otherwise under attacker control. This vulnerability is fixed in 4.12.18.
GitHub Advisory Database
Summary
Improper validation of the JWT NumericDate claims exp, nbf, and iat in hono/utils/jwt allows tokens with non-spec-compliant claim values to silently bypass time-based checks. This issue is not exploitable by an anonymous attacker; it only manifests when a malformed claim value reaches verify() — typically when the application itself issues such tokens, or when the signing key is otherwise under attacker control.
Details
The validation routine combined option, presence, and threshold checks in a single short-circuiting expression, so several classes of malformed values were silently skipped instead of rejected:
- A falsy numeric value short-circuited the presence check.
- A non-finite numeric value compared as never-after-now and never-expired.
- A non-numeric type produced NaN comparisons that evaluated false.
This deviates from RFC 7519 §4.1.4, which defines NumericDate as a finite JSON numeric value.
Impact
An actor able to issue tokens accepted by the application may craft tokens whose exp, nbf, or iat claims silently bypass time-based enforcement. This may lead to:
- Tokens treated as never expiring even with
expconfigured on the verifier. - Tokens with a future
nbfaccepted as currently valid. - Tokens with a future
iataccepted as legitimately issued.
Deployments using a well-formed token issuer and protecting the signing key are not affected.
NVD (es)
Hono es un framework de aplicación web que proporciona soporte para cualquier tiempo de ejecución de JavaScript. Antes de la 4.12.18, la validación indebida de las reclamaciones NumericDate de JWT exp, nbf e iat en hono/utils/jwt permite que los tokens con valores de reclamación que no cumplen con la especificación omitan silenciosamente las comprobaciones basadas en el tiempo. Este problema no es explotable por un atacante anónimo; solo se manifiesta cuando un valor de reclamación malformado llega a verify() - típicamente cuando la propia aplicación emite dichos tokens, o cuando la clave de firma está de cualquier otra forma bajo el control del atacante. Esta vulnerabilidad está corregida en la 4.12.18.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-44459 changed 2026-06-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-hm8q-7f3q-5f36 changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-44459 changed 2026-10-26 | Public domain |