Hono
CVE-2025-62610
HIGH
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain valid token for sibling service
-
ExploitReplay token to target Hono JWT API
-
ExecutionMiddleware accepts token with no aud check
-
ImpactGain unauthorized cross-service access
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization verification
MITRE ATT&CK
1 technique across 1 tactic: Defense Evasion The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires all of: (1) an application using Hono's JWT auth middleware (hono/jwt, or likely the jwk/verifyWithJwks variants) in a version from 1.1.0 to before 4.10.2; (2) a multi-service architecture where several services share the same JWT issuer and signing key/secret; and (3) tokens that carry an aud claim scoped to a different service. Because pre-4.10.2 Hono had no aud verification option at all (docs covered only iss/nbf/iat/exp), any such shared-key deployment was vulnerable by default with no misconfiguration needed. LIMITING FACTORS: single-service deployments, or deployments that do not share issuer/keys across services, are not meaningfully affected; and the attacker must already possess a valid, correctly-signed token issued for another audience in the same trust domain, so a fully anonymous outsider cannot exploit it. |
| Impact | Signals are mixed and point to a conditional, moderate real-world priority rather than a drop-everything emergency. The vendor CVSS of 8.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N) implies a serious network-reachable confidentiality/integrity break, but this is contradicted by the softer real-world indicators: EPSS is only 0.38% (30th percentile), there is no CISA KEV listing (not actively exploited), and the GitHub advisory itself classifies the fix as a 'security hardening improvement.' POC is marked publicly available, yet the GHSA deliberately omits reproduction steps, so a weaponized exploit is not independently confirmed. The CVSS vector also looks optimistic for this bug class: UI:R and PR:N are questionable because the attack is a confused-deputy/token-mix-up that depends entirely on a specific deployment shape (multiple services sharing one issuer/signing key, with tokens carrying an aud claim) and requires the attacker to already hold a valid token for a sibling audience - not something an anonymous remote user typically has. Net: this is a real authorization weakness worth patching, but its blast radius is gated by non-default architecture, so for most single-service Hono deployments the practical risk is low despite the high base score. |
| Exploit ScenarioDerived | An organization runs two microservices (Service A and Service B) behind Hono's JWT auth middleware that share the same issuer and signing secret/keys. An attacker who is a legitimate user of Service A takes their valid token - scoped via aud to Service A - and replays it against Service B's Hono-protected API; because the middleware performed no audience validation before 4.10.2, Service B accepts the token and grants cross-service access it was never intended to allow. A public advisory exists (GHSA-m732-5p4w-x69g), though it intentionally withholds step-by-step PoC reproduction. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 08, 2026
Improper authorization in Hono's JWT Auth Middleware (hono/jwt in the npm package 'hono', versions 1.1.0 through 4.10.1) causes the API to accept a correctly signed token that was issued for a different audience, producing confused-deputy / token-mix-up behavior whenever multiple services share the same JWT issuer and signing key. Because the middleware exposed no aud verification option at all before 4.10.2 (documented options covered only iss/nbf/iat/exp), any such shared-key deployment was left unvalidated by default with no misconfiguration required; however, the attacker must already possess a valid, correctly signed token minted for another audience in the same trust domain, and a multi-service shared-key architecture must exist, so a fully anonymous outsider cannot exploit it. Public reporting is limited to the vendor GitHub advisory (which deliberately withholds reproduction steps) and the upstream fix commit, the EPSS score is low at 0.38% (30th percentile), there is no CISA KEV listing, and the vendor-released patch is Hono 4.10.2. Signals are mixed and point to a conditional, moderate real-world priority rather than a drop-everything emergency.
RemediationAI
Vendor-released patch: Hono 4.10.2 - upgrade the npm 'hono' dependency to 4.10.2 or later (fix commit 45ba3bf9e3dff8e4bd85d6b47d4b71c8d6c66bef, advisory https://github.com/honojs/hono/security/advisories/GHSA-m732-5p4w-x69g) and then explicitly enable RFC 7519-compliant audience checking in every protected route, for example jwt({ secret: 'my-secret', verification: { aud: 'service-a' } }), which now rejects tokens whose aud does not identify the consuming service. Because upgrading alone does not enforce aud unless it is configured, also confirm the same setting is applied to the JWK/JWKS-based middleware ('jwk' / 'verifyWithJwks') where the reporter suspects the identical gap. If an immediate upgrade is not possible, use compensating controls and accept their trade-offs: (1) insert a small custom middleware before the Hono JWT handler that decodes the payload and rejects any token whose aud claim does not match the local service identifier - low code cost, but it must be applied to every protected route and any route that forgets it remains exposed; (2) stop sharing a single issuer/signing key across services and issue each service a distinct key or audience-scoped key set - architecturally the strongest fix, but it requires coordinated key rotation and re-issuance of all outstanding tokens, which will invalidate existing sessions; (3) where a shared-key model must persist, restrict which services can present which tokens at the gateway and log/alert on cross-audience reuse. Note that tokens already issued with a foreign aud remain usable until their exp passes, so treat rotation as part of the remediation rather than an optional extra.
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in npm
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The underlying technology is JSON Web Token validation as implemented by Hono's JWT Auth Middleware and JWT helper. Per RFC 7519 §4.1.3, when an 'aud' (Audience) claim is present, each principal intended to process the token MUST identify itself in that claim and must reject tokens whose aud does not match; Hono's verifyOptions enumerated only iss, nbf, iat and exp, so the audience claim was effectively ignored. This is a root-cause of CWE-285 (Improper Authorization): the middleware performed cryptographic signature verification but not the authorization binding that ties the token to a specific consuming service, letting a token legitimately issued to service B be replayed against service A. The vulnerability class is a confused-deputy / token-mix-up issue that manifests only where multiple relying parties share one issuer and one signing secret or key set. The reporter notes the same omission likely exists in the JWK/JWKS-based paths ('jwk' / 'verifyWithJwks'). The upstream fix commit (45ba3bf9e3dff8e4bd85d6b47d4b71c8d6c66bef) adds a 'verification.aud' option plus new JwtPayloadRequiresAud and JwtTokenAudience error types, with tests covering string, string[] and RegExp audience forms, matching against both single-string and array 'aud' claims and rejecting mismatches - i.e. the fix hardens verification rather than changing token issuance. The affected package is npm 'hono' (CPE cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*:), the runtime target being Node.js/JavaScript runtimes.
Know when Hono gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
Attacker must already hold a valid sibling-audience token (PR:L) and exploitation depends on a non-default shared-issuer/shared-key multi-service setup (AC:H); no user interaction and no availability impact.
Primary rating from Vendor (github).
CVSS VectorVendor: github
DescriptionCVE.org
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 processing party identifies itself in that claim. This issue has been patched in version 4.10.2.
Executive ViewAI
A flaw in the Hono web framework's JWT authentication middleware (npm package 'hono', versions 1.1.0 through 4.10.1) lets a token issued for one service be accepted by another, eroding the authorization boundaries between applications that rely on a shared identity issuer. Organizations running multiple Hono-based services behind a common signing key - a common microservice and API gateway pattern - are the ones exposed, and the gap can be reached by an already-authenticated user or a compromised peer service rather than an anonymous outsider. Leadership should care because it converts a single foothold anywhere in the trust domain into cross-service access, quietly weakening the separation controls the architecture was built on.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
Affected Products (CPE)CVE.org
The adapter @hono/node-server allows you to run your Hono application on Node.js. Rated high severity (CVSS 7.5), this v
Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by
Quadratic-complexity denial of service in Hono's `languageDetector` middleware (versions 4.12.0-4.12.33) allows unauthen
Path prefix stripping in Hono's app.mount() API exposes mounted sub-applications to incorrect routing due to a raw-vs-de
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.3),
@hono/node-server is an adapter that allows users to run Hono applications on Node.js. Rated medium severity (CVSS 5.3),
Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.0),
Cross-user HTML disclosure in Hono's server-side rendering affects all applications using hono/jsx with memo()-wrapped c
Hono is a web framework written in TypeScript. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploita
Hono is a Web application framework that provides support for any JavaScript runtime. [CVSS 8.2 HIGH]
Hono versions before 4.11.4 allow JWT algorithm confusion attacks through improper algorithm validation in the JWK/JWKS
Hono before version 4.11.4 contains a JWT algorithm confusion vulnerability in its JWK/JWKS verification middleware that
NVD
CVE.org
EPSS
GitHub
Exploit-DB