一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月25日

CVE-2026-77825 [MEDIUM] – IBM ContextForge MCP Gateway 1.0.0 through 1.0.8 was vulnerable to path traversal in its A

未分类
📑 文章目录

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.