CVE-2026-6556
Last modified
CVE-2026-6556 is a critical-severity vulnerability rated 9.1/10 on the CVSS scale. @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. EPSS estimates a 0.31% chance of exploitation in the next 30 days.
Description
@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 bypassed by sending a request to the prefixed route, because Fastify still matches the route but the middleware is skipped. Patches: upgrade to @fastify/express 4.0.7. Workarounds: use string mount paths instead of arrays or regular expressions in prefixed plugins, or register one use call per path.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Fastify | Fastify\/Express | < 4.0.7 |
References
- https://cna.openjsf.org/security-advisories.htmlVendor Advisory
- https://github.com/fastify/fastify-express/security/advisories/GHSA-3wf5-7852-vcfqMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-6556?
How severe is CVE-2026-6556?
How do I fix CVE-2026-6556?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-65553Unauthenticated Remote Code Execution (RCE) in Spider Analys…10
- CVE-2026-65554Subscriber Broken Access Control in AnsPress – Question and …7.1
- CVE-2026-65556Unauthenticated PHP Object Injection in WPBruiser {no- Captc…9.8
- CVE-2026-65557Shop manager Cross Site Scripting (XSS) in Abandoned Cart Li…5.9
- CVE-2026-65558Unauthenticated Server Side Request Forgery (SSRF) in Affili…5.4
- CVE-2026-65559Shop manager Privilege Escalation in Order Delivery Date for…7.2
- CVE-2026-65560Unauthenticated Cross Site Scripting (XSS) in Houzez Propert…7.1
- CVE-2026-65561Contributor Cross Site Scripting (XSS) in WordPress Social L…6.5
- CVE-2026-65562Contributor Cross Site Scripting (XSS) in BetterDocs <= 4.6.…6.5
- CVE-2026-65563Author Cross Site Scripting (XSS) in Orbit Fox by ThemeIsle …5.9
- CVE-2026-65564Unauthenticated Sensitive Data Exposure in MapPress Maps for…5.3
- CVE-2026-65565Unauthenticated Cross Site Scripting (XSS) in Survey Maker <…7.1
Are you affected by CVE-2026-6556?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
