mediumCVSS 6.5Vulnerability

CVE-2026-77270

## Summary The upload attachment tools in both Confluence and Jira accept arbitrary file paths without path traversal validation. The upload_attachment methods read any file accessible to the server process and upload it to a Confluence page or Jira issue. Despite the existence of a validate_safe_path utility function (used correctly in download operations), the upload paths do not use it. This allows an authenticated MCP client (or an AI assistant manipulated via prompt injection) to exfiltrate arbitrary files from the server filesystem to an attacker-controlled Confluence page or Jira issue. ## Details The vulnerability exists in two parallel code paths: ### Confluence: src/mcp_atlassian/confluence/attachments.py:35-108 # src/mcp_atlassian/confluence/attachments.py:62-65 # Convert to absolute path if relative if not os.path.isabs(file_path): file_path = os.path.abspath(file_path) # Check if file exists if not os.path.exists(file_path): # error... The file_path parameter is only checked for existence, not for path traversal. Any path like /etc/passwd, /etc/shadow, ~/.ssh/id_rsa, or ../../../sensitive-file is accepted. **Contrast with Confluence download operations (which ARE protected):** # src/mcp_atlassian/confluence/attachments.py:223 validate_safe_path(target_path) # <-- used for downloads # src/mcp_atlassian/confluence/attachments.py:272 validate_safe_path(target_dir) # <-- used for downloads The validate_safe_path function is imported (line 9) but never called in the upload path. ### Jira: src/mcp_atlassian/jira/attachments.py:353-415 # src/mcp_atlassian/jira/attachments.py:373-379 # Convert to absolute path if relative if not os.path.isabs(file_path): file_path = os.path.abspath(file_path) # Check if file exists if not os.path.exists(file_path): # error... The same pattern: validate_safe_path is imported (line 10) but never called in upload_attachment. T

Properties

ghsa_id
GHSA-f26r-j276-ggg4
severity
medium
summary
MCP Atlassian: Arbitrary File Read via Upload Attachment Tools
cvss_score
6.5
cve_id
CVE-2026-77270
cvss_vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
signal_observed_at
2026-09-23T04:35:57+00:00
is_ghsa_only
false
ghsa_published
2026-09-22T20:35:11Z
source_url
https://github.com/advisories/GHSA-f26r-j276-ggg4
ghsa_updated
2026-09-22T20:35:12Z

Related Entities (4)

HAS_WEAKNESS (1)

[Weakness]Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

REPORTED_BY (1)

[Source]GitHub Advisory Database

VULNERABLE_TO (1)

[Software]pip/mcp-atlassian

AFFECTS (1)

[Software]pip/mcp-atlassian

Explore deeper with Ninja Signal's threat intelligence graph

CVE-2026-77270 (CVSS 6.5) — Ninja Signal Threat Intelligence | Ninja Signal