Skip to content

v0.22.0: MCP007 catches the CVE-2026-27825 write shape

Choose a tag to compare

@glatinone glatinone released this 20 Nov 06:43
· 2 commits to main since this release

What changed

MCP007 now catches writes to a caller-controlled path. A Python function that writes (open(..., "w"/"wb"/"a"/"x"), write_text/write_bytes, shutil.copy*/move, os.rename/replace) to one of its own parameters, or to Path(p)/os.path.abspath(p) of one, with no base-directory check is now a high finding.

This is the shape of CVE-2026-27825 (CVSS 9.1) in sooperset/mcp-atlassian 0.16.0. mcpscan 0.21.0 missed it because nothing on the open() line was interpolated.

mcp-atlassian 0.21.0 MCP007 0.22.0 MCP007
v0.16.0 (vulnerable) 2 false positives (window.open in HTML strings) confluence/attachments.py:198, jira/attachments.py:50
v0.17.0 (patched) same 2 false positives none

Fixed: MCP007 no longer flags browser window.open( inside Python HTML strings.

Limit: a path passed through several functions before the write is still not tracked. A clean scan is not a clean review.

pip install -U mcpscan-cli