CVE Explorer
CVE-2026-22037
The @fastify/express plugin adds full Express compatibility to Fastify. A security vulnerability exists in @fastify/express prior to version 4.0.3 where middleware registered with a specific path prefix can be bypassed using URL-encoded characters (e.g., `/%61dmin` instead of `/admin`). While the middleware engine fails to match the encoded path and skips execution, the underlying Fastify router correctly decodes the path and matches the route handler, allowing attackers to access protected endp
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 2 assertions
{"cweId":"CWE-288","description":"CWE-288: Authentication Bypass Using an Alternate Path or Channel","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1111504266a40d3c3ab56039c8065d7fcc8e04dc2164440b554012cc0915d6b5 · sha256:a13d58767c059a8b… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-177","description":"CWE-177: Improper Handling of URL Encoding (Hex Encoding)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1111504266a40d3c3ab56039c8065d7fcc8e04dc2164440b554012cc0915d6b5 · sha256:a13d58767c059a8b… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"fastify-express","vendor":"fastify","versions":[{"status":"affected","version":"< 4.0.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:1111504266a40d3c3ab56039c8065d7fcc8e04dc2164440b554012cc0915d6b5 · sha256:a13d58767c059a8b… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.4,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:L","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:1111504266a40d3c3ab56039c8065d7fcc8e04dc2164440b554012cc0915d6b5 · sha256:a13d58767c059a8b… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
2 source assertions{"cweId":"CWE-288","description":"CWE-288: Authentication Bypass Using an Alternate Path or Channel","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1111504266a40d3c3ab56039c8065d7fcc8e04dc2164440b554012cc0915d6b5 · sha256:a13d58767c059a8b… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-177","description":"CWE-177: Improper Handling of URL Encoding (Hex Encoding)","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:1111504266a40d3c3ab56039c8065d7fcc8e04dc2164440b554012cc0915d6b5 · sha256:a13d58767c059a8b… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"name":"https://github.com/fastify/fastify-express/commit/dc02a3fe1387f945143f22597baa42557d549a40","tags":["x_refsource_MISC"],"url":"https://github.com/fastify/fastify-express/commit/dc02a3fe1387f945143f22597baa42557d549a40"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1111504266a40d3c3ab56039c8065d7fcc8e04dc2164440b554012cc0915d6b5 · sha256:a13d58767c059a8b… · /containers/cna/references/1
{"name":"https://github.com/fastify/fastify-express/security/advisories/GHSA-g6q3-96cp-5r5m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-g6q3-96cp-5r5m"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:1111504266a40d3c3ab56039c8065d7fcc8e04dc2164440b554012cc0915d6b5 · sha256:a13d58767c059a8b… · /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.