CVE-2026-77825

IBM ContextForge MCP Gateway is affected by path traversal

Published Sep 24, 2026 CVSS 3.1 · 4.9 Medium EPSS < 1% KEV · Not listed
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.

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.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Ibm contextforge
CPEs cpe:2.3:a:ibm:contextforge:*:*:*:*:*:python:*:*
Vendors & Products Ibm contextforge
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Ibm contextforge-mcp-gateway
Vendors & Products Ibm contextforge-mcp-gateway
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'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
ibm
Published
Updated
Sep 26, 2026, 10:51 PM
Reserved
Aug 21, 2026, 2:42 PM
Status
Analyzed
Published
Sep 24, 2026, 3:17 PM
Modified
Sep 29, 2026, 1:26 PM