Description
IBM ContextForge MCP Gateway 0.1.0 through 1.0.5 is vulnerable to a server-side request Forgery (SSRF) that allows authenticated users with gateway creation privileges to perform arbitrary HTTP POST requests to internal network resources and cloud metadata endpoints. The vulnerability occurs during OAuth-enabled gateway registration when the system fails to validate the oauth_config.token_url parameter. When registering a gateway with OAuth client credentials authentication, an attacker can supply a malicious token_url pointing to internal services, cloud metadata endpoints (AWS IMDSv1, GCP, Azure), or localhost-bound services. The application immediately performs an HTTP POST request to the attacker-controlled URL with form-encoded credentials in the body. If the response cannot be parsed as a valid OAuth token response, up to 256 characters of the response body are reflected back to the attacker in the HTTP 502 error message. This vulnerability bypasses existing SSRF protections that are applied to the gateway.url field but not to OAuth configuration parameters.
Published: 2026-10-19
Score: 5.4 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Server‑side request forgery allowing arbitrary internal HTTP POST requests
Action: Immediate Patch
AI Analysis

Impact

The vulnerability in IBM ContextForge MCP Gateway is triggered when an authenticated user with gateway‑creation privilege registers a gateway using OAuth client‑credentials authentication. The system fails to validate the oauth_config.token_url parameter and immediately issues an HTTP POST to that URL, forwarding credentials in the request body. An attacker can supply a malicious address pointing to internal services or cloud‑metadata endpoints, causing the gateway to send requests with privileged credentials. A 502 error then reflects up to 256 characters of the response, potentially exposing internal data. This flaw bypasses other SSRF mitigations that target only the gateway URL field.

Affected Systems

IBM ContextForge MCP Gateway versions 0.1.0 through 1.0.5 are impacted. The vulnerability is fixed in v1.0.6 and later, which correctly validates the OAuth token_url parameter before making outbound calls.

Risk and Exploitability

The flaw requires an authenticated user who can create gateways, so the risk is confined to accounts with that privilege. The EPSS score is below 1% and the CVSS score of 5.4 indicate that the vulnerability is unlikely to be widely exploited but still poses a moderate risk by allowing arbitrary internal requests and leaking data. The attack vector is over the gateway registration API, making it an exploitable SSRF that could be leveraged to harvest credentials or access cloud metadata services. Because the flaw bypasses other controls, it remains a significant threat to affected installations.

Generated by OpenCVE AI on October 20, 2026 at 18:29 UTC.

Remediation

Vendor Solution

IBM strongly recommends addressing the vulnerability now. Product(s)Version(s) number and/or range Remediation/Fix/InstructionsIBM ContextForge MCP Gateway 2.0>=v1.0.6Upgrade to v1.0.6 or later. See release notes:  https://github.com/IBM/mcp-context-forge/releases/tag/v1.0.6 https://github.com/IBM/mcp-context-forge/releases/tag/v1.0.6%29


Vendor Workaround

If an immediate upgrade to v1.0.6 is not possible, restrict access to the gateway registration API: - Remove the `gateways.create` permission from the `developer` role or any role assigned to untrusted users. - Enforce network-level egress controls (firewall / security group rules) to block outbound HTTP/HTTPS from the gateway host to cloud metadata addresses (`169.254.254.169/32`, `fd00:ec2::254/128`), RFC 1918 ranges, and loopback (`127.0.0.0/8`). IBM strongly recommends upgrading to the fixed version as soon as possible.


OpenCVE Recommended Actions

  • Upgrade IBM ContextForge MCP Gateway to v1.0.6 or later
  • If an immediate upgrade is not feasible, remove the gateways.create permission from the developer role or any role that can register gateways
  • Enforce network‑level egress controls to block outbound HTTP/HTTPS traffic from the gateway host to 169.254.254.169/32, fd00:ec2::254/128, RFC 1918 ranges, and loopback (127.0.0.0/8)

Generated by OpenCVE AI on October 20, 2026 at 18:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 06 Nov 2026 18:45:00 +0000

Type Values Removed Values Added
First Time appeared Ibm contextforge
CPEs cpe:2.3:a:ibm:contextforge:*:*:*:*:*:python:*:*
Vendors & Products Ibm contextforge

Tue, 20 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 5.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Tue, 20 Oct 2026 02:30:00 +0000

Type Values Removed Values Added
First Time appeared Ibm contextforge-mcp-gateway
Vendors & Products Ibm contextforge-mcp-gateway

Tue, 20 Oct 2026 00:00:00 +0000

Type Values Removed Values Added
Description IBM ContextForge MCP Gateway 0.1.0 through 1.0.5 is vulnerable to a server-side request Forgery (SSRF) that allows authenticated users with gateway creation privileges to perform arbitrary HTTP POST requests to internal network resources and cloud metadata endpoints. The vulnerability occurs during OAuth-enabled gateway registration when the system fails to validate the oauth_config.token_url parameter. When registering a gateway with OAuth client credentials authentication, an attacker can supply a malicious token_url pointing to internal services, cloud metadata endpoints (AWS IMDSv1, GCP, Azure), or localhost-bound services. The application immediately performs an HTTP POST request to the attacker-controlled URL with form-encoded credentials in the body. If the response cannot be parsed as a valid OAuth token response, up to 256 characters of the response body are reflected back to the attacker in the HTTP 502 error message. This vulnerability bypasses existing SSRF protections that are applied to the gateway.url field but not to OAuth configuration parameters.
Title IBM ContextForge MCP Gateway is affected by server-side request forgery
First Time appeared Ibm
Ibm contextforge Mcp Gateway
Weaknesses CWE-918
CPEs cpe:2.3:a:ibm:contextforge_mcp_gateway:*:*:*:*:*:*:*:*
Vendors & Products Ibm
Ibm contextforge Mcp Gateway
References

Subscriptions

Ibm Contextforge Contextforge-mcp-gateway Contextforge Mcp Gateway
cve-icon MITRE

Status: PUBLISHED

Assigner: ibm

Published:

Updated: 2026-10-20T14:37:15.968Z

Reserved: 2026-05-11T17:24:26.842Z

Link: CVE-2026-8355

cve-icon Vulnrichment

Updated: 2026-10-20T14:37:05.975Z

cve-icon NVD

Status : Analyzed

Published: 2026-10-20T00:19:20.530

Modified: 2026-11-06T18:26:02.903

Link: CVE-2026-8355

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-20T18:30:16Z

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)