• Docker
  • Express
  • Security
  • Vulnerability

Three critical vulnerabilities your eCommerce stack should not ignore

This article covers three critical-severity vulnerabilities that can affect tools commonly used in modern web and API backends: an authentication bypass in

This article covers three critical-severity vulnerabilities that can affect tools commonly used in modern web and API backends: an authentication bypass in MCP Gateway, and two related issues in the Fastify/Express compatibility layer. All three carry high severity scores and deserve prompt attention. The MCP Gateway issue is the most urgent because it can expose endpoints with no authentication at all, but the two Fastify/Express flaws are just as severe and should not be deprioritized.

MCP Gateway authentication bypass (CVE-2026-76092)

Who is affected

This vulnerability affects docker mcp-gateway, a tool for running and deploying MCP servers, in versions 0.25.0 up to (but not including) 0.43.1. It only applies when the gateway runs in container mode.

How to check whether you are affected

Check which version of docker mcp-gateway you are running and confirm whether it falls between 0.25.0 and 0.43.1. If you run the gateway in container mode, treat this as a priority check, since that is the specific condition under which the flaw applies. Review your deployment configuration to confirm whether container mode is active.

What to do now

First, confirm your installed version and deployment mode as described above. The sources reviewed for this alert do not state a fixed version, so check the vendor's advisory directly for the version that resolves this issue and apply it as soon as it is confirmed. In the meantime, avoid exposing the HTTP MCP endpoints to untrusted networks, since in affected versions the bearer-token authentication middleware is not installed when running in container mode, meaning those endpoints can be reached without authentication.

@fastify/express middleware bypass via empty route segment (CVE-2026-124626)

Fix available: CVE-2026-124626 is fixed in @fastify/express 4.0.10. Upgrade to a fixed version as soon as you can. Source: NVD

Who is affected

This affects the @fastify/express plugin, which lets Express middleware run inside the Fastify web framework, in versions 4.0.5 up to (but not including) 4.0.10. Sites are affected when a route and an Express middleware mount share a dynamic URL pattern (a route segment such as an ID or slug that can vary between requests).

How to check whether you are affected

Check your @fastify/express version first. Then review whether you use path-scoped Express middleware, for example for authentication or access control, on routes that include dynamic segments. If a request with an empty value in that segment could reach a protected route handler without going through the middleware, your setup is exposed. The actual impact depends on what an empty value in that segment causes your application to do.

What to do now

Upgrade @fastify/express to version 4.0.10 or later, since this is the version in which the issue is fixed. While planning the upgrade, review any routes that rely on path-scoped middleware for authentication or authorization and confirm there is no backup check in the route handler itself. No special configuration is needed for this flaw to apply, so treat the upgrade as a standard priority rather than something tied to a specific setup.

@fastify/express middleware bypass via mount path mismatch (CVE-2026-129504)

Fix available: CVE-2026-129504 is fixed in @fastify/express 4.0.10. Upgrade to a fixed version as soon as you can. Source: NVD

Who is affected

This affects @fastify/express in versions 4.0.0 up to (but not including) 4.0.10. It applies when the Fastify plugin prefix ends with a slash, or when the middleware's mount path omits its leading slash, causing a mismatch between the path Express expects and the path Fastify actually serves.

How to check whether you are affected

Check your @fastify/express version. Then review any plugin prefixes and middleware mount paths you have configured, including string, array, and regular-expression mount paths, since all three types are affected. If path-scoped Express middleware is used for authentication or authorization inside a prefixed plugin, this mismatch can let requests reach protected routes without going through that middleware, and no crafted request or unusual configuration is required for this to happen.

What to do now

Upgrade @fastify/express to version 4.0.10 or later, the version in which this issue is fixed. Before and after upgrading, double-check any plugin prefix and middleware mount path pairs that handle authentication or authorization, since the mismatch described here applies regardless of how the mount path is written (string, array, or regular expression).

Run a free scan → Talk to an engineer →

Sources

• NVD

• NVD

• NVD