Allocation of Resources Without Limits or Throttling in nginx-ui - #VU157110
Published: October 22, 2026
Vulnerability details
The vulnerability allows a remote user to exhaust server memory and cause a denial of service.
The vulnerability exists due to allocation of resources without limits in the MCP request-body buffering middleware in mcp/router.go when processing authenticated HTTP requests. A remote user can send an oversized request body to /mcp, causing io.ReadAll(c.Request.Body) to buffer it in memory before request classification and service-token scope checks, potentially exhausting memory and terminating the server process.