CVE Catalog

CVE-2026-77825

MediumCVSS 4.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.32%

22th percentile - higher than 22% of all known CVEs

Summary

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.

Risk Assessment

An authenticated admin can read files outside the log directory if their absolute path shares a string prefix with the log directory. This may lead to disclosure of sensitive data from the filesystem.

Recommendation

Upgrade IBM ContextForge MCP Gateway to a version later than 1.0.8 when available. Restrict administrative account privileges and review access to the log-download endpoint.

Other vulnerabilities in IBM ContextForge MCP Gateway

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS