PT-2025-43405 · Hono · Hono
Published
2025-10-22
·
Updated
2025-10-24
·
CVE-2025-62610
CVSS v3.1
8.1
8.1
High
| Base vector | Vector | AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N |
Name of the Vulnerable Software and Affected Versions
Hono versions 1.1.0 through 4.10.1
Description
Hono’s JWT authentication middleware lacked built-in verification of the
aud (Audience) claim. This could lead to confused-deputy or token-mix-up issues, where an API might accept a valid token intended for a different service, especially when multiple services share the same issuer and keys. RFC 7519 requires that tokens with an aud claim be rejected unless the processing party is identified within that claim. The issue stems from the absence of an aud option in the middleware’s verification options, which include iss, nbf, iat, and exp. This could result in cross-service access and boundary erosion, potentially allowing unauthorized access to sensitive endpoints. The issue is particularly relevant in deployments with a single Identity Provider (IdP) and shared keys across multiple services.Recommendations
Update to Hono version 4.10.2 or later.
Enable RFC 7519–compliant audience validation by adding the
verification.aud option to the JWT middleware configuration. For example:import { Hono } from 'hono' import { jwt } from 'hono/jwt' const app = new Hono() app.use( '/api/*', jwt({ secret: 'my-secret', verification: { aud: 'service-a', }, }) )
Fix
Improper Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
dbugs@ptsecurity.com
Weakness Enumeration
Related Identifiers
CVE-2025-62610
GHSA-M732-5P4W-X69G
Affected Products
Hono
References · 13
- https://osv.dev/vulnerability/GHSA-m732-5p4w-x69g · Vendor Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2025-62610 · Security Note
- https://osv.dev/vulnerability/CVE-2025-62610 · Vendor Advisory
- https://github.com/honojs/hono⭐ 26808 🔗 828 · Note
- https://github.com/honojs/hono/security/advisories/GHSA-m732-5p4w-x69g⭐ 26803 🔗 827 · Note
- https://github.com/honojs/hono/commit/45ba3bf9e3dff8e4bd85d6b47d4b71c8d6c66bef⭐ 26803 🔗 827 · Note
- https://reddit.com/r/VulnMatter/comments/1oe66u4/resumen_diario_de_vulnerabilidades_23102025 · Reddit Post
- https://twitter.com/CveTodo/status/1981095284139520143 · Twitter Post
- https://twitter.com/CVEnew/status/1981219904465314283 · Twitter Post
- https://twitter.com/gN3mes1s/status/1981087910045569038 · Twitter Post
- https://reddit.com/r/VulnMatter/comments/1oezejc/resumen_diario_de_vulnerabilidades_24102025 · Reddit Post
- https://t.me/CVEtracker/35522 · Telegram Post
- https://twitter.com/pHo9UBenaA/status/1981545754129997879 · Twitter Post