Skip to main content

Hono CVE-2025-62610

HIGH
Improper Authorization (CWE-285)
2025-10-22 security-advisories@github.com
8.1
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid token for sibling service
  2. Exploit
    Replay token to target Hono JWT API
  3. Execution
    Middleware accepts token with no aud check
  4. Impact
    Gain 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

npm hono fix: 4.10.2

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

Vendor (github) PRIMARY 8.1 HIGH
AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
vuln.today AI 6.8 MEDIUM

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.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
4.0 AV:N/AC:H/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

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

Why It Matters

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.

Business Impact: Medium
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Medium
popular modern JS/edge framework, but narrower footprint than Express
Exploit
POC
Public exploit code exists
Data Quality
4 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC Yes
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact
Medium

Priority Score

60
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +40
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:hono:hono:*:*:*:*:*:node.js:*:*

More in Hono

View all
CVE-2024-32652 HIGH POC
7.5 Apr 19

The adapter @hono/node-server allows you to run your Hono application on Node.js. Rated high severity (CVSS 7.5), this v

CVE-2024-48913 MEDIUM POC
5.9 Oct 15

Hono, a web framework, prior to version 4.6.5 is vulnerable to bypass of cross-site request forgery (CSRF) middleware by

CVE-2026-71848 MEDIUM POC
5.3 Aug 07

Quadratic-complexity denial of service in Hono's `languageDetector` middleware (versions 4.12.0-4.12.33) allows unauthen

CVE-2026-47676 MEDIUM POC
5.3 May 28

Path prefix stripping in Hono's app.mount() API exposes mounted sub-applications to incorrect routing due to a raw-vs-de

CVE-2024-32869 MEDIUM POC
5.3 Apr 23

Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.3),

CVE-2024-23340 MEDIUM POC
5.3 Jan 22

@hono/node-server is an adapter that allows users to run Hono applications on Node.js. Rated medium severity (CVSS 5.3),

CVE-2024-43787 MEDIUM POC
5.0 Aug 22

Hono is a Web application framework that provides support for any JavaScript runtime. Rated medium severity (CVSS 5.0),

CVE-2026-71850 MEDIUM POC
4.8 Aug 07

Cross-user HTML disclosure in Hono's server-side rendering affects all applications using hono/jsx with memo()-wrapped c

CVE-2023-50710 MEDIUM POC
4.3 Dec 14

Hono is a web framework written in TypeScript. Rated medium severity (CVSS 4.3), this vulnerability is remotely exploita

CVE-2026-27700 HIGH
8.2 Feb 25

Hono is a Web application framework that provides support for any JavaScript runtime. [CVSS 8.2 HIGH]

CVE-2026-22818 HIGH
8.2 Jan 13

Hono versions before 4.11.4 allow JWT algorithm confusion attacks through improper algorithm validation in the JWK/JWKS

CVE-2026-22817 HIGH
8.2 Jan 13

Hono before version 4.11.4 contains a JWT algorithm confusion vulnerability in its JWK/JWKS verification middleware that

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy