/

CVE-2026-77274

Severity:

HIGH RISK

(8.2)

SSRF (CWE-918) in MCP Atlassian URL Validation Flow

CVE-2026-77274

Analyzed

Vulnerability type

Category:

Server-Side Request Forgery

CWE:

CWE-918

Impact:

Unauthorized access to internal network resources

Severity:

HIGH RISK

(8.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

A server-side request forgery vulnerability in MCP Atlassian can allow crafted URLs to bypass external-host validation because backslashes are interpreted differently by the validator and the HTTP client.

An attacker who can influence a Jira or Confluence URL used in the header-based authentication flow may cause the server to connect to protected internal network resources.

Affected context

The vulnerability occurs in MCP Atlassian deployments that use the Jira or Confluence URL authentication flow with header-based authentication. It becomes risky when an attacker can provide or influence a URL that reaches validate_url_for_ssrf, while the downstream Requests client interprets the URL differently and connects to an internal host.

Exploit preconditions

  • Attack surface: MCP Atlassian URL handling for Jira or Confluence requests
  • Required access: Ability to supply or influence a URL processed by the header-based authentication flow
  • Trigger point: SSRF validation followed by an outbound HTTP request
  • Why exploitation is possible: Backslash-based authority confusion can make the validator identify an external hostname while the HTTP client connects to an internal destination

Why this happens

The underlying bug is inconsistent URL parsing between the SSRF validation logic and the Requests connection layer. The validator and HTTP client derive different authorities from specially crafted URLs, allowing an input that appears external during validation to resolve to an internal host during connection. This maps to CWE-918: Server-Side Request Forgery, where server-side network requests are insufficiently restricted or validated.

Potential impact

  • Requests to services on private or loopback network addresses
  • Exposure of internal application responses or metadata
  • Access to cloud or container platform endpoints
  • Unauthorized interaction with administrative services
  • Further compromise if retrieved secrets or privileged interfaces are exposed

General mitigation guidance

Mitigation generally focuses on making URL parsing consistent and enforcing network destination controls after canonicalization.

Common defensive patterns include:

  • Using one standards-compliant URL parser for validation and connection construction
  • Rejecting ambiguous delimiters, backslashes, encoded authority characters, and noncanonical host representations
  • Resolving and validating the final destination immediately before making the request
  • Allowlisting approved schemes, hosts, ports, and network ranges where practical
  • Blocking loopback, link-local, private, and other sensitive address ranges at the application and network layers
  • Applying least-privilege credentials and restricting outbound network access from the MCP server

How teams detect issues like this

Organizations can detect SSRF risks through:

  • Static analysis for custom URL validation that differs from the HTTP client's parsing behavior
  • Code review checks for backslash, percent-encoding, redirect, DNS-resolution, and canonicalization handling
  • Dynamic tests using equivalent URL representations and private-address targets in isolated environments
  • Egress policies that alert on requests to loopback, private, link-local, or metadata-service ranges
  • Monitoring outbound requests from the MCP server for unexpected destinations, ports, or redirects

Automated security review tools can help identify inconsistent URL parsing and missing network allowlists.

Sources

SourceLink
github.comgithub.com/sooperset/mcp-atlassian/commit/b041733473f95119dd539542a43c280737a8e460
github.comgithub.com/sooperset/mcp-atlassian/pull/1448
github.comgithub.com/sooperset/mcp-atlassian/releases/tag/v0.22.0
github.comgithub.com/sooperset/mcp-atlassian/security/advisories/GHSA-hgcf-4mq8-5266

Frequently asked

questions

It may be remotely exploitable when an attacker can influence a Jira or Confluence URL processed by an accessible MCP Atlassian deployment. The exact scope depends on how URLs are exposed and controlled.

The attacker generally needs a way to submit or modify a URL reaching the affected header-based authentication flow. Direct access to the server filesystem is not necessarily required.

Use consistent, canonical URL parsing and validate the final destination against strict scheme, host, port, and network-range policies before sending requests.

Combine parser-consistency tests, strict outbound allowlists, network egress controls, redirect validation, and least-privilege runtime permissions.

Find out what's already
exploitable in your codebase.