Vulnerability  ·  2026-11-06

Coder AI Gateway passthrough router path traversal reaches unintended provider endpoints with central provider key

VulnerabilityMedium impactGlobalCVE-2026-121967
The AI Gateway passthrough router does not reject percent-encoded traversal segments, allowing an authenticated user to escape the allowlisted prefix and reach arbitrary provider endpoints. Because the gateway authenticates with the centrally managed provider key, the request consumes/queries on behalf of the deployment's shared AI credential.
Coder exposes an AI Gateway that brokers access to LLM providers for workspace users using a single shared provider key. A traversal here lets an authenticated user access provider endpoints outside the allowed AI surface, risking cost/usage abuse, cross-tenant access to provider-scoped resources, or triggering unintended model operations under the enterprise's key.
An authenticated user sends percent-encoded dot segments (e.g. %2e%2e, ..%2F) under an allowlisted prefix through the AI Gateway passthrough router. Coder forwards them upstream without rejecting, so the request reaches unintended provider endpoints using the deployment's centrally managed provider API key.
Coder 2.28.0 < 2.29.22; 2.30.0 < 2.34.13; 2.35.0 < 2.35.10; 2.36.0 < 2.36.8; 2.37.0 < 2.37.5; 2.38.0 < 2.38.1
Upgrade to the patched Coder release for your line (>=2.29.22, >=2.34.13, >=2.35.10, >=2.36.8, >=2.37.5, or >=2.38.1); see GHSA-373r-678h-hjc6 and PR #30178.
NVD CVE-2026-121967GitHub Advisory GHSA-373r-678h-hjc6Coder PR #30178
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →