CVE-2026-77265
highpriority · track · 30EPSS 0.003 · 22 %ileUSEPSS · scored 2026-10-27
MCP Atlassian is a Model Context Protocol (MCP) server for Atlassian products (Confluence and Jira). Prior to 0.22.0, header-supplied Jira or Confluence URLs are resolved and validated before the HTTP client resolves the hostname again for the connection. An unauthenticated caller can use a DNS-rebinding hostname that returns a public address during validation and an internal address during connection, causing requests to internal or metadata services. The advisory traces the vulnerable input and processing flow through X-Atlassian-Jira-Url, X-Atlassian-Confluence-Url, validate_url_for_ssrf, and DNS rebinding, which identify the affected entry points, controls, and code paths. This issue is fixed in version 0.22.0.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–high · 5.9–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-49xv-9743-pw8wMCP Atlassian: SSRF via DNS Rebinding in Header-Based Authentication Flow2026-09-22ghsa · osvUS
## Summary The SSRF protection for header-based authentication uses a validate-then-use pattern vulnerable to DNS rebinding. validate_url_for_ssrf resolves the hostname via DNS and checks that the resolved IP is globally routable. However, the actual HTTP request happens later, during which the DNS record may have changed to point to an internal IP (127.0.0.1, 169.254.169.254, etc.). The SSRF redirect hook only validates redirect targets, not the initial connection. ## Details The vulnerability spans main.py (validation) and dependencies.py (use). **Step 1 -- URL validation at middleware time:** In src/mcp_atlassian/servers/main.py:524-531, the URL from X-Atlassian-Jira-Url is validated: if jira_url_str: ssrf_error = validate_url_for_ssrf(jira_url_str) if ssrf_error: # blocked validate_url_for_ssrf (src/mcp_atlassian/utils/urls.py:113-116) resolves DNS and checks is_global: dns_error = _check_dns_resolution(hostname) if dns_error: return dns_error **Step 2 -- HTTP request happens later with a separate DNS resolution:** In src/mcp_atlassian/servers/dependencies.py:544-562, a JiraFetcher is created with the attacker URL and makes HTTP requests to it. The SSRF redirect hook (attach_ssrf_hook=True) is applied but only checks redirect Location headers, not the initial connection target. **DNS rebinding timeline:** 1. Attacker sets up rebind.attacker.com with short TTL (1 second) 2. First DNS resolution (validate_url_for_ssrf): returns 1.2.3.4 (public) -- passes 3. TTL expires 4. Second DNS resolution (requests.get): returns 169.254.169.254 (metadata) 5. HTTP request reaches internal IP, bypassing the SSRF check ## PoC Use a DNS rebinding service like rbndr.us. Send a request with X-Atlassian-Jira-Url set to a rebinding hostname (e.g., rebind-169.254.169.254-1.2.3.4.rbndr.us) and X-Atlassian-Jira-Personal-Token set to any value. With approximately 50% probability per attempt, the request reaches the internal metadata service. ## Impact - **Cloud metadata access**: Steal IAM credentials via 169.254.169.254 - **Internal network scanning**: Proxy requests to internal services - **AC:H**: DNS rebinding is probabilistic and requires multiple attempts - **Limited to header_pat branch**: Only affects deployments accepting header-based PAT authentication ## Recommended Fix Pin DNS resolution: resolve the hostname once during validation, then connect to the resolved IP directly (with the original hostname in the Host header). This eliminates the TOCTOU gap between validation and use.
- PYSEC-2026-4083MCP Atlassian: SSRF via DNS Rebinding in Header-Based Authentication Flow2026-10-01vendor · osvUS
## Summary The SSRF protection for header-based authentication uses a validate-then-use pattern vulnerable to DNS rebinding. validate_url_for_ssrf resolves the hostname via DNS and checks that the resolved IP is globally routable. However, the actual HTTP request happens later, during which the DNS record may have changed to point to an internal IP (127.0.0.1, 169.254.169.254, etc.). The SSRF redirect hook only validates redirect targets, not the initial connection. ## Details The vulnerability spans main.py (validation) and dependencies.py (use). **Step 1 -- URL validation at middleware time:** In src/mcp_atlassian/servers/main.py:524-531, the URL from X-Atlassian-Jira-Url is validated: if jira_url_str: ssrf_error = validate_url_for_ssrf(jira_url_str) if ssrf_error: # blocked validate_url_for_ssrf (src/mcp_atlassian/utils/urls.py:113-116) resolves DNS and checks is_global: dns_error = _check_dns_resolution(hostname) if dns_error: return dns_error **Step 2 -- HTTP request happens later with a separate DNS resolution:** In src/mcp_atlassian/servers/dependencies.py:544-562, a JiraFetcher is created with the attacker URL and makes HTTP requests to it. The SSRF redirect hook (attach_ssrf_hook=True) is applied but only checks redirect Location headers, not the initial connection target. **DNS rebinding timeline:** 1. Attacker sets up rebind.attacker.com with short TTL (1 second) 2. First DNS resolution (validate_url_for_ssrf): returns 1.2.3.4 (public) -- passes 3. TTL expires 4. Second DNS resolution (requests.get): returns 169.254.169.254 (metadata) 5. HTTP request reaches internal IP, bypassing the SSRF check ## PoC Use a DNS rebinding service like rbndr.us. Send a request with X-Atlassian-Jira-Url set to a rebinding hostname (e.g., rebind-169.254.169.254-1.2.3.4.rbndr.us) and X-Atlassian-Jira-Personal-Token set to any value. With approximately 50% probability per attempt, the request reaches the internal metadata service. ## Impact - **Cloud metadata access**: Steal IAM credentials via 169.254.169.254 - **Internal network scanning**: Proxy requests to internal services - **AC:H**: DNS rebinding is probabilistic and requires multiple attempts - **Limited to header_pat branch**: Only affects deployments accepting header-based PAT authentication ## Recommended Fix Pin DNS resolution: resolve the hostname once during validation, then connect to the resolved IP directly (with the original hostname in the Host header). This eliminates the TOCTOU gap between validation and use.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (4) nvd
External citations — patches, advisories, analysis.
- https://github.com/sooperset/mcp-atlassian/commit/b041733473f95119dd539542a43c280737a8e460Patch
- https://github.com/sooperset/mcp-atlassian/pull/1448Issue TrackingPatch
- https://github.com/sooperset/mcp-atlassian/releases/tag/v0.22.0Release Notes
- https://github.com/sooperset/mcp-atlassian/security/advisories/GHSA-49xv-9743-pw8wExploitVendor Advisory
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan