VDB
Sign up
MEDIUM4.3

GHSA-mpff-xhg4-vr45

Jenkins MCP Server Plugin missing a permission check

Quick fix

GHSA-mpff-xhg4-vr45 — io.jenkins.plugins:mcp-server: upgrade to the fixed version with the command below.

# pom.xml: bump <version>0.178.vffe5a</version> for io.jenkins.plugins:mcp-server

Details

Jenkins MCP Server Plugin 0.177.v629fdb_2557fe and earlier does not perform a permission check in the getReplayScripts MCP tool that returns the replay script of a Pipeline build.

This allows attackers with Item/Read permission to obtain the Pipeline script of jobs.

MCP Server Plugin 0.178.vffe5a_e770f3b_ requires Item/Extended Read permission to return the replay script of a Pipeline build through the getReplayScripts MCP tool.

Are you affected?

Enter the version of the package you're using.

Affected packages

Maven/io.jenkins.plugins:mcp-server
Introduced in: 0Fixed in: 0.178.vffe5a
Fix# pom.xml: bump <version>0.178.vffe5a</version> for io.jenkins.plugins:mcp-server

References