CVE Explorer
CVE-2026-14198
@fastify/middie versions 9.1.0 through 9.3.2 decode the encoded slash %2F inside path parameter values before matching middleware paths, while Fastify's underlying router preserves the encoding during route lookup. The two layers disagree on the canonical request path, so the middleware fails to match a URL that the route handler does match. When middleware is used for authentication, authorization, rate limiting, or auditing on parameterized paths, an attacker can reach the protected handler by
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","packageURL":"pkg:npm/@fastify/middie","product":"@fastify/middie","vendor":"@fastify/middie","versions":[{"lessThan":"9.3.3","status":"affected","version":"9.1.0","versionType":"semver"},{"status":"unaffected","version":"9.3.3","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:07c0ca77876feade2c8f69084b2560da528640b8e4379e2498b903c151bc1000 · sha256:f065c8449e5d0f8f… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"baseScore":9.1,"baseSeverity":"CRITICAL","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:07c0ca77876feade2c8f69084b2560da528640b8e4379e2498b903c151bc1000 · sha256:f065c8449e5d0f8f… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-436","description":"CWE-436: Interpretation Conflict","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:07c0ca77876feade2c8f69084b2560da528640b8e4379e2498b903c151bc1000 · sha256:f065c8449e5d0f8f… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"url":"https://cna.openjsf.org/security-advisories.html"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:07c0ca77876feade2c8f69084b2560da528640b8e4379e2498b903c151bc1000 · sha256:f065c8449e5d0f8f… · /containers/cna/references/1
{"url":"https://github.com/fastify/middie/security/advisories/GHSA-2v46-jxjm-7q3v"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:07c0ca77876feade2c8f69084b2560da528640b8e4379e2498b903c151bc1000 · sha256:f065c8449e5d0f8f… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.