CVE-2026-77825 IBM ContextForge MCP Gateway is affected by path traversal

Medium 4.9 Published Updated

An authenticated admin can read arbitrary log and JSON files outside the configured directory via path traversal in the log-download endpoint.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-77825?

CVE-2026-77825 is a medium-severity path traversal vulnerability in IBM ContextForge MCP Gateway, published on 24 Sep 2026. An attacker needs administrator access to exploit it, with no action from the victim.

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

Weakness: CWE-22

Which versions are affected by CVE-2026-77825?

It affects 1 product.

Products include Ibm Contextforge.

How do I fix CVE-2026-77825?

No fix has been published for CVE-2026-77825 yet. Limit exposure of the affected software until one is available.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2026-77825 being exploited?

There is no known exploitation of CVE-2026-77825 in the wild and no public exploit code.

Sources

Also known as GHSA-6xjp-r2qh-2fj7.

Is CVE-2026-77825 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free