← All advisories
CVE-2026-124503highData leakage2026-11-10

CVE-2026-124503: MCP Atlassian upload path guard uses the process working directory, so remote deployments started from / let callers exfiltrate any file (fixed 0.24.1)

In mcp-atlassian before 0.24.1, the path check that confines confluence_upload_attachment uses the process working directory as its boundary. HTTP/SSE deployments started by a systemd unit without WorkingDirectory= run from / (or $HOME for user units), so an authenticated remote MCP caller can upload any file the server can read, such as /proc/self/environ with the operator's Atlassian tokens, .env files or SSH keys, to their own Confluence. Upgrade to 0.24.1.

01.

What it is

validate_safe_path() defaults base_dir to os.getcwd(). It correctly rejects ../ and symlink escapes, but when the cwd is / every absolute path passes.

confluence_upload_attachment passes file_path through that check, opens the file and uploads its bytes to Confluence, so the caller gets the file's contents.

Affected: remote multi-user transports (sse, streamable-http) launched from a wide working directory. The official Docker image (WORKDIR /app) and local stdio use are not affected. The attacker is an authenticated MCP caller, or anyone if ALLOW_GLOBAL_CRED_FALLBACK=true.

Same root cause as the download-side bypass CVE-2026-77271. Fixed in 0.24.1 (8 Nov 2026), which keeps tool file paths inside an explicit directory; that release also fixed a batch of other privately reported issues. Reported by LeoWSY-hashblue, aaronott and beausea.

02.

How to check

  1. Run pip show mcp-atlassian (or check your uvx/docker tag); versions below 0.24.1 are affected.
  2. If you run it with --transport sse or streamable-http, check the service's working directory (systemctl show <unit> -p WorkingDirectory, or ls -l /proc/<pid>/cwd).
03.

How to fix

  1. Upgrade to mcp-atlassian 0.24.1 or later.
  2. Set an explicit, narrow WorkingDirectory= for systemd units, or use the official Docker image; if a remote deployment ran from / or $HOME, rotate the Atlassian tokens and other secrets the process could read.
pip show mcp-atlassian | grep -i ^version
ls -l /proc/$(pgrep -f mcp-atlassian | head -1)/cwd
uvx [email protected] --help >/dev/null
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.