CVE Explorer
CVE-2026-6556
@fastify/express versions 4.0.6 and earlier only rewrite the plugin prefix for middleware mount paths when the path argument is a string. Non-string mount paths (arrays of paths and regular expressions) are left unprefixed inside prefixed plugin scopes, so middleware registered with those forms does not match the actual prefixed request path. Applications that use path-scoped middleware for authentication, authorization, rate limiting, or auditing on routes inside a prefixed scope can be bypasse
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"defaultStatus":"unaffected","packageURL":"pkg:npm/@fastify/express","product":"@fastify/express","vendor":"@fastify/express","versions":[{"lessThan":"4.0.7","status":"affected","version":"0","versionType":"semver"},{"status":"unaffected","version":"4.0.7","versionType":"semver"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:0a04d5bf75b31a217e438f16a8dcc9d8c1be3c5479f390b2648817f987091683 · sha256:69d6a331f7bf52a8… · /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:0a04d5bf75b31a217e438f16a8dcc9d8c1be3c5479f390b2648817f987091683 · sha256:69d6a331f7bf52a8… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-285","description":"CWE-285: Improper Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:0a04d5bf75b31a217e438f16a8dcc9d8c1be3c5479f390b2648817f987091683 · sha256:69d6a331f7bf52a8… · /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:0a04d5bf75b31a217e438f16a8dcc9d8c1be3c5479f390b2648817f987091683 · sha256:69d6a331f7bf52a8… · /containers/cna/references/1
{"url":"https://github.com/fastify/fastify-express/security/advisories/GHSA-3wf5-7852-vcfq"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:0a04d5bf75b31a217e438f16a8dcc9d8c1be3c5479f390b2648817f987091683 · sha256:69d6a331f7bf52a8… · /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.