bigcommerce-api-mcp: Authentication Stopped at the Door but Not on the Transport Routes
bigcommerce-api-mcp: Authentication Stopped at the Door but Not on the Transport Routes An MCP server can expose a small number of routes and still have more than one security boundary. CVE-2026-138034 affected bigcommerce-api-mcp before 1.0.1 because the /sse and /messages routes skipped the authenticateRequest middleware. A remote party could start an SSE session and post JSON-RPC tool calls…
The MCP server can handle a limited number of routes and still maintain multiple security boundaries. However, CVE-2026-138034 impacted the bigcommerce-api-mcp version prior to 1.0.1 due to the /sse and /messages routes bypassing the authenticateRequest middleware. This oversight allowed a remote party to establish a session on Server-Sent Events (SSE) and submit JSON-RPC tool calls without authentication.
The exposed routes enable the retrieval of product, order, and customer records from the BigCommerce API, which could then be utilized by an attacker. The authentication process must be applied comprehensively across the entire MCP protocol flow, including connection, session receipt, request submission, and result retrieval. An unauthenticated API is inherently risky, but the MCP server amplifies this risk since it offers a catalog of tools whose functionality is discoverable by an agent.
By exploiting the unauthenticated transport routes, an attacker may not need to guess internal API paths; instead, they can enumerate the server's capabilities and execute operations using the deployment's credentials. The vulnerability is rated with a base score of 8.7 and 7.5 according to CVSS 4.0 and CVSS 3.1, respectively. The scope of the issue is confined to the privileges granted by the BigCommerce credentials, which could encompass customer and order data.
The recommended steps to mitigate the risk include upgrading to version 1.0.1 or later, confining the MCP listener to trusted networks or a proxy, and enforcing authentication for all transport routes. Additionally, reviewing the BigCommerce API credentials used by the server and rotating them if necessary is crucial. A comprehensive inventory of the exposed tools should be conducted, and least privilege access should be applied to the underlying API keys to prevent unauthorized record modifications.
Regular validation of the routes without credentials is essential to ensure that they reject requests before issuing a session identifier and that authenticated low-privilege identities only grant access to the intended tools. Proper logging should capture relevant information such as the route, session identifier, authenticated principal, tool name, and decision.
Log entries should be designed to help investigate unauthenticated attempts without compromising sensitive information.
Rewritten by urgent.news; may contain errors — check the original.
Source: dev.to