CVE-2026-77825 IBM ContextForge MCP Gateway is affected by path traversal
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.
Other vulnerabilities in IBM ContextForge MCP Gateway
- CVE-2026-78573 IBM ContextForge MCP Gateway is affected by use of default credentials
- CVE-2026-18486 IBM ContextForge MCP Gateway is affected by credential disclosure and privilege escalation via jq filter execution
- CVE-2026-77822 Server-side request forgery in ContextForge MCP Gateway
- CVE-2026-18905 IBM ContextForge MCP Gateway is affected by server-side request forgery via DNS TOCTOU at tool invocation
- CVE-2026-18489 IBM ContextForge Translate is affected by cross-client credential context confusion
Sources
Also known as GHSA-6xjp-r2qh-2fj7.