---
id: CVE-2026-77825
title: >-
  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`)
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
  validati…
severity: medium
cvss: 4.9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N'
cwe:
  - CWE-22
vendor: IBM
product: ContextForge MCP Gateway
affected:
  - contextforge_mcp_gateway >= 1.0.0 <= 1.0.8
published: '2026-09-24'
updated: '2026-09-24'
sourceUpdated: '2026-09-24T19:41:16.513'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-77825'
references:
  - url: 'https://www.ibm.com/support/pages/node/7289314'
    label: psirt@us.ibm.com
tags:
  - nvd
  - cve.org
ingestedAt: '2026-09-24T15:45:56.645Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
