Description
IBM ContextForge MCP Gateway 1.0.0 through 1.0.8 was vulnerable to path traversal in its Admin API log-download endpoint (`GET /v1/admin/logs/file`). The path confinement check uses `str.startswith()` rather than proper boundary validation, allowing an authenticated admin to read `.log`, `.jsonl`, and `.json` files outside the configured `LOG_FOLDER` by supplying a filename that resolves into a sibling directory whose absolute path shares the log directory's string prefix.
Published: 2026-09-24
Score: 4.9 Medium
EPSS: < 1% Very Low
KEV: No
Impact: Unrestricted file disclosure via path traversal in Admin API log-download
Action: Patch Immediately
AI Analysis

Impact

An authenticated administrator can craft a request to the log‑download endpoint that causes the server to resolve a filename to a path outside the intended LOG_FOLDER. The vulnerability stems from a simple string prefix check rather than proper path normalization, allowing the administrator to read proprietary log files and configuration artifacts by specifying a name that resolves to a sibling directory. The consequence is the disclosure of potentially confidential operational data, though it does not grant code execution or data tampering.

Affected Systems

The issue affects IBM ContextForge MCP Gateway versions 1.0.0 through 1.0.8 inclusive. Versions released after 1.0.9 incorporate the fix and are recommended. No additional vendors or product families are listed in the CNA data.

Risk and Exploitability

The CVSS score of 4.9 indicates a moderate impact and the EPSS score is not reported. The vulnerability is not listed in the CISA KEV catalog, suggesting it is not widely exploited yet. Exploitability requires that the attacker gains administrator credentials or otherwise authenticates to the Admin API; once authenticated, the path traversal can be exercised. Because it operates within the log directory, exposure is limited to readable file types (.log, .jsonl, .json). The risk is primarily confidentiality damage rather than denial of service or privilege escalation.

Generated by OpenCVE AI on September 26, 2026 at 02:17 UTC.

Remediation

Vendor Solution

IBM strongly recommends addressing the vulnerability now. Product(s)Version(s) number and/or range Remediation/Fix/InstructionsIBM ContextForge MCP Gatewayv1.0.0 - v1.0.8Upgrade to version 1.0.9 or later. See release notes https://github.com/IBM/mcp-context-forge/releases/tag/v1.0.9


Vendor Workaround

None. IBM strongly recommends upgrading to the fixed version. As temporary mitigations until the update can be applied: 1. Disable the Admin API (`MCPGATEWAY_ADMIN_API_ENABLED=false`) if administrative endpoints are not required.


OpenCVE Recommended Actions

  • Upgrade to IBM ContextForge MCP Gateway version 1.0.9 or later
  • If a patch cannot be applied immediately, disable the Admin API by setting MCPGATEWAY_ADMIN_API_ENABLED=false to prevent the vulnerable endpoint from being reachable
  • Restrict network access to the administrative endpoints so that only trusted administrators can connect, reducing the window in which an attacker may exploit the path traversal

Generated by OpenCVE AI on September 26, 2026 at 02:17 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 29 Sep 2026 13: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

Sat, 26 Sep 2026 23:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Fri, 25 Sep 2026 11:00:00 +0000

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

Thu, 24 Sep 2026 14:45:00 +0000

Type Values Removed Values Added
Description IBM ContextForge MCP Gateway 1.0.0 through 1.0.8 was vulnerable to path traversal in its Admin API log-download endpoint (`GET /v1/admin/logs/file`). The path confinement check uses `str.startswith()` rather than proper boundary validation, allowing an authenticated admin to read `.log`, `.jsonl`, and `.json` files outside the configured `LOG_FOLDER` by supplying a filename that resolves into a sibling directory whose absolute path shares the log directory's string prefix.
Title IBM ContextForge MCP Gateway is affected by path traversal
First Time appeared Ibm
Ibm contextforge Mcp Gateway
Weaknesses CWE-22
CPEs cpe:2.3:a:ibm:contextforge_mcp_gateway:1.0.0:*:*:*:*:*:*:*
cpe:2.3:a:ibm:contextforge_mcp_gateway:1.0.8:*:*:*:*:*:*:*
Vendors & Products Ibm
Ibm contextforge Mcp Gateway
References
Metrics cvssV3_1

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


Subscriptions

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

Status: PUBLISHED

Assigner: ibm

Published:

Updated: 2026-09-26T22:51:20.182Z

Reserved: 2026-08-21T14:42:05.183Z

Link: CVE-2026-77825

cve-icon Vulnrichment

Updated: 2026-09-26T22:48:45.598Z

cve-icon NVD

Status : Analyzed

Published: 2026-09-24T15:17:38.560

Modified: 2026-09-29T13:26:00.887

Link: CVE-2026-77825

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-09-26T02:30:02Z

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')