<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://vulnerability.circl.lu/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-09-30T06:17:49.672473+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>info@circl.lu</email>
  </author>
  <link href="https://vulnerability.circl.lu" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/fkie_cve-2026-77258</id>
    <title>fkie_cve-2026-77258</title>
    <updated>2026-09-30T06:17:49.810958+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0, upload_attachment in src/mcp_atlassian/confluence/attachments.py accepts a caller-controlled file_path and opens the selected server-local file without restricting it to the workspace. A permitted Confluence MCP caller can upload the file as an attachment and disclose data readable by the server process. This issue is fixed in version 0.22.0.</p>
      </div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/fkie_cve-2026-77258"/>
  </entry>
  <entry>
    <id>https://vulnerability.circl.lu/vuln/ghsa-93xw-j965-9mx3</id>
    <title>GHSA-93xw-j965-9mx3 — MCP Atlassian: Arbitrary file read/exfiltration via upload_attachment missing validate_safe_path()</title>
    <updated>2026-09-30T06:17:49.811153+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: mcp-atlassian</p>
<p>## Summary</p>
<p>The `upload_attachment` method in `confluence/attachments.py` reads and uploads arbitrary local files to Confluence without calling `validate_safe_path()`. Both download methods (`download_attachment` at line 223, `download_content_attachments` at line 272) correctly call `validate_safe_path()` before writing files, but the upload path at lines 35-79 skips this check entirely.</p>
<p>An AI agent connected via MCP (or an attacker influencing that agent through prompt injection) can read any file on the host and exfiltrate it by uploading it as a Confluence page attachment.</p>
<p>## Vulnerable Code</p>
<p>File: `src/mcp_atlassian/confluence/attachments.py`, lines 62-79</p>
<p>```python
# No validate_safe_path() call anywhere in this method
if not os.path.isabs(file_path):
    file_path = os.path.abspath(file_path)</p>
<p>if not os.path.exists(file_path):
    return {"success": False, "error": f"File not found: {file_path}"}</p>
<p>filename = os.path.basename(file_path)
attachment = self._upload_attachment_direct(
    content_id, file_path, filename, comment, minor_edit
)
```</p>
<p>The `validate_safe_path` function is already imported at line 9 of the same file, and used in the download methods. It was just not added to the upload path.</p>
<p>## Proof of Concept</p>
<p>Tested with mcp-atlassian 0.21.1 on Python 3.11 (EC2, Amazon Linux 2023).</p>
<p>```python
import inspect
from mcp_atlassian.confluence.attachments import AttachmentsMixin</p>
<p># Confirm: no validate_safe_path in upload
source = inspect.getsource(AttachmentsMix…</p></div>
    </content>
    <link href="https://vulnerability.circl.lu/vuln/ghsa-93xw-j965-9mx3"/>
  </entry>
</feed>
