CVE-2026-77825IBM ContextForge MCP Gateway is affected by path traversal
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.
Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.
Affected products and versions
| Vendor | Product | Versions | |
|---|---|---|---|
| ibm | contextforge | 1.0.0 – < 1.0.9 | |
| IBM | ContextForge MCP Gateway | 1.0.0 – ≤ 1.0.8 |
References and patches
- https://www.ibm.com/support/pages/node/7289314 vendor-advisorypatchPatchVendor Advisory
CPE matches (NVD) (1)
cpe:2.3:a:ibm:contextforge:*:*:*:*:*:python:*:*≥ 1.0.0 < 1.0.9