Skip to content
MediumVulnerability

CVE-2026-77825: IBM ContextForge MCP Gateway path traversal in Admin API log-download endpoint

Identifier
CVE-2026-77825
Published
Record updated
View JSON
Fixed in
The source references a patch, a mitigation or a vendor advisory.
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

IBM ContextForge MCP Gateway versions 1.0.0 through 1.0.8 contain a path traversal flaw in the Admin API log-download endpoint, `GET /v1/admin/logs/file`. The path confinement check uses `str.startswith()` instead of proper boundary validation, so an authenticated admin can 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.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.