---
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
affected:
  - 'contextforge >= 1.0.0, < 1.0.9'
patched:
  - contextforge 1.0.9
published: '2026-09-24'
updated: '2026-09-29'
sourceUpdated: '2026-09-29T13:26:00.887'
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
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-26T22:40:15.788728Z'
ingestedAt: '2026-09-24T15:45:56.645Z'
epss: 0.00316
epssPercentile: 0.2442
---

## 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.

## Affected

- `contextforge >= 1.0.0, < 1.0.9`

## Remediation

Upgrade past the affected range:

- `contextforge 1.0.9`
