All vulnerabilities

Servers and applications

GHSA-x2x3-p8j2-63mx

MCP parser differential allows read-scoped tokens to invoke write tools

Severity
High 7.1
Published
30 Sept 2026
Last changed
30 Sept 2026
Added to UpHeron
3 Nov 2026
Fixed in
2.6.2
Weakness
Improper input validation (CWE-20)Incorrect authorization (CWE-863)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read some data · Change data
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:N
Sources
Project advisories (GitHub)

Description

Nginx UI used a separate JSON parse in the MCP authorization middleware to decide whether a request required mcp:write scope and an interactive user's secure session. Parse failures were treated as non-sensitive, while the downstream MCP server could still decode and dispatch the first valid JSON value. An authenticated caller could therefore append trailing garbage or another JSON value to a sensitive tools/call request and bypass the intended authorization classification.

The issue affects both read-scoped MCP service tokens and user sessions that have not completed secure-session step-up. It is not an unauthenticated vulnerability. Independent reproduction on the v2.6.x code line confirmed that a read-scoped token could reach a write-class tool when a valid JSON-RPC request was followed by another JSON value.

An attacker who already possesses a valid read-scoped MCP service token, or a valid user session without its required secure-session binding, could invoke MCP tools…

From 0xJacky/nginx-ui's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
Nginx UIServers and applications · github:0xjacky/nginx-ui
  • From 2.4.1 before 2.6.2

About Nginx UI

Yet another WebUI for Nginx

From its GitHub repository.
Docker Hub pulls
1,512,532Docker Hub, 15 Nov 2026
GitHub stars
11,783GitHub, 15 Nov 2026
Forks
921GitHub, 15 Nov 2026
Latest release
v3.0.3GitHub, 15 Nov 2026
Released
12 Nov 2026GitHub
License
AGPL-3.0GitHub
First published on GitHub
19 Feb 2021GitHub

References