CVE-2026-77825: IBM ContextForge MCP Gateway - Path Traversal
- Cve: CVE-2026-77825
- Name: IBM ContextForge MCP Gateway - Path Traversal
- 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.
- Impact: Authenticated admins can read arbitrary log files outside the intended directory, potentially exposing sensitive information.
- Remediation: Upgrade to a version later than 1.0.8 or apply patches that fix path confinement validation.
- Vulnerability type: path_traversal
- Vulnerability impact: file_system_read, information_disclosure
- Requirement type: logged_in
- Requirements: Attacker must be an authenticated admin
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 4.9
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- Epss score: 0.00316
- Epss percentile: 0.25008
- Assignee: [email protected]
- Published at: 2026-09-24T15:17:38Z
- Age in days: 61
- Modified at: 2026-09-29T13:26:00Z
- Patch available: yes
- References total: 1
- Products total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-77825
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-22 | Improper Limitation of a Pathname to a Restricted Directory |
References
| Url | Source | Tags |
|---|---|---|
| https://www.ibm.com/support/pages/node/7289314 | nvd | Patch, Vendor Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| ibm:contextforge | >= 1.0.0, < 1.0.9 | no | nvd | /v1/products/ibm/contextforge |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Authentication required: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts