Summary
CVE-2026-54549 is a Server-Side Request Forgery (SSRF) vulnerability in Meta Ads MCP (the meta-ads-mcp PyPI package by pipeboard-co), a Model Context Protocol server used to interact with Meta’s advertising APIs. The upload_ad_image MCP tool accepts an attacker-controlled image_url parameter and passes it directly to an HTTP fetch routine without validating the scheme, hostname, or resolved IP address, allowing unauthenticated remote attackers to force the server to issue requests to arbitrary internal or cloud-internal targets. The issue has a CVSS v3.1 base score of 8.3 (High).
Technical details
- Root cause: The fetch helper functions in
meta_ads_mcp/core/utils.pylack scheme, host, and IP-address validation before requesting a caller-suppliedimage_url. - Compounding issue: The server’s authentication middleware only checks that a non-empty Bearer token is present; the actual credential/authorization check happens only after the outbound image download has already completed, so the SSRF request fires regardless of whether the token is valid.
- Unsafe HTTP client configuration: The server uses
httpx.AsyncClient(follow_redirects=True)with no restrictions on redirect targets, enabling attackers to bypass simple allow-list checks via HTTP redirects to internal addresses. - Trigger conditions: An attacker sends a crafted MCP request invoking the
upload_ad_imagetool with animage_urlpointing at localhost, an RFC 1918 private address, or a cloud metadata endpoint. - Attack vector: Network, no privileges or user interaction required (AV:N/AC:L/PR:N/UI:N).
- Impact: The server can be coerced into issuing requests to localhost services and admin interfaces, private/internal network hosts, cloud metadata endpoints (AWS IMDSv1, GCP, Azure), and internal microservices or Kubernetes control planes — potentially exposing sensitive internal data or credentials returned in the fetch response.
Affected software
- Product: Meta Ads MCP (
meta-ads-mcp, pipeboard-co) - Affected versions: All versions prior to 1.0.115
- Fixed version: 1.0.115
Severity
- CVSS v3.1 Base Score: 8.3 (High)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L
Mitigation and recommended actions
- Immediate: Upgrade
meta-ads-mcpto version 1.0.115 or later, which fixes the SSRF flaw. - If immediate patching is not possible:
- Restrict outbound network connections from the MCP server host to only required external destinations, blocking access to localhost, RFC 1918 private ranges, and cloud metadata IP ranges (e.g., 169.254.169.254).
- Enforce URL/hostname/IP allow-listing or block-listing for any tool that accepts remote URLs before the request is issued.
- Ensure authentication/authorization checks complete and are validated before any outbound request is made, not after.

