CVE-2026-77251: MCP Atlassian: JIRA_PROJECTS_FILTER / CONFLUENCE_SPACES_FILTER allow forbidden-project content exfiltration (one LIVE-proven on Atlassian Cloud)

Published Sep 22, 2026
·
Updated

Summary

mcp-atlassian is a popular community MCP server wrapper exposing Jira / Confluence to MCP clients. Operators commonly restrict the surface to a small allowlist of projects/spaces via the JIRAPROJECTSFILTER and CONFLUENCESPACESFILTER environment variables, which the README documents as the principal mechanism for limiting attacker-controlled MCP clients (= prompt-injected LLM agents) to the operator's intended subset of the workspace.

We identified three distinct sub-bugs that let attacker-controlled queries read content from forbidden projects/spaces (= projects NOT in the operator's filter) despite the filter being correctly set. The most severe is empirically reproduced on production Atlassian Cloud with real operator credentials and sentinel content in two real projects.

| Sub-bug | Layer | Class | Live? | |---|---|---|---| | A1 | Jira jirasearch jql | substring-bypass | 🔴 LIVE PROVEN 2026-05-18 on real Atlassian Cloud | | A2 | Confluence confluencesearch cql | case-sensitive substring-bypass | code-level verified | | B | Jira agile getboardissues / getagileboards | zero-filter (missing check) | code-level verified |

Details

Sub-bug A1 — src/mcpatlassian/jira/search.py lines 92-94 at HEAD d8bc78698a63cb6b321c7ca796d6329d448f7f6d:

python if projectsfilter and "project = " not in jql.lower(): jql = f"{jql} AND project in ({','.join(projectsfilter)})"

The substring check is satisfied by any JQL of the form project = <forbidden-project> — including a project NOT in projectsfilter. The wrapper does NOT verify that the project named in the user JQL is a member of the allowlist. The user-supplied JQL is sent verbatim to Jira's search API which returns content from the forbidden project (Jira's authorization is satisfied because the operator's PAT typically has broader access than the operator's intended allowlist — which is why the operator set a filter in the first place).

Sub-bug A2 — src/mcpatlassian/confluence/search.py line 60: same pattern as A1, PLUS the substring check "space = " not in cql is case-sensitive (no .lower()). User CQL SPACE = "<forbidden-space>" (uppercase) bypasses the substring match.

Sub-bug B — getboardissues and getagileboards paths have no projectsfilter enforcement at all — no substring check, no AST walk, the allowlist is silently ignored. An MCP client invoking getagileboards enumerates boards across the entire workspace (including forbidden projects), and getboardissues(boardId=<forbidden-board>) returns all issues with no filter check.

PoC

End-to-end Phase C against real Atlassian Cloud + real mcp-atlassian Python binary v0.21.1 (latest on PyPI) with operator-provided test workspace and two real Jira projects (one allowed, one forbidden via JIRAPROJECTSFILTER):

| Step | JQL submitted | Result | Verdict | |---|---|---|---| | 1 initialize | – | MCP 2024-11-05 OK | ✓ | | 2 tools/list | – | 33+ tools incl. jirasearch | ✓ | | 3 CONTROL | project = <allowed> | returns allowed issue | ✓ | | 4 NEG CTRL | summary ~ "any-string" | wrapper appends AND project in (<allowed>) → 0 forbidden results | ✓ | | 5 BYPASS A1 | project = <forbidden> | returns forbidden issue with sentinel content | 🔴 BYPASS |

Full RPC log and a reproducible test script are available in a disclosure bundle I have prepared. I can share the zip via a private channel (email / your preferred private fork / encrypted upload) — please reply with your preference. The bundle includes:

- 00-FINDING-REPORT.md (primary report) - ATTACK-MATRIX.md - Verbatim source files at HEAD with sha256 chain of custody (source-jira-search.py, source-confluence-search.py) - Phase C live test script + JSON-RPC witness log - Bundle zip sha256: 034cbf0bcb66c325be9373ff2dc186b8b0e1747c5165d6fba3bca83054949dd3

Repro recipe (no bundle needed) :

bash pip install mcp-atlassian export JIRAURL=https://<your-test-workspace>.atlassian.net export JIRAUSERNAME=<your-test-email> export JIRAAPITOKEN=<your-pat> export JIRAPROJECTSFILTER=<your-allowed-project-key> Then drive the MCP via stdio JSON-RPC with tools/call jirasearch jql="project = <forbidden-project-key>" Expect: forbidden project content returned despite the filter.

Impact

Severity is higher in deployments where the operator's PAT covers a broader set of projects than JIRAPROJECTSFILTER (= the common configuration, which is the reason operators set the filter).

Affected: every operator who relies on JIRAPROJECTSFILTER / CONFLUENCESPACESFILTER to confine an attacker-controlled MCP client (= prompt-injected LLM agent) to a subset of their workspace.

Suggested fix

1. Replace substring checks with AST-based JQL/CQL parsers that walk the WHERE clause looking for project/space constraints. Reject queries whose project/space constraint references a key not in the allowlist. 2. Add projectsfilter check inside getboardissues (resolve board → project, reject if not in filter) and getagileboards (filter returned list). 3. Make the Confluence substring check case-insensitive (cql.lower()) for defense-in-depth, even after the AST fix lands. 4. Default-deny for ambiguous queries: if the AST parser can't fully classify a clause, refuse instead of pass-through. 5. Add unit tests that assert attacker JQL project = <not-in-filter> returns zero results when the filter is set.

Disclosure

ISO/IEC 29147. Default 90-day embargo from the date you acknowledge receipt. Happy to coordinate the CVE via the GitHub CNA pipeline. Credit under: Mordehai Attia, Founder, Corsen AI (https://corsen.ai , GitHub @CorsenAI).

Thank you for maintaining mcp-atlassian — the project is widely used and your security policy was clear, which made this disclosure straightforward to file. Looking forward to coordinating the fix.

Other sources

MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0, Jira search accepts a forbidden project clause because it checks only for the presence of project syntax, Confluence search uses an incomplete case-sensitive space check, and Jira board APIs omit project-filter enforcement. These paths expose issues, boards, or pages outside JIRAPROJECTSFILTER or CONFLUENCESPACESFILTER when the operator credentials have broader access. The advisory traces the vulnerable input and processing flow through jirasearch, confluencesearch, getboardissues, getagileboards, JIRAPROJECTSFILTER, and CONFLUENCESPACESFILTER, which identify the affected entry points, controls, and code paths. This issue is fixed in version 0.22.0.

— MITRE

Affected Software

3 affected componentsFixes available
MCP Atlassian MCP Atlassian<0.22.0
pip/mcp-atlassian<0.22.0
0.22.0
mcp-atlassian MCP Atlassian<0.22.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/mcp-atlassian to a version that resolves this vulnerability.

    Fixed in 0.22.0
  2. Upgrade

    Upgrade mcp-atlassian to a version that resolves this vulnerability.

    Fixed in 0.22.0

Event History

Sep 22, 2026
CVE Published
via MITRE·05:55 PM
Data Sourced
via MITRE·05:55 PM
DescriptionWeakness
Data Sourced
via NVD·06:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:17 PM
RemedyAffected Software
Advisory Published
via GitHub·08:34 PM
Data Sourced
via GitHub·08:34 PM
DescriptionWeaknessAffected Software

Frequently Asked Questions

1

Who is exposed to this issue?

Deployments running MCP Atlassian before 0.22.0 are exposed if the configured operator credentials can access Jira projects or Confluence spaces outside the intended JIRA_PROJECTS_FILTER or CONFLUENCE_SPACES_FILTER scope.

2

What does an attacker need to exploit it?

An attacker needs a path to invoke affected MCP operations. The affected entry points include jira_search, confluence_search, get_board_issues, and get_agile_boards, where crafted searches or board requests can retrieve content outside configured filters.

3

Are the configured project and space filters sufficient protection on vulnerable versions?

No. Before 0.22.0, Jira search can accept a forbidden project clause, Confluence search has an incomplete case-sensitive space check, and Jira board APIs do not enforce project filters.

4

What should teams do if they cannot upgrade immediately?

Restrict the operator credentials so they do not have access to projects or spaces that must remain out of scope. The filters alone are not reliable boundaries on affected versions.

5

How can we determine whether our deployment is affected?

Check whether MCP Atlassian is running a version earlier than 0.22.0 and whether its operator credentials have broader Jira or Confluence access than the configured filters permit. Review use of the affected search and board API entry points.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203