PT-2026-97837 · Ibm · Mcp-Contextforge-Gateway
CVE-2026-77825
·
Published
2026-09-24
·
Updated
2026-09-26
CVSS v3.1
4.9
Medium
| Vector | AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
IBM ContextForge MCP Gateway versions 1.0.0 through 1.0.8
Description
An authenticated administrator can perform path traversal via the Admin API log-download endpoint
GET /v1/admin/logs/file. The issue occurs because the path confinement check utilizes str.startswith() instead of proper boundary validation. This allows the retrieval of .log, .jsonl, and .json files located outside the configured LOG FOLDER by providing a filename that resolves to a sibling directory sharing the same string prefix as the log directory.Recommendations
Update IBM ContextForge MCP Gateway to a version later than 1.0.8.
Restrict access to the
GET /v1/admin/logs/file endpoint to minimize the risk of unauthorized file access.Fix
Path traversal
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Mcp-Contextforge-Gateway