Hono: Improper validation of NumericDate claims (exp, nbf, iat) in JWT verify() (honojs hono)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.22 % Β· percentile 12 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Analyzed
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.
Weaknesses (CWE)
- CWE-1284 β Improper Validation of Specified Quantity in Input
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | LOW 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N | GitHub_M |
| CVSS 3.1 | LOW 3.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-hm8q-7f3q-5f36 β Hono has improper validation of NumericDate claims (exp, nbf, iat) in JWT verify()
European references
- ENISA EUVD Β· EUVD-2026-30038
- GCVE Β· GCVE-0-2026-44459
Affected configurations (NVD CPE)
cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*< 4.12.18
Affected products
| Product | Versions |
|---|---|
| honojs Β· hono | affected < 4.12.18 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |