What’s Vulnerable › Vulnerabilities
CVE-2026-77825: IBM ContextForge MCP Gateway is affected by path traversal
- Severity: medium (CVSS 4.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-24 · updated 2026-09-29
- Weakness: CWE-22
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.
Affected products
- IBM ContextForge MCP Gateway: from 1.0.0 before 1.0.9 — fixed in 1.0.9
How to fix
Upgrade to a fixed version: IBM ContextForge MCP Gateway 1.0.9. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-77825 or the next vulnerability affects your stack