---
id: CVE-2026-53708
title: >-
  ContextForge is an AI gateway, registry, and proxy that provides centralized
  discovery, guardrails, and management for MCP, A2A, and REST or gRPC APIs
summary: >-
  ContextForge is an AI gateway, registry, and proxy that provides centralized
  discovery, guardrails, and management for MCP, A2A, and REST or gRPC APIs.
  Prior to 1.0.3, the /admin/gateways/test call site in mcpgateway/admin.py
  calls valid…
severity: medium
cvss: 6.6
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:L/A:N'
cwe:
  - CWE-350
  - CWE-367
  - CWE-918
vendor: IBM
product: mcp-context-forge
affected:
  - mcp-context-forge < 1.0.3
  - mcp-contextforge-gateway < 1.0.3
patched:
  - mcp-contextforge-gateway 1.0.3
published: '2026-09-14'
updated: '2026-09-14'
sourceUpdated: '2026-09-14T17:17:46.410'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-53708'
references:
  - url: >-
      https://github.com/IBM/mcp-context-forge/commit/fba11a99babd80779fa05510b35fb6a153bbacaf
    label: security-advisories@github.com
  - url: 'https://github.com/IBM/mcp-context-forge/releases/tag/v1.0.3'
    label: security-advisories@github.com
  - url: >-
      https://github.com/IBM/mcp-context-forge/security/advisories/GHSA-9hgc-g3w5-67cm
    label: security-advisories@github.com
  - url: >-
      https://github.com/IBM/mcp-context-forge/security/advisories/GHSA-9hgc-g3w5-67cm
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
  - url: 'https://github.com/advisories/GHSA-9hgc-g3w5-67cm'
tags:
  - nvd
  - cve.org
  - exploit-available
  - ghsa
  - pip
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-14T16:33:14.079728Z'
aliases:
  - GHSA-9hgc-g3w5-67cm
ecosystem: pip
ingestedAt: '2026-08-14T20:20:21.386Z'
epss: 0.0035
epssPercentile: 0.25857
---

## Overview

ContextForge is an AI gateway, registry, and proxy that provides centralized discovery, guardrails, and management for MCP, A2A, and REST or gRPC APIs. Prior to 1.0.3, the /admin/gateways/test call site in mcpgateway/admin.py calls validate_gateway_test_url() in mcpgateway/common/validators.py to resolve and reject private, loopback, link-local, and cloud-metadata addresses, but ResilientHttpClient later resolves the original hostname again without binding the validated address. When MCPGATEWAY_ADMIN_API_ENABLED is enabled, an attacker with a database-backed role containing explicit gateways.read permission can use DNS rebinding to return a public address during validation and a private or metadata address during connection, bypassing ssrf_blocked_networks and ssrf_dns_fail_closed because those controls apply only to the validation-time result. The endpoint's allow_admin_bypass=False setting means a bootstrap-only virtual platform-admin identity without a database role is not sufficient. Successful exploitation can reach internal services and cloud metadata, expose cloud credentials, access internal APIs, or probe internal network ports. This issue is fixed in version 1.0.3.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-53708)

Affected packages:

- `mcp-contextforge-gateway < 1.0.3`

Patched in:

- `mcp-contextforge-gateway 1.0.3`

Source: https://github.com/advisories/GHSA-9hgc-g3w5-67cm
