Every CVESearch/Get API key

CVE-2026-126358

Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator

Explain with AI
ChatGPTClaudeGoogle AI
Severity
5.3Medium
Network attack, no privileges, no user interactionCVSS 3.1, CVE List
Exploitation
Unknown
No source reports exploitation yet.
Exploit chance
0.37% in 30 days
Percentile32nd
EPSS, scored
Listed fix
4.13.16 for hono (npm)
From GitHub Advisories and OSV45 other affected packages

Overview

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.

CVSS 3.1 vector

Exploitability

Attack vector
Network
Complexity
Low
Privileges needed
None
User interaction
None

Impact

Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Exploit chance over time

Up less than 0.1 points since Nov 13, 2026
EPSS score, scored every day from Nov 13, 2026 to Dec 4, 2026: lowest 0.35% on Nov 13, 2026, highest 0.48% on Nov 25, 2026, 0.37% on the last day.

Affected

Packages 46

Affected packages
PackageAffectedFixed
hono
npm
4.1.4 to 4.13.15
4.13.16
4.1.4 up to 4.13.16
4.13.16
hono
TuxCare:npm
4.12.25-tuxcare.0 up to 4.12.25-tuxcare.2, plus listed versions
From an advisory covering 13 CVEs
4.12.254.12.25-tuxcare.1
4.12.25-tuxcare.2
4.5.8-tuxcare.0 up to 4.5.8-tuxcare.3, plus listed versions
4.5.84.5.8-tuxcare.14.5.8-tuxcare.2
4.5.8-tuxcare.3
4.12.26-tuxcare.0 up to 4.12.26-tuxcare.2, plus listed versions
From an advisory covering 13 CVEs
4.12.264.12.26-tuxcare.1
4.12.26-tuxcare.2
4.12.31-tuxcare.0 up to 4.12.31-tuxcare.3, plus listed versions
4.12.314.12.31-tuxcare.14.12.31-tuxcare.2
4.12.31-tuxcare.3
4.12.16-tuxcare.0 up to 4.12.16-tuxcare.4, plus listed versions
4.12.164.12.16-tuxcare.14.12.16-tuxcare.24.12.16-tuxcare.3
4.12.16-tuxcare.4
4.11.4-tuxcare.0 up to 4.11.4-tuxcare.1, plus listed versions
From an advisory covering 11 CVEs
4.11.4
4.11.4-tuxcare.1
4.12.27-tuxcare.0 up to 4.12.27-tuxcare.2, plus listed versions
From an advisory covering 2 CVEs
4.12.274.12.27-tuxcare.1
4.12.27-tuxcare.2
brave-search-mcp
Docker Hardened Images:Alpine:3.23
2.1.0-r1 and later, plus listed versions
2.1.3-r12.1.3-r22.1.3-r32.1.4-r02.1.4-r1
Show 6 more versionsShow less
2.1.4-r22.1.4-r32.1.4-r42.1.5-r02.2.0-r02.2.0-r1
None listed
Show 43 more packagesShow less
Affected packages
PackageAffectedFixed
brave-search-mcp
Docker Hardened Images:Alpine:3.24
2.1.0-r1 and later, plus listed versions
2.1.3-r12.1.3-r22.1.3-r32.1.4-r02.1.4-r1
Show 6 more versionsShow less
2.1.4-r22.1.4-r32.1.4-r42.1.5-r02.2.0-r02.2.0-r1
None listed
directus-12
Docker Hardened Images:Alpine:3.23
12.4.1-r0 and later, plus listed versions
12.4.1-r112.4.1-r212.4.1-r312.5.0-r012.5.1-r0
Show 19 more versionsShow less
12.5.1-r112.6.0-r012.6.0-r112.6.0-r212.6.0-r312.6.0-r412.6.0-r512.6.1-r012.6.1-r112.6.1-r212.6.1-r312.6.1-r412.6.1-r512.6.1-r612.7.0-r012.7.0-r112.7.0-r212.7.0-r312.7.0-r4
None listed
directus-12
Docker Hardened Images:Alpine:3.24
12.4.1-r0 and later, plus listed versions
12.4.1-r112.4.1-r212.4.1-r312.5.0-r012.5.1-r0
Show 19 more versionsShow less
12.5.1-r112.6.0-r012.6.0-r112.6.0-r212.6.0-r312.6.0-r412.6.0-r512.6.1-r012.6.1-r112.6.1-r212.6.1-r312.6.1-r412.6.1-r512.6.1-r612.7.0-r012.7.0-r112.7.0-r212.7.0-r312.7.0-r4
None listed
librechat-0
Docker Hardened Images:Alpine:3.23
0.8.8-r0 and later, plus listed versions
0.8.8-r10.8.8-r20.8.8-r30.8.8-r40.8.8-r5
Show 5 more versionsShow less
0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3
None listed
librechat-0
Docker Hardened Images:Alpine:3.24
0.8.8-r0 and later, plus listed versions
0.8.8-r10.8.8-r20.8.8-r30.8.8-r40.8.8-r5
Show 5 more versionsShow less
0.8.8-r60.8.9-r00.8.9-r10.8.9-r20.8.9-r3
None listed
llama-cpp-0
Docker Hardened Images:Alpine:3.23
0.7.0-r1 and later, plus listed versions
0.7.0-r20.7.0-r30.7.0-r40.7.0-r50.7.0-r6
Show 11 more versionsShow less
0.7.0-r70.8.0-r00.8.0-r10.9.0-r00.9.0-r10.9.0-r20.9.0-r30.9.0-r40.9.0-r50.9.0-r60.9.0-r7
None listed
llama-cpp-0
Docker Hardened Images:Alpine:3.24
0.7.0-r1 and later, plus listed versions
0.7.0-r20.7.0-r30.7.0-r40.7.0-r50.7.0-r6
Show 11 more versionsShow less
0.7.0-r70.8.0-r00.8.0-r10.9.0-r00.9.0-r10.9.0-r20.9.0-r30.9.0-r40.9.0-r50.9.0-r60.9.0-r7
None listed
llama-cpp-1
Docker Hardened Images:Alpine:3.23
1.0.0-r0 and later, plus listed versions
1.0.0-r11.1.0-r01.1.0-r1
None listed
llama-cpp-1
Docker Hardened Images:Alpine:3.24
1.0.0-r0 and later, plus listed versions
1.0.0-r11.1.0-r01.1.0-r1
None listed
mapbox-mcp
Docker Hardened Images:Alpine:3.23
before 0.17.0-r0, plus listed versions
0.14.0-r10.14.0-r20.14.0-r30.14.0-r40.15.0-r0
Show 10 more versionsShow less
0.15.1-r00.15.1-r10.15.1-r20.16.0-r00.16.0-r10.16.0-r20.16.0-r30.16.0-r40.16.0-r50.16.0-r6
0.17.0-r0
mapbox-mcp
Docker Hardened Images:Alpine:3.24
before 0.17.0-r0, plus listed versions
0.14.0-r10.14.0-r20.14.0-r30.14.0-r40.15.0-r0
Show 10 more versionsShow less
0.15.1-r00.15.1-r10.15.1-r20.16.0-r00.16.0-r10.16.0-r20.16.0-r30.16.0-r40.16.0-r50.16.0-r6
0.17.0-r0
postman-mcp
Docker Hardened Images:Alpine:3.23
2.11.2-r5 and later, plus listed versions
2.12.0-r02.12.2-r02.12.3-r02.13.0-r02.14.0-r02.15.0-r02.15.0-r12.15.0-r2
None listed
postman-mcp
Docker Hardened Images:Alpine:3.24
2.9.1-r0 and later, plus listed versions
2.11.0-r02.11.1-r02.11.1-r12.11.2-r12.11.2-r2
Show 11 more versionsShow less
2.11.2-r32.11.2-r42.11.2-r52.12.0-r02.12.2-r02.12.3-r02.13.0-r02.14.0-r02.15.0-r02.15.0-r12.15.0-r2
None listed
smartbear-mcp-0-fips
Docker Hardened Images:Alpine:3.23
0.42.0-r0 and later, plus listed versions
0.43.0-r00.43.0-r10.43.0-r20.43.0-r30.44.0-r0
Show 7 more versionsShow less
0.44.0-r10.44.0-r20.45.0-r00.45.0-r10.45.0-r20.46.0-r00.46.0-r1
None listed
smartbear-mcp-0-fips
Docker Hardened Images:Alpine:3.24
0.42.0-r0 and later, plus listed versions
0.43.0-r00.43.0-r10.43.0-r20.43.0-r30.44.0-r0
Show 7 more versionsShow less
0.44.0-r10.44.0-r20.45.0-r00.45.0-r10.45.0-r20.46.0-r00.46.0-r1
None listed
smartbear-mcp-0
Docker Hardened Images:Alpine:3.23
0.42.0-r0 and later, plus listed versions
0.43.0-r00.43.0-r10.43.0-r20.43.0-r30.44.0-r0
Show 7 more versionsShow less
0.44.0-r10.44.0-r20.45.0-r00.45.0-r10.45.0-r20.46.0-r00.46.0-r1
None listed
smartbear-mcp-0
Docker Hardened Images:Alpine:3.24
0.42.0-r0 and later, plus listed versions
0.43.0-r00.43.0-r10.43.0-r20.43.0-r30.44.0-r0
Show 7 more versionsShow less
0.44.0-r10.44.0-r20.45.0-r00.45.0-r10.45.0-r20.46.0-r00.46.0-r1
None listed
webflow-mcp
Docker Hardened Images:Alpine:3.23
1.0.0-r0 and later, plus listed versions
1.0.0-r11.0.0-r21.0.0-r31.0.0-r41.0.0-r5
Show 4 more versionsShow less
1.0.0-r61.0.0-r71.0.0-r81.0.0-r9
None listed
webflow-mcp
Docker Hardened Images:Alpine:3.24
1.0.0-r0 and later, plus listed versions
1.0.0-r11.0.0-r21.0.0-r31.0.0-r41.0.0-r5
Show 4 more versionsShow less
1.0.0-r61.0.0-r71.0.0-r81.0.0-r9
None listed
brave-search-mcp
Docker Hardened Images:Debian:13
2.1.0-1 and later, plus listed versions
2.1.3-12.1.3-22.1.3-32.1.4-02.1.4-1
Show 6 more versionsShow less
2.1.4-22.1.4-32.1.4-42.1.5-02.2.0-02.2.0-1
None listed
context7-mcp
Docker Hardened Images:Debian:13
3.2.5-0 up to 3.2.5-7, plus listed versions
3.2.5-13.2.5-23.2.5-33.2.5-43.2.5-53.2.5-6
3.2.5-7
directus-12
Docker Hardened Images:Debian:13
12.4.1-0 and later, plus listed versions
12.4.1-112.4.1-212.5.0-012.5.0-112.5.0-2
Show 23 more versionsShow less
12.5.1-012.5.1-112.5.1-212.5.1-312.6.0-012.6.0-112.6.0-212.6.0-312.6.0-412.6.0-512.6.0-612.6.1-012.6.1-112.6.1-212.6.1-312.6.1-412.6.1-512.7.0-012.7.0-112.7.0-212.7.0-312.7.0-412.7.0-5
None listed
filesystem-mcp
Docker Hardened Images:Debian:13
before 2026.8.31-4, plus listed versions
2026.7.10-02026.8.18-02026.8.31-02026.8.31-12026.8.31-2
2026.8.31-4
firecrawl-mcp
Docker Hardened Images:Debian:13
before 3.36.1-3, plus listed versions
3.2.1-03.2.1-23.24.1-13.24.1-103.24.1-11
Show 16 more versionsShow less
3.24.1-123.24.1-133.24.1-143.24.1-153.24.1-163.24.1-23.24.1-33.24.1-43.24.1-53.24.1-63.24.1-73.24.1-83.24.1-93.36.1-03.36.1-13.36.1-2
3.36.1-3
hub-mcp
Docker Hardened Images:Debian:13
before 0.19.0-3, plus listed versions
0.18.0-00.18.0-10.18.0-20.18.0-30.18.0-40.19.0-00.19.0-10.19.0-2
0.19.0-3
kibana-9.4
Docker Hardened Images:Debian:13
9.4.5-1 and later, plus listed versions
9.4.10-09.4.10-19.4.10-29.4.7-09.4.8-0
Show 18 more versionsShow less
9.4.8-19.4.8-119.4.8-129.4.8-139.4.8-149.4.8-29.4.8-39.4.8-49.4.8-59.4.8-69.4.8-79.4.8-89.4.8-99.4.9-09.4.9-19.4.9-29.4.9-39.4.9-4
None listed
kibana-9.5
Docker Hardened Images:Debian:13
9.5.5-0 and later, plus listed versions
9.5.5-19.5.5-109.5.5-119.5.5-129.5.5-2
Show 13 more versionsShow less
9.5.5-39.5.5-49.5.5-59.5.5-69.5.5-79.5.5-99.5.6-09.5.6-19.5.6-29.5.6-39.5.7-09.5.7-19.5.7-2
None listed
langfuse-3
Docker Hardened Images:Debian:13
3.225.0-0 and later, plus listed versions
3.225.0-13.225.1-03.225.1-13.225.10-03.225.11-0
Show 24 more versionsShow less
3.225.12-03.225.12-13.225.12-23.225.14-03.225.15-03.225.15-13.225.15-23.225.2-03.225.3-03.225.4-03.225.5-03.225.5-13.225.7-03.225.7-13.225.8-03.225.8-13.225.9-03.227.0-03.227.0-13.227.1-03.227.1-13.227.1-23.227.1-33.227.1-4
None listed
langfuse-4
Docker Hardened Images:Debian:13
4.3.1-0 and later, plus listed versions
4.10.0-04.11.0-04.12.0-04.13.0-04.14.0-0
Show 44 more versionsShow less
4.15.0-04.26.0-04.36.1-04.38.0-04.4.0-04.41.0-04.43.0-04.44.0-04.46.0-04.47.0-04.48.0-04.5.0-04.5.0-14.50.0-04.53.0-04.6.0-04.63.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-14.72.0-14.74.0-04.75.0-04.76.0-04.76.0-14.77.0-04.78.0-04.79.0-04.79.0-14.80.0-04.80.0-14.81.0-04.82.0-04.83.0-04.84.0-04.84.0-14.86.0-04.87.0-04.88.0-04.9.0-04.90.0-0
None listed
langfuse-worker-4
Docker Hardened Images:Debian:13
4.13.0-0 and later, plus listed versions
4.14.0-04.15.0-04.17.0-04.19.0-04.21.0-0
Show 45 more versionsShow less
4.22.0-04.24.0-04.26.0-04.27.0-04.28.0-04.28.1-04.30.0-04.31.0-04.32.0-04.33.0-04.34.0-04.35.0-04.36.0-04.36.1-04.51.0-04.53.0-04.54.0-04.55.0-04.55.0-14.63.0-04.64.0-04.67.0-04.69.0-04.70.0-04.70.1-04.71.0-04.71.0-24.74.0-04.75.0-04.75.0-14.76.0-04.77.0-04.77.0-14.78.0-04.79.0-04.80.0-04.80.0-14.81.0-04.82.0-04.82.0-14.83.0-04.84.0-04.84.0-14.86.0-04.86.0-1
None listed
librechat-0
Docker Hardened Images:Debian:13
0.8.8-0 and later, plus listed versions
0.8.8-10.8.8-20.8.8-30.8.8-40.8.8-5
Show 5 more versionsShow less
0.8.9-00.8.9-10.8.9-20.8.9-30.8.9-4
None listed
llama-cpp-0
Docker Hardened Images:Debian:13
0.6.0-0 and later, plus listed versions
0.7.0-00.7.0-10.7.0-20.7.0-30.7.0-4
Show 15 more versionsShow less
0.7.0-50.7.0-60.7.0-70.8.0-00.8.0-10.9.0-00.9.0-10.9.0-20.9.0-30.9.0-40.9.0-50.9.0-60.9.0-70.9.0-80.9.0-9
None listed
llama-cpp-1
Docker Hardened Images:Debian:13
1.0.0-0 and later, plus listed versions
1.0.0-11.0.0-21.0.0-31.1.0-01.1.0-11.1.0-2
None listed
mapbox-mcp
Docker Hardened Images:Debian:13
before 0.17.0-0, plus listed versions
0.14.0-00.14.0-10.15.0-00.15.1-00.15.1-1
Show 4 more versionsShow less
0.16.0-00.16.0-10.16.0-20.16.0-3
0.17.0-0
memory-mcp
Docker Hardened Images:Debian:13
before 2026.8.31-5, plus listed versions
2026.7.10-02026.8.18-12026.8.31-02026.8.31-12026.8.31-22026.8.31-32026.8.31-4
2026.8.31-5
mongodb-mcp
Docker Hardened Images:Debian:13
1.14.0-0 up to 1.14.0-11, 2.0.0-0 up to 2.1.2-8, 3.0.3-0 up to 3.3.0-2, plus listed versions
1.14.0-11.14.0-101.14.0-21.14.0-31.14.0-4
Show 32 more versionsShow less
1.14.0-51.14.0-61.14.0-71.14.0-81.14.0-92.1.0-02.1.0-12.1.1-02.1.1-12.1.1-22.1.2-02.1.2-12.1.2-22.1.2-32.1.2-42.1.2-52.1.2-62.1.2-73.0.4-03.0.4-13.0.4-23.0.4-33.0.5-03.1.0-03.1.0-13.1.0-23.1.0-33.1.0-43.2.1-03.2.2-03.3.0-03.3.0-1
1.14.0-112.1.2-83.3.0-2
notion-mcp
Docker Hardened Images:Debian:13
before 2.5.2-9, plus listed versions
2.5.0-02.5.0-12.5.0-22.5.2-02.5.2-1
Show 5 more versionsShow less
2.5.2-22.5.2-32.5.2-42.5.2-52.5.2-8
2.5.2-9
perplexity-mcp
Docker Hardened Images:Debian:13
1.2.0-0 and later, plus listed versions
1.2.1-01.2.1-11.2.1-21.2.1-31.3.0-0
Show 9 more versionsShow less
1.3.0-11.3.0-21.3.0-31.3.0-41.3.0-51.3.0-61.3.0-71.5.0-01.5.0-1
None listed
postman-mcp
Docker Hardened Images:Debian:13
2.9.1-0 and later, plus listed versions
2.11.0-02.11.1-02.11.1-12.11.2-02.11.2-1
Show 12 more versionsShow less
2.11.2-22.11.2-32.11.2-52.12.0-02.12.2-02.12.3-02.13.0-02.13.0-12.14.0-02.15.0-02.15.0-12.15.0-2
None listed
smartbear-mcp-0-fips
Docker Hardened Images:Debian:13
0.42.0-0 and later, plus listed versions
0.43.0-00.43.0-10.43.0-20.43.0-30.44.0-0
Show 8 more versionsShow less
0.44.0-10.44.0-20.45.0-00.45.0-10.45.0-20.45.0-30.46.0-00.46.0-1
None listed
smartbear-mcp-0
Docker Hardened Images:Debian:13
0.42.0-0 and later, plus listed versions
0.43.0-00.43.0-10.43.0-20.43.0-30.44.0-0
Show 8 more versionsShow less
0.44.0-10.44.0-20.45.0-00.45.0-10.45.0-20.45.0-30.46.0-00.46.0-1
None listed
supabase-studio
Docker Hardened Images:Debian:13
2026.08.03-0 and later, plus listed versions
2026.09.07-02026.09.07-12026.09.07-22026.09.07-42026.09.07-5
Show 11 more versionsShow less
2026.10.12-02026.10.12-12026.10.12-22026.11.02-02026.11.02-12026.11.02-22026.11.02-32026.11.02-42026.11.02-52026.11.02-62026.11.23-0
None listed
webflow-mcp
Docker Hardened Images:Debian:13
1.0.0-0 and later, plus listed versions
1.0.0-11.0.0-21.0.0-31.0.0-41.0.0-5
Show 4 more versionsShow less
1.0.0-61.0.0-71.0.0-81.0.0-9
None listed

The JSON record also has 6 more versions.

Only in multi-CVE advisories 3

Each of these advisories covers several CVEs at once, so it doesn’t establish that this one affects the package.

Packages named only by advisories that cover several CVEs
PackageAffectedFixed
grafana12.4
Red Hat:hummingbird:1
before 0:12.4.15-0.2.hum1
From an advisory covering 19 CVEs
0:12.4.15-0.2.hum1
grafana13.1
Red Hat:hummingbird:1
before 0:13.1.10-0.2.hum1
From an advisory covering 9 CVEs
0:13.1.10-0.2.hum1
grafana13.2
Red Hat:hummingbird:1
before 0:13.2.6-0.1.hum1
From an advisory covering 18 CVEs
0:13.2.6-0.1.hum1

Products 1

Sources

CVE List Score usedCVSS 3.15.3

Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator

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.

Record
CVE-2026-126358
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-863
Updated
2026-11-12
EUVDEUVD-2026-124739CVSS 3.15.3

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.

Record
EUVD-2026-124739
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-11-13
GitHub AdvisoriesGHSA-h7mg-cq63-vhpqCVSS 3.15.3

Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator

Summary

RegExpRouter, which the default SmartRouter selects for most applications, skipped wildcard middleware in three cases, so a route handler ran without the middleware registered for it:

  1. Middleware whose parameter is written with the explicit default pattern, such as /api/:tenant{[^/]+}/admin/*, was not applied to a route written as /api/:tenant/admin/:id. (since 4.13.0)
  2. Middleware on /admin/* was not applied to a route registered on /admin* for paths under /admin/. (since 4.1.4)
  3. For a path with an encoded line terminator (%0A, %0D, %E2%80%A8, %E2%80%A9), no wildcard pattern matched, so the request reached the not-found handler without any wildcard middleware. (since 4.4.0)

TrieRouter, LinearRouter and PatternRouter apply the middleware in all three cases.

Details

RegExpRouter decides at registration time which wildcard middleware covers which route. In cases 1 and 2 it treated patterns that match the same requests as different ones. In case 3 the compiled wildcard did not match line terminators.

The fix derives the coverage from the structure of the registered paths and lets wildcards match line terminators. It also corrects other differences from the other routers (a wildcard in the middle of a path with parameters, duplicate middleware, middleware on static routes), and rejects custom patterns that can match the empty string, such as {[0-9]*}, with UnsupportedPathError. PreparedRegExpRouter data must be regenerated.

Impact

An unauthenticated client can reach a route handler, or the not-found handler, without the authentication or authorization middleware registered on a wildcard path.

This affects applications that use RegExpRouter, directly or through the default SmartRouter, and rely on wildcard middleware for authentication or authorization.

Workarounds

Use new Hono({ router: new TrieRouter() }).

Record
GHSA-h7mg-cq63-vhpq
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-863
Updated
2026-11-12
NVDCVSS 3.15.3

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.

Record
CVE-2026-126358
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-863
Updated
2026-11-13
OSVCVSS 3.15.3

Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator

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.

Record
CVE-2026-126358
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-863
Updated
2026-11-14
OSVDHI-xvkl-jsdt-rnij-bz5aCVSS 3.15.3

Hono is a Web application framework that provides support for any JavaScript runtime. From 4.1.4 until 4.13.16…

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.

Record
DHI-xvkl-jsdt-rnij-bz5a
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Updated
2026-12-05
Show 11 more recordsShow less
OSVGHSA-h7mg-cq63-vhpqCVSS 3.15.3

Hono: RegExpRouter skips wildcard middleware for some route sets and for paths with an encoded line terminator

Summary

RegExpRouter, which the default SmartRouter selects for most applications, skipped wildcard middleware in three cases, so a route handler ran without the middleware registered for it:

  1. Middleware whose parameter is written with the explicit default pattern, such as /api/:tenant{[^/]+}/admin/*, was not applied to a route written as /api/:tenant/admin/:id. (since 4.13.0)
  2. Middleware on /admin/* was not applied to a route registered on /admin* for paths under /admin/. (since 4.1.4)
  3. For a path with an encoded line terminator (%0A, %0D, %E2%80%A8, %E2%80%A9), no wildcard pattern matched, so the request reached the not-found handler without any wildcard middleware. (since 4.4.0)

TrieRouter, LinearRouter and PatternRouter apply the middleware in all three cases.

Details

RegExpRouter decides at registration time which wildcard middleware covers which route. In cases 1 and 2 it treated patterns that match the same requests as different ones. In case 3 the compiled wildcard did not match line terminators.

The fix derives the coverage from the structure of the registered paths and lets wildcards match line terminators. It also corrects other differences from the other routers (a wildcard in the middle of a path with parameters, duplicate middleware, middleware on static routes), and rejects custom patterns that can match the empty string, such as {[0-9]*}, with UnsupportedPathError. PreparedRegExpRouter data must be regenerated.

Impact

An unauthenticated client can reach a route handler, or the not-found handler, without the authentication or authorization middleware registered on a wildcard path.

This affects applications that use RegExpRouter, directly or through the default SmartRouter, and rely on wildcard middleware for authentication or authorization.

Workarounds

Use new Hono({ router: new TrieRouter() }).

Record
GHSA-h7mg-cq63-vhpq
CVSS 3.1
5.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness
CWE-863
Updated
2026-11-12
OSVRHSA-2026:102275CVSS 3.17.4

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:102275
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-26
OSVRHSA-2026:102277CVSS 3.17.4

Red Hat Security Advisory: Red Hat Hardened Images RPMs Security Update

Record
RHSA-2026:102277
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-11-26
OSVRHSA-2026:102287CVSS 3.17.4

Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update

Record
RHSA-2026:102287
CVSS 3.1
7.4 HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Updated
2026-12-04
OSVCLSA-2026-1794821041No score

TuxCare security update for hono (13 CVEs)

TuxCare rebuilt hono to address 13 CVEs. Fixed in 4.12.25-tuxcare.2.

Record
CLSA-2026-1794821041
Updated
2026-11-16
OSVCLSA-2026-1794825318No score

TuxCare security update for hono (1 CVE)

TuxCare rebuilt hono to address 1 CVE. Fixed in 4.5.8-tuxcare.3.

Record
CLSA-2026-1794825318
Updated
2026-11-16
OSVCLSA-2026-1794825440No score

TuxCare security update for hono (13 CVEs)

TuxCare rebuilt hono to address 13 CVEs. Fixed in 4.12.26-tuxcare.2.

Record
CLSA-2026-1794825440
Updated
2026-11-16
OSVCLSA-2026-1794848284No score

TuxCare security update for hono (1 CVE)

TuxCare rebuilt hono to address 1 CVE. Fixed in 4.12.31-tuxcare.3.

Record
CLSA-2026-1794848284
Updated
2026-11-17
OSVCLSA-2026-1794848904No score

TuxCare security update for hono (1 CVE)

TuxCare rebuilt hono to address 1 CVE. Fixed in 4.12.16-tuxcare.4.

Record
CLSA-2026-1794848904
Updated
2026-11-17
OSVCLSA-2026-1795437583No score

TuxCare security update for hono (11 CVEs)

TuxCare rebuilt hono to address 11 CVEs. Fixed in 4.11.4-tuxcare.1.

Record
CLSA-2026-1795437583
Updated
2026-11-25
OSVCLSA-2026-1795796827No score

TuxCare security update for hono (2 CVEs)

TuxCare rebuilt hono to address 2 CVEs. Fixed in 4.12.27-tuxcare.2.

Record
CLSA-2026-1795796827
Updated
2026-11-27

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, referencesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
ReferencesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
ReferencesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, referencesNot recorded
Affected packagesOSV
Affected packagesOSV
Show 11 more daysShow less
Changes recorded by Every CVE
DayChangedSources
Affected packagesOSV
Affected packages, other IDs, referencesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packagesOSV
Affected packages, other IDsOSV
Affected packagesOSV
Affected packages, other IDs, referencesOSV
Published dateEUVD
ReferencesNVD, OSV
Published dateEUVD
Description, references, severityCVE List
Affected packages, referencesOSV
Affected packages, other IDs, weaknesses, description, key facts, references, severity, titleGitHub Advisories
First indexedEUVD

Upstream dates may differ.

References

Show 169 more referencesShow less
MoveEnter Open