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

- Severity: Medium 4.9 (CVSS:3.1, scored by ibm) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.32%, higher than 26% of CVEs (2026-12-01)
- Published: 2026-09-24T14:21:18.507Z
- Modified: 2026-09-29T13:26:00.887Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: ibm

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

(As written by CVE List.)

## Affected

- IBM ContextForge MCP Gateway: from 1.0.0 up to 1.0.8
- ibm contextforge: from 1.0.0 before 1.0.9

## References

- <https://www.ibm.com/support/pages/node/7289314> (patch, vendor-advisory)

## Sources

- CVE List: [CVE-2026-77825](https://www.cve.org/CVERecord?id=CVE-2026-77825), CVE Terms of Use, modified 2026-09-26
- NVD: [CVE-2026-77825](https://nvd.nist.gov/vuln/detail/CVE-2026-77825), Public domain, modified 2026-09-29

---

Page: https://cve.day/CVE-2026-77825 · Whole record: https://cve.day/CVE-2026-77825.json · Rebuilt by cve.day 2026-11-25T22:59:40.765Z
