Description
Metorial Platform through commit 1b5ff9b contains an egress policy bypass vulnerability in the MCP runtime OAuth client that fails to enforce tenant allowlists on token refresh and redirects. Attackers controlling an OAuth discovery document or allowlisted token endpoint can use 307/308 redirects or rewritten token endpoints to exfiltrate refresh tokens, authorization codes, and client secrets.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Metorial metorial-platform
Default version status: unaffected
7d5d36094420e87865070aacbe6c19a36207b7d8 to ≤ 1b5ff9b0b73fdb10fe8a85965556047197b99e1baffected
pkg:github/metorial/metorial-platformReferences
- https://github.com/Teycir/memorial-cve ↗
- https://github.com/metorial/metorial-platform/blob/981990d00bc1cdd249825a50760da1c4df65ae92/src/products/integrations/services/mcp-runtime/packages/oauth-utils/src/oauthUtils.ts#L209-L271 ↗
- https://github.com/metorial/metorial-platform/blob/981990d00bc1cdd249825a50760da1c4df65ae92/src/products/integrations/services/mcp-runtime/packages/oauth-utils/src/oauthUtils.ts#L162-L172 ↗
- https://github.com/metorial/metorial-platform ↗
- https://www.vulncheck.com/advisories/metorial-platform-through-commit-1b5ff9b-egress-policy-bypass-via-oauth-token-refresh ↗