Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

GHSA-g5r6-gv6m-f5jv: mcp-atlassian: Arbitrary file read via missing path validation in confluence_upload_attachment

0
High
Published: 07/10/2026 (07/10/2026, 19:34:37 UTC)
Source: GCVE Database
Product: mcp-atlassian

Description

A path validation vulnerability in the mcp-atlassian package's confluence_upload_attachment function allows authenticated clients or AI agents manipulated via prompt injection to read arbitrary files accessible by the server process. The vulnerability arises because the file_path parameter is passed directly to open() without validation, enabling exfiltration of sensitive files such as environment variables containing credentials. This can lead to full Atlassian account takeover and lateral movement. The issue affects versions prior to 0.22.0 and has a confirmed proof-of-concept. A simple fix involves adding path validation before file access.

CVSS v3.1

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N

Affected software

PyPIghsa
mcp-atlassian
Affected versions
<0.22.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/11/2026, 09:49:21 UTC

Technical Analysis

The mcp-atlassian package's confluence_upload_attachment function lacks path validation on the file_path parameter before opening the file. This allows any authenticated MCP client or an AI agent influenced by prompt injection to read arbitrary files that the server process can access and upload them as Confluence attachments. The root cause is the absence of a validate_safe_path call before open(file_path, "rb"). The vulnerability has been confirmed with proof-of-concept uploads of sensitive files including /proc/self/environ, which contains environment variables with secrets like API tokens and credentials. Exploitation via prompt injection requires no MCP authentication, as demonstrated by an AI agent autonomously executing the upload based on crafted input. The vulnerability affects mcp-atlassian versions before 0.22.0.

Potential Impact

Successful exploitation allows reading and exfiltration of any file accessible by the server process, including sensitive environment variables containing API tokens, AWS keys, and database credentials. This can lead to full Atlassian account takeover and lateral movement within connected systems. The vulnerability can be triggered without authentication via prompt injection against AI agents using the MCP client, significantly increasing the attack surface and risk.

Mitigation Recommendations

A fix is available in mcp-atlassian version 0.22.0 and later that adds path validation before opening files in the confluence_upload_attachment function. Users should upgrade to version 0.22.0 or later to remediate this vulnerability. Until upgraded, restrict access to MCP clients and carefully control AI agent inputs to prevent prompt injection attacks. Patch status is confirmed by the existence of the fix in version 0.22.0.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-g5r6-gv6m-f5jv
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6a520eb368715ace438f525a

Added to database: 07/11/2026, 09:36:51 UTC

Last enriched: 07/11/2026, 09:49:21 UTC

Last updated: 07/12/2026, 03:44:53 UTC

Views: 6

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses