CVE-2026-44459: Hono: Improper validation of NumericDate claims (exp, nbf, iat) in JWT verify()
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 exp configured on the verifier. - Tokens with a future nbf accepted as currently valid. - Tokens with a future iat accepted as legitimately issued.
Deployments using a well-formed token issuer and protecting the signing key are not affected.
Other sources
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.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
npm/honoto a version that resolves this vulnerability.Fixed in 4.12.18
Event History
Frequently Asked Questions
What is the severity of CVE-2026-44459?
CVE-2026-44459 has been classified with a significant severity due to its potential impact on time-based token validation.
How do I fix CVE-2026-44459?
To fix CVE-2026-44459, upgrade to version 4.12.18 of the hono package.
What causes the vulnerability in CVE-2026-44459?
CVE-2026-44459 is caused by improper validation of JWT NumericDate claims which allows non-compliant values to bypass checks.
Is CVE-2026-44459 exploitable by an anonymous attacker?
No, CVE-2026-44459 is not exploitable by anonymous attackers as it requires specific conditions related to malformed claim values.
Which versions of the hono package are affected by CVE-2026-44459?
CVE-2026-44459 affects all versions of the hono package prior to 4.12.18.