CVE-2026-126358

Source
https://cve.org/CVERecord?id=CVE-2026-126358
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126358.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-126358
Aliases
Downstream
CGA (14)
Published
2026-11-12T22:21:08Z
Modified
2026-11-13T10:46:47Z
Severity
  • 5.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N CVSS Calculator
Summary
Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator
Details

Hono is a Web application framework that provides support for any JavaScript runtime. From 4.1.4 until 4.13.16, RegExpRouter can omit wildcard middleware in three version-specific cases: since 4.13.0, middleware using the explicit default parameter pattern in /api/:tenant{[^/]+}/admin/* is not applied to a route written as /api/:tenant/admin/:id; since 4.1.4, middleware on /admin/* is not applied to a route registered as /admin* for paths under /admin/; and since 4.4.0, a request path containing an encoded line terminator can reach the not-found handler without wildcard middleware. The default SmartRouter selects RegExpRouter for most applications, and the router's registration-time coverage calculation treated the first two matching pattern pairs as different while its compiled wildcard did not match line terminators in the third case. An unauthenticated client can reach a route handler or the not-found handler without authentication or authorization middleware registered on the wildcard path. TrieRouter, LinearRouter, and PatternRouter apply the middleware in the three described cases. This issue is fixed in version 4.13.16.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-863"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126358.json"
}
References

Affected packages

Git / github.com/honojs/hono

Affected ranges

Type
GIT
Repo
https://github.com/honojs/hono
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "4.1.4"
                },
                {
                    "fixed": "4.13.16"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        },
        {
            "range": [
                {
                    "fixed": "8a103aa59bcfbffd5396b1548a0dff3688777c36"
                }
            ],
            "source": "REFERENCES_COMMIT"
        },
        {
            "original_tag": "v4.13.16",
            "range": [
                {
                    "fixed": "c91b60a251186fb024557c6d55a11d8e388f179c"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

@hono/aws-lambda@1.*
@hono/aws-lambda@1.0.1
@hono/bun@1.*
@hono/bun@1.0.1
@hono/cloudflare-workers@1.*
@hono/cloudflare-workers@1.0.1
@hono/deno@1.*
@hono/deno@1.0.1
@hono/deno@1.0.2
@hono/deno@1.0.3
@hono/lambda-edge@1.*
@hono/lambda-edge@1.0.1
@hono/netlify@1.*
@hono/netlify@1.0.1
@hono/netlify@1.0.2
@hono/service-worker@1.*
@hono/service-worker@1.0.1
@hono/vercel@1.*
@hono/vercel@1.0.1
v4.*
v4.1.4
v4.1.5
v4.1.6
v4.1.7
v4.10.0
v4.10.1
v4.10.2
v4.10.3
v4.10.4
v4.10.5
v4.10.6
v4.10.7
v4.10.8
v4.11.0
v4.11.1
v4.11.10
v4.11.2
v4.11.3
v4.11.4
v4.11.5
v4.11.6
v4.11.7
v4.11.8
v4.11.9
v4.12.0
v4.12.1
v4.12.10
v4.12.11
v4.12.12
v4.12.13
v4.12.14
v4.12.15
v4.12.16
v4.12.17
v4.12.18
v4.12.19
v4.12.2
v4.12.20
v4.12.21
v4.12.22
v4.12.23
v4.12.24
v4.12.25
v4.12.26
v4.12.27
v4.12.28
v4.12.29
v4.12.3
v4.12.30
v4.12.31
v4.12.32
v4.12.33
v4.12.34
v4.12.4
v4.12.5
v4.12.6
v4.12.7
v4.12.8
v4.12.9
v4.13.0
v4.13.1
v4.13.10
v4.13.11
v4.13.12
v4.13.13
v4.13.14
v4.13.15
v4.13.2
v4.13.3
v4.13.4
v4.13.5
v4.13.6
v4.13.7
v4.13.8
v4.13.9
v4.2.0
v4.2.1
v4.2.2
v4.2.3
v4.2.4
v4.2.5
v4.2.6
v4.2.7
v4.2.8
v4.2.9
v4.3.0
v4.3.1
v4.3.10
v4.3.11
v4.3.2
v4.3.3
v4.3.4
v4.3.5
v4.3.6
v4.3.7
v4.3.8
v4.3.9
v4.4.0
v4.4.1
v4.4.10
v4.4.11
v4.4.12
v4.4.13
v4.4.2
v4.4.3
v4.4.4
v4.4.5
v4.4.6
v4.4.7
v4.4.8
v4.4.9
v4.5.0
v4.5.0-rc.1
v4.5.0-rc.2
v4.5.1
v4.5.10
v4.5.11
v4.5.2
v4.5.3
v4.5.4
v4.5.5
v4.5.6
v4.5.7
v4.5.8
v4.5.9
v4.6.0
v4.6.1
v4.6.10
v4.6.11
v4.6.12
v4.6.13
v4.6.14
v4.6.15
v4.6.16
v4.6.17
v4.6.18
v4.6.19
v4.6.2
v4.6.20
v4.6.3
v4.6.4
v4.6.5
v4.6.6
v4.6.7
v4.6.8
v4.6.9
v4.7.0
v4.7.1
v4.7.10
v4.7.11
v4.7.2
v4.7.3
v4.7.4
v4.7.5
v4.7.6
v4.7.7
v4.7.8
v4.7.9
v4.8.0
v4.8.1
v4.8.10
v4.8.11
v4.8.12
v4.8.2
v4.8.3
v4.8.4
v4.8.5
v4.8.6
v4.8.7
v4.8.8
v4.8.9
v4.9.0
v4.9.1
v4.9.10
v4.9.11
v4.9.12
v4.9.2
v4.9.3
v4.9.4
v4.9.5
v4.9.6
v4.9.7
v4.9.8
v4.9.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-126358.json"