CVE-2026-84365
Hono: Incomplete fix for CVE-2026-39408: `toSSG()` still writes files outside the output directory
Hono is a Web application framework that provides support for any JavaScript runtime. From 4.12.12 until 4.13.5, the fix released for CVE-2026-39408 does not cover every traversal sequence, and toSSG() can still write files outside the configured output directory when a route parameter contains consecutive parent-directory segments. Static site generation builds each output path from the route path and values supplied through ssgParams, then verifies that the result stays inside the output directory using the same normalization routine that built the path. That routine does not fully collapse runs of consecutive parent-directory segments, allowing a path that the check accepts to resolve outside the output directory, and the check also treats output directories that differ in how they are rooted as equivalent. This arises when an application generates a static site from route parameter values it does not fully control, such as slugs from a CMS, API, or user submission. An untrusted ssgParams value can create or overwrite files elsewhere in the build environment and alter generated artifacts or deployment output. The vulnerability affects build-time static site generation only; request-time routing and applications with entirely developer-controlled ssgParams values are not affected. This issue is fixed in version 4.13.5.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.437% · score date 2026-11-19. EPSS is an estimated probability over the next 30 days, not proof of exploitation.
CISA KEV: not included in the checked catalog; exploitation may still occur. Last checked: 2026-11-19T16:57:41.748Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 6.5 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
Assessment source · checked 2026-11-19T12:59:16.273Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T16:57:41.748Z | CISA KEV |
| cvss | verified | 2026-11-19T12:59:16.273Z | CVE Program |
| epss | verified | 2026-11-19T16:04:55.369Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:31.728Z | OSV |
| affected | verified | 2026-11-19T12:59:16.273Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:59:16.273Z | CVE Program |
Affected versions and configuration
honojs hono; default status: unknown: < 4.13.5 [affected; scheme: unspecified]
Defaults, conditional configuration, package status and version schemes are retained below. A version range alone is not an exposure verdict.
CVE Program · cve-json · full conditions
{
"affected": [
{
"vendor": "honojs",
"product": "hono",
"versions": [
{
"status": "affected",
"version": "< 4.13.5"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-84365",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-09-04T02:08:59.015761Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-09-04T02:09:11.744Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-gqvv-2mrq-wpjv",
"aliases": [
"CVE-2026-84365"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.13.5"
}
]
}
],
"package": {
"name": "hono",
"purl": "pkg:npm/hono",
"ecosystem": "npm"
},
"versions": [],
"database_specific": {
"source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-gqvv-2mrq-wpjv/GHSA-gqvv-2mrq-wpjv.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/honojs/hono/security/advisories/GHSA-gqvv-2mrq-wpjv",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-84365",
"type": "ADVISORY"
},
{
"url": "https://github.com/honojs/hono/commit/3a67f7f3997e1437d108f7bcba2dbcee2df69221",
"type": "WEB"
},
{
"url": "https://github.com/honojs/hono",
"type": "PACKAGE"
},
{
"url": "https://github.com/honojs/hono/releases/tag/v4.13.5",
"type": "WEB"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-22"
],
"severity": "MODERATE",
"github_reviewed": true,
"nvd_published_at": "2026-09-01T21:18:47Z",
"github_reviewed_at": "2026-09-08T21:23:51Z"
}
}Archived source JSONCorrection evidence
Distribution packages and upstream releases are distinct. ESM channels may require the corresponding Ubuntu entitlement. Notes and branch ranges are not installable package versions. OSV fixed boundaries are ecosystem-specific version thresholds, not proof that a package is currently available or installed.
| Evidence type | Distribution / release | Package | Channel | Version or source note | Source |
|---|---|---|---|---|---|
| ecosystem-boundary | npm / package | hono | Not a distribution channel | 4.13.5 | Official record |
Vendor notices and operational guidance
No connected vendor notice is available for this record.
Original sources and dates
- OSVConsulted: 2026-11-19T12:52:31.728ZArchived source JSON
Source publication: 2026-09-08T21:23:51.000Z
Source modification: 2026-09-08T21:30:04.760ZDocument fingerprint
551fe927490845d994bf127403858ae2bee99a32df7bd0db3edef92b278f712a - CISA KEVConsulted: 2026-11-19T16:57:41.748ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - CVE ProgramConsulted: 2026-11-19T12:59:16.273ZArchived source JSON
Source publication: 2026-09-01T20:26:51.031Z
Source modification: 2026-09-04T02:09:11.744ZDocument fingerprint
4e8a84ecd641fcfa2e9740609d3b016531397e9f8fbd60a57090457d4a5674b7 - FIRST EPSSConsulted: 2026-11-19T16:04:55.369ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
a7405b33de9d393c372baf362c397518d22432ff8c9df98522c1b46d1034d9cf
Official status history
- UNKNOWN → PUBLISHED · · evidence