CVE-2026-77825
JSON

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 packageVersionsReported by
IBM ContextForge MCP Gatewayfrom 1.0.0 up to 1.0.8CVE List
ibm contextforgefrom 1.0.0 before 1.0.9NVD

Classification

CWE-22

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-77825 changed 2026-09-26CVE Terms of Use
NVDCVE-2026-77825 changed 2026-09-29Public domain