Dev.to Security ๐Ÿ” Cybersecurity ๐Ÿ‘ 0 ๐Ÿ“– 2 min read

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 bigcomm

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 without authenticating to the MCP server.

What the routes expose

The SSE route established a session identifier. The message route accepted JSON-RPC requests. The CVE record says an attacker could use the operator's BigCommerce API key through those tools to retrieve store product, order, and customer records. The missing middleware did not need to expose the key itself. The server was already configured to use that identity on behalf of its tools.

This is a critical distinction for agent infrastructure. Authentication on a home page, health check, or one transport route does not protect another route added for session handling. The authorization boundary has to cover the complete MCP protocol flow: connect, receive a session, submit a request, and receive a result.

Why this is an agentic amplification problem

A conventional unauthenticated API is already dangerous. An MCP server adds a catalogue of tools whose names and descriptions are designed to be discoverable by an agent. If the transport accepts unauthenticated calls, the caller may not need to guess an internal API path. It can enumerate the server's capabilities and invoke an operation using the deployment's credentials.

The CVE gives CVSS 4.0 a base score of 8.7 and CVSS 3.1 a score of 7.5. The published vector requires no privileges or user interaction. The scope is limited by what the configured BigCommerce credential can read, but that scope may include customer and order data.

Containment steps

Upgrade to 1.0.1 or later. Restrict the MCP listener to management networks or a trusted proxy, and require authentication on every transport route, including session establishment and message submission. A network control alone is not a substitute for route authentication, but it reduces reachability during an upgrade.

Review the BigCommerce API credential used by the server. Rotate it if the endpoint was exposed to untrusted users and there is no reliable request log. Inventory the tools that expose customer, order, or catalog data, and apply least privilege to the underlying API key. The server should not be able to change records unless the deployed agent needs that authority.

Validation

Test the routes without credentials. The expected result is rejection before a session identifier is issued and rejection of a message submitted to a session that the caller does not own. Then test with an authenticated low-privilege identity and confirm that tool-level authorization still limits access.

Logs should capture route, session identifier, authenticated principal, tool name, and decision. Session identifiers are credentials and should not be written in plaintext to broad application logs. Preserve enough metadata to investigate an unauthenticated attempt without turning the log into a second secret store.

The CVE establishes the affected package and transport routes. It does not establish that every public instance was accessed. The response still begins with the same hard check: is any MCP endpoint reachable without authentication?

References

๐Ÿ“ฐ Read the original article on Dev.to Security

Originally published by Dev.to Security. Aggregated on AIWithGhost for educational purposes โ€” full credit and traffic to the original publisher.