Home / honojs / node-server / CVE-2024-23340
CVE-2024-23340: is it exploited, and which versions of honojs node-server are affected and fixed?
CVE-2024-23340 is a path traversal (reading or writing files outside the intended folder) vulnerability in honojs node-server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: @hono/node-server from 1.3.0 before 1.4.1 (GitHub advisory GHSA-rjq5-w47x-x359). Fixed in 1.4.1 (GitHub advisory GHSA-rjq5-w47x-x359). Severity: Medium (5.3, CVSS 3.1, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:11 UTC and NVD November 19, 2026, 07:32 UTC.
What is CVE-2024-23340?
@hono/node-server can't handle "double dots" in URL
@hono/node-server is an adapter that allows users to run Hono applications on Node.js. Since v1.3.0, @hono/node-server has used its own Request object with `url` behavior that is unexpected. In the standard API, if the URL contains `..`, here called "double dots", the URL string returned by Request will be in the resolved path. However, the `url` in @hono/node-server's Request as does not resolve double dots, so `http://localhost/static/.. /foo.txt` is returned. This causes vulnerabilities when using `serveStatic`. Modern web browsers and a latest `curl` command resolve double dots on the client side, so this issue doesn't affect those using either of those tools. However, problems may occur if accessed by a client that does not resolve them. Version 1.4.1 includes the change to fix this issue. As a workaround, don't use `serveStatic`.
From the CVE record by GitHub_M, last updated May 30, 2025, 14:21 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| honojs | node-server | >= 1.3.0, < 1.4.1 |
As the CVE record by GitHub_M states it, last updated May 30, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @hono/node-server | >= 1.3.0, < 1.4.1 | 1.4.1 | GHSA-rjq5-w47x-x359 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated January 23, 2024. Summary: @hono/node-server cannot handle "double dots" in URL.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| hono | node-server | from 1.3.0 before 1.4.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 07:12 UTC.
How severe is CVE-2024-23340?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | GitHub_M |
| Medium 5.3 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2024-23340 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: poc; automatable: yes; technical impact: partial (CISA ADP, May 8, 2025)
- EPSS
- 0.72% probability of exploitation activity in the next 30 days, percentile 55.2 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- https://github.com/honojs/node-server/security/advisories/GHSA-rjq5-w47x-x359 x_refsource_CONFIRM
- https://github.com/honojs/node-server/commit/dd9b9a9b23e3896403c90a740e7f1f0892feb402 x_refsource_MISC
- https://github.com/honojs/node-server/blob/8cea466fd05e6d2e99c28011fc0e2c2d3f3397c9/src/request.ts#L43-L45 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- January 15, 2024
- Published
- January 22, 2024, 23:00 UTC
- CVE record updated
- May 30, 2025, 14:21 UTC by GitHub_M
- NVD
- Modified, last modified June 17, 2026, 07:12 UTC
- Last checked
- CVE list November 19, 2026, 07:11 UTC; NVD November 19, 2026, 07:32 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect node-server?
- Nov 12, 2026CVE-2026-126344 honojs node-server: missing Origin Validation in WebSockets
- Nov 12, 2026CVE-2026-126343 honojs node-server: uncaught exception (crash)
- Nov 12, 2026CVE-2026-126210 honojs node-server: interpretation Conflict
- Oct 28, 2026CVE-2026-118663 honojs node-server: double Decoding of the Same Data
- Aug 13, 2026CVE-2026-73565 honojs node-server: memory leak
- Apr 8, 2026CVE-2026-39406 honojs node-server: path traversal (reading or writing files outside the intended folder)
- Mar 6, 2026CVE-2026-29087 honojs node-server: incorrect authorization
- Apr 19, 2024CVE-2024-32652 honojs node-server: exceptional condition mishandled
Questions about CVE-2024-23340
Is CVE-2024-23340 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 0.72% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of honojs node-server are affected by CVE-2024-23340?
@hono/node-server from 1.3.0 before 1.4.1, per the GitHub advisory GHSA-rjq5-w47x-x359. The tables above give every range the sources list.
Which version fixes CVE-2024-23340?
1.4.1, per the GitHub advisory GHSA-rjq5-w47x-x359. Check the vendor's advisory before you rely on it.
How severe is CVE-2024-23340?
Medium (5.3, CVSS 3.1, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2024-23340?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.