Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as Coder user with AI Gateway access
-
DeliveryCraft allowlisted-prefix path with %2e%2e or ..%2F
-
ExploitRequest matches passthrough route, forwarded upstream
-
ExecutionUpstream decodes/normalizes to endpoint outside allowlist
-
ImpactReach unintended provider APIs using deployment provider key
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires (1) AI Gateway (formerly AI Bridge, introduced in v2.28.0) to be explicitly enabled on the deployment, and (2) an authenticated Coder user who has access to that AI Gateway. The attacker crafts a request under an allowlisted passthrough prefix (e.g. /openai/v1/models/, /anthropic/v1/models/, /copilot/models/) with percent-encoded dot segments. Key limiting factors defenders should weigh: the provider key is never exposed to the client (only reachable endpoints change); impact is confined to whatever endpoints the configured upstream credential can access and does not affect non-AI-Gateway Coder resources; and in v2.33.0 and later, successful traversal additionally depends on whether the upstream provider or an intermediate proxy normalizes the decoded path, so it is not guaranteed. Authentication is required (CVSS PR:L), so this is an authenticated-only, feature-gated condition rather than default-exposed. |
| Impact | This is a genuinely low-priority issue by nearly every available signal, and the signals are consistent rather than conflicting. The vendor/VulnCheck CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N) yields a base score of only 2.3: network-reachable but requiring an authenticated Coder user with AI Gateway access (PR:L), high attack complexity and a present attack requirement (AC:H/AT:P) reflecting that successful exploitation depends on upstream-side behavior the attacker does not control, and limited confidentiality/integrity impact (VC:L/VI:L) with no availability impact. The vuln.today decision label is 'monitor', the lowest urgency tier, and there is no KEV listing and no EPSS score supplied. Exploitation status is best described as no public exploit identified at time of analysis - there is no KEV entry and no PoC flagged in the input; note, however, that the fix PR (#30178) publicly contains test cases enumerating the exact traversal payloads (%2e%2e/, %2E%2E/%2E%2E/admin, ..%2F..%2F, %252e%252e/), so the triggering strings are documented even though no standalone working exploit is referenced. The realistic risk ceiling is bounded: the centrally managed provider key is never disclosed to the client, Coder resources outside AI Gateway are unaffected, and in v2.33.0 and later exploitation further depends on whether the upstream provider or an intermediate proxy normalizes the decoded path. Net assessment: a real but low-severity authenticated authorization-boundary flaw, appropriately rated low - not a high-CVSS-but-low-real-risk mismatch, simply a low-risk issue across the board. Prioritize routine patching, not emergency response. |
| Exploit ScenarioDerived | An authenticated Coder user who has access to an enabled AI Gateway sends a request under an allowlisted passthrough prefix (for example /openai/v1/models/) containing percent-encoded dot segments such as %2e%2e or ..%2F. Because http.ServeMux only normalizes literal dot segments, the escaped path still matches the allowlisted route and is forwarded upstream, where decoding resolves it to a provider endpoint outside the intended base-URL prefix, and that request is authenticated with the deployment's centrally managed provider key. No standalone public exploit is identified, though the fix PR documents the exact payload strings; AC:H/AT:P reflect dependence on how the upstream (or an intermediate proxy) decodes and normalizes the path. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 04, 2026
Coder's AI Gateway (formerly AI Bridge) can be induced to forward percent-encoded dot segments to upstream model providers, letting an authenticated user with AI Gateway access reach provider endpoints outside the allowlisted passthrough prefixes while requests are signed with the deployment's centrally managed provider key. Exploitation requires AI Gateway to be enabled and an authenticated Coder user with access to it, and the CVSS:4.0 vector (2.3) plus the assessed CVSS:3.1 vector (AV:N/AC:H/PR:L/UI:N/S:C/C:L/I:L/A:N) reflect that this is an authenticated, feature-gated path traversal with limited confidentiality and integrity impact on the upstream provider boundary. The provider key itself is never disclosed and non-AI-Gateway Coder resources are unaffected; no public exploit code and no confirmed active exploitation were identified at time of analysis, and the vulnerability is patched in vendor releases v2.29.22, v2.34.13, v2.35.10, v2.36.8, v2.37.5 and v2.38.1.
RemediationAI
Vendor-released patch: upgrade to v2.38.1 (Mainline 2.38), v2.37.5 (Stable 2.37), v2.36.8 (Security Support 2.36), v2.35.10 (end-of-life 2.35, patched), v2.34.13 (ESR 2.34) or v2.29.22 (ESR 2.29) as appropriate for your release line, per https://github.com/coder/coder/security/advisories/GHSA-373r-678h-hjc6; deployments on the end-of-life 2.28 and 2.30 through 2.33 lines have no patch and must move to a supported line or apply the workarounds below. The vendor's documented workaround is to place a reverse proxy or WAF in front of Coder that rejects requests under /api/v2/aibridge/ and /api/v2/ai-gateway/ whose raw path, compared case-insensitively, contains %2e, %25, %5c, .%2f, or %2f. - but not %2f on its own, since model IDs such as org%2Fmodel legitimately use it; the trade-off is that over-broad blocking of %2f will break legitimate model passthrough requests. Alternatively, disable AI Gateway until you can upgrade, which removes the exposure entirely at the cost of the feature. After the fix, such requests are rejected with 400 'invalid request path' before any upstream call is made.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The root cause is CWE-22 (path traversal), with the advisory also classifying it as CWE-177 (improper handling of URL encoding) and CWE-441 (unintended proxy/intermediary). Go's http.ServeMux only cleans literal '.' and '..' segments in a request path, so a request such as /openai/v1/models/%2e%2e/%2e%2e/<endpoint> or /openai/v1/models/..%2F..%2F<endpoint> still matches an allowlisted passthrough prefix route (for example /models/, /anthropic/v1/models/, /copilot/models/), and the escaped path is then forwarded upstream where decoding and normalization resolve it outside the provider base-URL prefix the gateway is meant to expose. Behavior differs by release line: in v2.28 and v2.29 the literal '..' segments were forwarded; in v2.30 through v2.32 the gateway built the upstream path from the already-decoded request path and resolved the traversal itself; from v2.33.0 onward successful traversal additionally depends on whether the upstream provider or an intermediate proxy normalizes the decoded path, so it is not guaranteed there. The upstream request carries the deployment's centrally managed provider credential, which is why the flaw crosses the boundary between individual Coder users and the deployment-wide provider account; the fix (PR #30178) adds a routing middleware that decodes the escaped path once and rejects requests with 400 'invalid request path' when any segment is '.' or '..' (including segments separated by an escaped '/' or '\'), still contains '%' (multiple encoding), or contains control characters, while preserving escaped separators inside ordinary segments such as /models/org%2Fmodel.
Know when Coder gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N
Network-reachable but needs an authenticated gateway user (PR:L) and depends on uncontrolled upstream normalization (AC:H); scope changes as a user crosses into the deployment credential (S:C) with limited C/I and no availability impact.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
Coder 2.28.0 before 2.29.22, 2.30.0 before 2.34.13, 2.35.0 before 2.35.10, 2.36.0 before 2.36.8, 2.37.0 before 2.37.5, and 2.38.0 before 2.38.1 contains a path traversal vulnerability in the AI Gateway passthrough router, which forwards percent-encoded dot segments upstream without rejecting them. Authenticated users can send paths such as %2e%2e or ..%2F under allowlisted prefixes to reach unintended provider endpoints using the deployment's centrally managed provider key.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
Coder allows organizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.1), t
Coder allows organizations to provision remote development environments via Terraform. Prior to 2.26.5, 2.27.7, and 2.28
code-server is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerabili
Versions of the package code-server before 4.10.1 are vulnerable to Missing Origin Validation in WebSockets handshakes.
Coder deployments configured with AWS IAM database authentication (CODER_PG_AUTH=awsiamrds) can leak a short-lived Postg
Credential disclosure in Coder's web dashboard (CVSS 4.0 base 8.7, High) lets an authenticated low-privileged attacker w
Credential theft in Coder (before 2.29.20, 2.33.0 through 2.33.11, 2.34.0 through 2.34.7, and 2.35.0 through 2.35.3) let
Improper authorization in Coder's external agent credentials endpoint lets authenticated users who hold only workspace r
Session-token leakage in Coder's `coder open app` CLI command lets a malicious template author steal the credentials of
Authenticated Coder users who control a modified workspace agent can redirect the control plane's workspace-agent API re
Coder deployments that run workspace agents on Google Compute Engine with GCP instance-identity authentication accept re
Coder allows oragnizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.2), t
EUVD-2026-116967
GHSA-c6h5-pw77-hjcp
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB