mcp-cve-project

CVE-2026-73498 | MCP Atlassian confluence_upload_attachment path traversal | High | 7.7

CVE Information

Field Value
CVE / NVD CVE-2026-73498
Date (index) 2026-08-12
Affected product (index) MCP Atlassian (mcp-atlassian): confluence_upload_attachment arbitrary file read
GHSA ID GHSA-g5r6-gv6m-f5jv
OWASP MCP Top 10 (2025) MCP02 — Privilege Escalation via Scope Creep
Published / disclosed 2026-08-12
Ecosystem pip
Component mcp-atlassian / src/mcp_atlassian/confluence/attachments.py
EPSS score Not yet scored (FIRST EPSS as of indexing)
CVSS score 7.7 (v3.1)
CWE CWE-22
Affected versions < 0.22.0
Fixed versions 0.22.0
Fix status Patched
Exploit status Public advisory with PoC
Notes Added during 2026-08-25 gap review. Complements CVE-2026-27825 (file write/RCE) and CVE-2026-27826 (SSRF) in same package.

CVE Breakdown

What is the vulnerability?

confluence_upload_attachment passes client-supplied file_path directly to open(file_path, "rb") in _upload_attachment_direct() without calling validate_safe_path. An authenticated MCP client can read any file the server process can access and exfiltrate it to Confluence as an attachment.

Attack prerequisites / exposure

Authenticated MCP client access, or agent induced to call the tool via untrusted content (prompt injection chain).

CVE is because of what bug?

Path traversal / missing path confinement (CWE-22).

MCP-specific impact / why it matters

Tool scope implied Confluence uploads; actual reach is host filesystem read — enabling exfiltration of CONFLUENCE_API_TOKEN, .env, SSH keys, and other secrets visible to the MCP server process.

Where was the bug? (source + snippet)

Fix / Remediation

Upgrade to mcp-atlassian >= 0.22.0, which applies validate_safe_path before file open.

Restrict tool permissions and require human approval for attachment uploads in agent deployments.