CVE-2026-77825
4.9medium
IBM ContextForge MCP Gateway is affected by path traversal
- Severity
- 4.9medium CVSS:3.1 by ibm
- Exploit likelihood
- 0.32% (higher than 26% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- ibm
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
| Product or package | Versions | Reported by |
|---|---|---|
| IBM ContextForge MCP Gateway | from 1.0.0 up to 1.0.8 | CVE List |
| ibm contextforge | from 1.0.0 before 1.0.9 | NVD |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.
References
| https://www.ibm.com/support/pages/node/7289314 | patch, vendor-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-77825 changed 2026-09-26 | CVE Terms of Use |
| NVD | CVE-2026-77825 changed 2026-09-29 | Public domain |