Skip to main content

Coder CVE-2026-134362

| EUVDEUVD-2026-132284 LOW
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-11-21 VulnCheck GHSA-7c5g-8j62-4pg8
2.3
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure signed-in user to same-site page
  2. Delivery
    Deliver malicious workspace app or shared port
  3. Exploit
    Forged POST matches unanchored CSRF exemption
  4. Execution
    Request skips CSRF and same-origin checks
  5. Impact
    Recreate dev container or add derp user

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires ALL of the following: (1) the attacker controls a page served same-site with the Coder deployment - e.g. a workspace app or a shared port on the wildcard access URL; (2) the victim is already signed in to Coder and loads that page (UI:P); and (3) the forged request is a simple POST to a route whose path contains an unanchored exemption pattern such as 'api/v2/workspaceagents' or the substring 'derp' (per coderd/httpmw/csrf.go). Specific limiting factors: requests needing a CORS preflight (PUT, DELETE) are blocked in every configuration because Coder never allows credentialed cross-origin requests with those methods, so user roles cannot be changed; the privileged outcome (adding a derp-named user to an org) requires the victim to be an Owner or User Admin. The default deployment setting --samesite-auth-cookie lax confines the attack to same-site pages; deployments started with --samesite-auth-cookie none can be attacked from any website. Affected versions: 2.6.0-<2.29.26, 2.30.0-<2.34.18, 2.35.0-<2.37.10, 2.38.0-<2.38.6. Fixed in 2.29.26, 2.34.18, 2.37.10, 2.38.6, and mainline 2.39.0; release lines 2.30-2.33, 2.35 and 2.36 are end-of-life and will not be patched (upgrade to a patched release). Workaround per vendor: keep the default --samesite-auth-cookie lax and avoid opening untrusted workspace apps or shared ports while signed in.

Impact

This is a genuinely low-priority issue, and the signals agree. The input CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L) yields a base score of 2.3 (Low), and vuln.today assigns the 'monitor' decision label. There is no KEV listing (not confirmed actively exploited) and no EPSS score was provided, so widespread-exploitation probability cannot be quantified from the data given; the absence of EPSS is a data gap, not evidence of low likelihood. No public exploit identified at time of analysis - the references are a GHSA advisory and the fix PR, not working exploit code. The high attack complexity (AC:H) and present attack requirement (AT:P) are well supported by the advisory: the attacker must control a page that is same-site with the Coder deployment (e.g. a workspace app or shared port on the wildcard access URL) AND the victim must be signed in and load that page (UI:P). Impact is bounded - only credential-less POST routes are reachable (PUT/DELETE are blocked by CORS preflight in every configuration), roles cannot be changed, and the worst outcomes are dev-container recreation (local data loss for data not on mounted volumes) and, only if the victim is an Owner or User Admin, adding a user whose name contains 'derp' to an organization. These limited integrity/availability effects justify VI:L/VA:L and VC:N. Net: a real but low-severity same-site CSRF, appropriately rated 'monitor' rather than an emergency.

Exploit ScenarioDerived

An attacker hosts or compromises a page served same-site with the Coder deployment - such as a workspace app or a shared port on the wildcard access URL - and lures a signed-in Coder user to open it. The page auto-submits a forged POST that matches an unanchored CSRF exemption, recreating the victim's dev container (destroying non-mounted data) or, if the victim is an Owner/User Admin, adding a 'derp'-named user to an organization. No public exploit code is identified; exploitation requires the victim to be authenticated and to load the attacker's same-site page.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 21, 2026

Cross-site request forgery in Coder's coderd middleware allows a same-site attacker-controlled page to make a signed-in user's browser send forged POST requests to API routes whose paths match unanchored CSRF exemption patterns. Affected deployments include Coder 2.6.0 before 2.29.26, 2.30.0 before 2.34.18, 2.35.0 before 2.37.10, and 2.38.0 before 2.38.6; successful exploitation can recreate a user's dev container or, when the victim is an Owner or User Admin, add a user whose name contains 'derp' to an organization. The issue is low severity, requires victim interaction and a same-site page under the default SameSite=Lax setting, is blocked for PUT/DELETE by CORS preflight, and no public exploit was identified at time of analysis.

RemediationAI

Vendor-released patches are available in Coder 2.29.26, 2.34.18, 2.37.10, 2.38.6, and 2.39.0; upgrade to the fixed release for your line. Deployments on end-of-life lines 2.30 through 2.33, 2.35, and 2.36 will not receive a direct patch and should upgrade to a patched release. Per the vendor, keep the default --samesite-auth-cookie lax and avoid opening untrusted workspace apps or shared ports while signed in to Coder. The fix anchors the CSRF exemption patterns in coderd/httpmw/csrf.go (PR https://github.com/coder/coder/pull/31125); advisory: https://github.com/coder/coder/security/advisories/GHSA-jvgx-787p-cfmg and https://www.vulncheck.com/advisories/coder-from-2.38.0-before-2.38.6-csrf-bypass-via-unanchored-exemption-patterns.

Affected VersionsENISA

coder 2.35.0 <2.37.0
coder 2.37.0 <2.37.10
coder 2.6.0 <2.29.26
coder 2.38.0 <2.38.6
coder 2.30.0 <2.34.18

Affected Packages

euvd coder fix: 2.29.26, 2.34.18, 2.37.0, 2.37.10, 2.38.6

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

Coder's coderd HTTP middleware implements CSRF protection by exempting routes used by agents, workspace proxies, and other non-browser clients from CSRF token and same-origin checks. In coderd/httpmw/csrf.go the exemptions were written with shell-style wildcards such as derp/* and api/v2/workspaceagents/* but were compiled as unanchored regular expressions. Consequently, any request path containing the substring derp or api/v2/workspaceagents was treated as exempt, including routes the dashboard calls with a session cookie (for example workspaceagent routes used to recreate or delete a dev container) and user or organization member routes for names containing derp. The advisory maps this to CWE-352 (cross-site request forgery) and CWE-625 (permissive regular expression). The patch anchors each exemption so it matches only its intended route, and user-callable session-cookie routes are no longer exempt. Default SameSite=Lax confines forged requests to same-site pages, while --samesite-auth-cookie none permits any website; CORS preflight blocks PUT and DELETE, so only simple POST requests are relevant.

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

Vendor (VulnCheck) PRIMARY 2.3 LOW
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.2 MEDIUM

AV:N (browser-delivered) but AC:H because a same-site attacker page is required, UI:R since the victim must load it; C:N, with I:L/A:L for container recreation and derp-user addition.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:L/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

1
Patch available
Nov 21, 2026 - 18:02 EUVD

DescriptionCVE.org

Coder 2.6.0 before 2.29.26, 2.30.0 before 2.34.18, 2.35.0 before 2.37.10, and 2.38.0 before 2.38.6 contains a cross-site request forgery vulnerability because CSRF exemption patterns in coderd/httpmw/csrf.go are matched as unanchored regular expressions, letting affected API routes skip CSRF token and same-origin checks. Attackers controlling a page same-site with the deployment can make signed-in users' browsers send forged POST requests that recreate dev containers or add users whose names contain derp to organizations.

Threat Intelligence Overview

EPSS Score
0.1%
Top 99% exploitable
Prevalence
Low
niche self-hosted developer cloud-environment platform, limited enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Low

Priority Score

12
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +12
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

More in Coder

View all
CVE-2025-58437 HIGH POC
8.1 Sep 06

Coder allows organizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.1), t

CVE-2025-66411 HIGH POC
7.8 Dec 03

Coder allows organizations to provision remote development environments via Terraform. Prior to 2.26.5, 2.27.7, and 2.28

CVE-2021-3810 HIGH POC
7.5 Sep 17

code-server is vulnerable to Inefficient Regular Expression Complexity. Rated high severity (CVSS 7.5), this vulnerabili

CVE-2023-26114 CRITICAL
9.3 Mar 23

Versions of the package code-server before 4.10.1 are vulnerable to Missing Origin Validation in WebSockets handshakes.

CVE-2026-137547 CRITICAL
9.2 Nov 26

Coder deployments configured with AWS IAM database authentication (CODER_PG_AUTH=awsiamrds) can leak a short-lived Postg

CVE-2026-126308 HIGH
8.7 Nov 13

Credential disclosure in Coder's web dashboard (CVSS 4.0 base 8.7, High) lets an authenticated low-privileged attacker w

CVE-2026-111927 HIGH
8.7 Oct 17

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

CVE-2026-126403 HIGH
8.5 Nov 13

Improper authorization in Coder's external agent credentials endpoint lets authenticated users who hold only workspace r

CVE-2026-137546 HIGH
8.4 Nov 26

Session-token leakage in Coder's `coder open app` CLI command lets a malicious template author steal the credentials of

CVE-2026-63443 HIGH
8.3 Sep 15

Authenticated Coder users who control a modified workspace agent can redirect the control plane's workspace-agent API re

CVE-2026-118687 HIGH
8.3 Oct 28

Coder deployments that run workspace agents on Google Compute Engine with GCP instance-identity authentication accept re

CVE-2024-27918 HIGH
8.2 Mar 21

Coder allows oragnizations to provision remote development environments via Terraform. Rated high severity (CVSS 8.2), t

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy