CVE-2026-22817
JWT Algorithm Confusion via Unsafe Default (HS256) in Hono JWT Middleware Allows Token Forgery and Auth Bypass
Hono is a Web application framework that provides support for any JavaScript runtime. Prior to 4.11.4, there is a flaw in Hono’s JWK/JWKS JWT verification middleware allowed the JWT header’s alg value to influence signature verification when the selected JWK did not explicitly specify an algorithm. This could enable JWT algorithm confusion and, in certain configurations, allow forged tokens to be accepted. As part of this fix, the JWT middleware now requires the alg option to be explicitly specified. This prevents algorithm confusion by ensuring that the verification algorithm is not derived from untrusted JWT header values. This vulnerability is fixed in 4.11.4.
Exposure status: unknown. This page does not establish whether an installed system is affected or corrected.
Severity and exploitation evidence
EPSS: 0.166% · 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-19T17:59:58.648Z. Public exploit availability is not used to set this status.
CVSS 3.1 · 8.2 · published by GitHub_MCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N
Assessment source · checked 2026-11-19T12:58:14.118Z
Verification by field
| Field | Status | Checked at (UTC) | Source |
|---|---|---|---|
| kev | verified | 2026-11-19T17:59:58.648Z | CISA KEV |
| cvss | verified | 2026-11-19T12:58:14.118Z | CVE Program |
| epss | verified | 2026-11-19T16:04:47.776Z | FIRST EPSS |
| patches | verified | 2026-11-19T12:52:31.728Z | OSV |
| affected | verified | 2026-11-19T12:58:14.118Z | CVE Program |
| lifecycle | verified | 2026-11-19T12:58:14.118Z | CVE Program |
Affected versions and configuration
honojs hono; default status: unknown: < 4.11.4 [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.11.4"
}
]
}
],
"additionalContainers": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-22817",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "partial"
}
],
"version": "2.0.3",
"timestamp": "2026-01-14T19:12:27.378678Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-01-14T19:12:35.457Z"
}
}
]
}Archived source JSONOSV · osv · full conditions
{
"id": "GHSA-f67f-6cw9-8mq4",
"aliases": [
"CVE-2026-22817"
],
"affected": [
{
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "4.11.4"
}
]
}
],
"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/01/GHSA-f67f-6cw9-8mq4/GHSA-f67f-6cw9-8mq4.json"
}
}
],
"severity": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:N"
}
],
"upstream": [],
"withdrawn": null,
"references": [
{
"url": "https://github.com/honojs/hono/security/advisories/GHSA-f67f-6cw9-8mq4",
"type": "WEB"
},
{
"url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22817",
"type": "ADVISORY"
},
{
"url": "https://github.com/honojs/hono/commit/cc0aa7ae327ed84cc391d29086dec2a3e44e7a1f",
"type": "WEB"
},
{
"url": "https://github.com/honojs/hono",
"type": "PACKAGE"
}
],
"relatedGitRanges": [],
"database_specific": {
"cwe_ids": [
"CWE-347"
],
"severity": "HIGH",
"github_reviewed": true,
"nvd_published_at": "2026-01-13T20:16:11Z",
"github_reviewed_at": "2026-01-13T21:51:44Z"
}
}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.11.4 | 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-01-13T21:51:44.000Z
Source modification: 2026-09-10T03:50:33.087ZDocument fingerprint
551fe927490845d994bf127403858ae2bee99a32df7bd0db3edef92b278f712a - CVE ProgramConsulted: 2026-11-19T12:58:14.118ZArchived source JSON
Source publication: 2026-01-13T19:49:55.316Z
Source modification: 2026-01-14T19:12:35.457ZDocument fingerprint
196b6e4d0b65c4a8399f940ee6e794430732f6dbe92891a70111188f2d0e2073 - CISA KEVConsulted: 2026-11-19T17:59:58.648ZArchived source JSON
Source publication: not supplied
Source modification: 2026-11-18T19:17:41.0354ZDocument fingerprint
a35fdc67c7d9802988dcfc1d3ff1198da327948d1db122ab7692ac201055ac56 - FIRST EPSSConsulted: 2026-11-19T16:04:47.776ZArchived source JSON
Source publication: not supplied
Source modification: not suppliedDocument fingerprint
25207a681171a5ea65bb9e40f8b8aae1a61ece7feea538da2c47f10c44512e41
Official status history
- UNKNOWN → PUBLISHED · · evidence