Vulnerability Details CVE-2026-77825
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.003
EPSS Ranking 22.4%
CVSS Severity
CVSS v3 Score 4.9
Products affected by CVE-2026-77825
-
cpe:2.3:a:ibm:contextforge:1.0.0
-
cpe:2.3:a:ibm:contextforge:1.0.1
-
cpe:2.3:a:ibm:contextforge:1.0.2
-
cpe:2.3:a:ibm:contextforge:1.0.3
-
cpe:2.3:a:ibm:contextforge:1.0.4
-
cpe:2.3:a:ibm:contextforge:1.0.5
-
cpe:2.3:a:ibm:contextforge:1.0.6
-
cpe:2.3:a:ibm:contextforge:1.0.7
-
cpe:2.3:a:ibm:contextforge:1.0.8