Cloudanix VulnDB

CVE-2026-71849

Low · 3.7

CVSS

3.7

EPSS

0.4%

Published

Aug 7, 2026

CISA due date

—

Cloudanix analysis

Schedule a fix SSVC: Track

Some Hono-based web services may accidentally pass internal response details from backend systems to outside users and should be updated.

Exploitation
Remote Unauthenticated
Attacker needs
None
Complexity
High
Impact
Data Exposure
Component
Web Framework
Class
Information Disclosure
Remediation
Upgrade
Effort
Medium
Patch risk
Low

What it actually does

In Hono versions 4.7.0 through 4.12.33, the hono/proxy Proxy Helper does not fully enforce RFC 9110 hop-by-hop header handling for proxied origin responses. It removes the standard hop-by-hop headers, including the Connection header itself, but fails to remove additional response header names listed inside the origin server's Connection header. If an origin response marks a non-standard header as connection-scoped, Hono may still forward that named header to the client, causing unintended disclosure of metadata or internal-only response values. The impact is limited to confidentiality and depends on an application using Hono's proxy() helper in front of an origin that emits sensitive or internal headers through this pattern.

Why it matters to the business

Applications using affected Hono proxy functionality may unintentionally expose internal metadata, debugging values, routing information, connection identifiers, or other headers that were intended to stay between backend components. The vulnerability has a low CVSS score and requires a specific origin-response behavior, and it is not currently listed in CISA KEV or known to be used in ransomware campaigns, but it should still be remediated because proxy-layer header leaks can reveal information useful for later attacks.

How an attack unfolds

An attacker first identifies a web endpoint implemented with an affected Hono version that proxies requests to an upstream origin using hono/proxy. The attacker sends normal HTTP requests to that proxied route and inspects the response headers. If the upstream origin returns a Connection header that names additional non-standard hop-by-hop headers, and those named headers contain internal or sensitive metadata, the vulnerable Hono proxy removes the Connection header but fails to remove the headers named by it. The attacker then receives and records those leaked headers from the proxied response. Practical exploitation is highly dependent on backend behavior: the origin must emit custom connection-scoped headers, and those headers must contain information valuable to the attacker.

How to fix it

Upgrade Hono to version 4.12.34 or later. The affected range is 4.7.0 through 4.12.33. For JavaScript dependency management, update package manifests and lockfiles, then rebuild and redeploy affected applications. If immediate upgrade is not possible, add a response-header sanitization layer around proxied responses that parses the origin response's Connection header and removes every named header case-insensitively before sending the response to the client, in addition to removing standard hop-by-hop headers such as Connection, Keep-Alive, Proxy-Authenticate, Proxy-Authorization, TE, Trailer, Transfer-Encoding, and Upgrade. As a defense-in-depth measure, avoid placing secrets, tokens, internal topology data, or debugging details in any response headers emitted by backend origins.

How to confirm the fix worked

Confirm all deployed applications that depend on Hono use version 4.12.34 or later by checking package manifests, lockfiles, and installed dependency trees with tools such as npm ls hono, pnpm why hono, or yarn why hono. Validate behavior with a controlled upstream test response that includes a header such as Connection: X-Internal-Test and X-Internal-Test: should-not-leak; the proxied client response should not include either the Connection header or X-Internal-Test. Review edge, reverse-proxy, and application response-header captures to verify that custom headers named by an origin Connection header are no longer forwarded.

Typical attack path

  1. Discover or guess a public route backed by a Hono application using the hono/proxy helper.
  2. Send HTTP requests to the proxied endpoint and capture full response headers.
  3. Look for headers that appear to contain internal metadata, routing details, debugging information, request identifiers, backend names, or connection-scoped values.
  4. Repeat requests across paths, methods, and parameters to identify conditions where the origin emits sensitive custom headers.
  5. Use the disclosed metadata to support reconnaissance, backend fingerprinting, privilege escalation attempts, or follow-on attacks.

How to detect it

There are no known public exploit indicators or threat-actor-specific artifacts for this issue. To determine whether information may already have been disclosed, review HTTP response-header logs from application gateways, CDN logs, reverse proxies, service meshes, observability platforms, and application-level request tracing for proxied routes backed by Hono. Focus on responses where the upstream origin included a Connection header listing custom header names and determine whether those same named headers were present in the downstream client-facing response. If full response headers were not logged historically, exploitation may not be reliably distinguishable from normal traffic because an attacker can trigger the issue with ordinary HTTP requests. Useful evidence includes external responses containing internal-only header names, backend routing metadata, debug headers, service identifiers, connection IDs, or headers that engineering teams intended to be hop-by-hop only.

What your security team should do

  • Inventory JavaScript services using Hono, especially services importing hono/proxy or using the proxy() helper.
  • Prioritize upgrade of affected Hono versions 4.7.0 through 4.12.33 to 4.12.34 or later in internet-facing applications.
  • Search code repositories for imports from hono/proxy and review whether proxied origins emit custom response headers or connection-scoped metadata.
  • Add automated dependency checks to flag Hono versions below 4.12.34.
  • Implement or verify response-header allowlisting/sanitization at application or gateway layers for proxied traffic.
  • Review recent response-header logs, if available, for evidence that internal-only headers were returned to external clients.
  • Monitor vendor advisories and package manager security feeds for any change in exploit maturity, as this issue was published recently.

The record

Hono is a Web application framework that provides support for any JavaScript runtime. From 4.7.0 to 4.12.33, the Proxy Helper proxy() function in hono/proxy does not remove response headers named by the origin's Connection header. Per RFC 9110 Section 7.6.1, an intermediary must remove the header fields listed in a message's Connection header field before forwarding the message, in addition to the well known hop by hop headers, but the proxy() function only removed the well known hop by hop headers, including Connection itself, from origin responses. A client may therefore receive response headers that the origin intended only for its immediate peer, disclosing connection scoped or internal metadata contained in such headers, when an application proxies responses from an origin that declares additional, non standard headers as hop by hop via the Connection response header. This issue is fixed in version 4.12.34.

Affected packages

Ecosystem Package Introduced Fixed

Related vulnerabilities