Read the docs

CSRF bypass in Coder through unanchored exemption patterns

Priority LOW 11CWE-352Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Passive
Attack complexity
High
Attack requirements
Present
Impact type
Tampering
Confidentiality · integrity · availability
None · Low · Low
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-352.

Summary

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 is affected. CSRF exemption patterns are matched as unanchored regular expressions, so some API routes skip CSRF token and same-origin checks (CWE-352). An attacker who controls a page on the same site as 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.

Written with Claude Haiku 5.5 from the sources below · 2026-11-21

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00126 1st percentileScored 2026-11-30
Fix Fixed coder (coder): 2.38.6, 2.37.10, 2.34.18 +2

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
codercoder2.38.0 to before 2.38.62.38.6Patch availableCNA
codercoder2.37.0 to before 2.37.102.37.10Patch availableCNA
codercoder2.30.0 to before 2.34.182.34.18Patch availableCNA
codercoder2.6.0 to before 2.29.262.29.26Patch availableCNA
codercoder2.35.0 to before 2.37.02.37.0Patch availableCNA
  • coder Vendorcoder Affected 2.38.0 to before 2.38.6 Fixed in 2.38.6 Patch available CNA
  • coder Vendorcoder Affected 2.37.0 to before 2.37.10 Fixed in 2.37.10 Patch available CNA
  • coder Vendorcoder Affected 2.30.0 to before 2.34.18 Fixed in 2.34.18 Patch available CNA
  • coder Vendorcoder Affected 2.6.0 to before 2.29.26 Fixed in 2.29.26 Patch available CNA
  • coder Vendorcoder Affected 2.35.0 to before 2.37.0 Fixed in 2.37.0 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*——coder
  • cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:* Versions — — ·coder

Remediation

Fixed versions are Coder 2.38.6, 2.37.10, 2.37.0, 2.34.18, and 2.29.26. The sources list no advisory identifier for these fixes.

Written with Claude Haiku 5.5 from the sources below · 2026-11-21

  • Fix · CNA coder (coder) Fixed in 2.38.6
  • Fix · CNA coder (coder) Fixed in 2.37.10
  • Fix · CNA coder (coder) Fixed in 2.34.18
  • Fix · CNA coder (coder) Fixed in 2.29.26
  • Fix · CNA coder (coder) Fixed in 2.37.0

Timeline

  1. 2026-11-21 Threatist record created from CVE-2026-134362
  2. 2026-11-21 Alias added: GHSA-7c5g-8j62-4pg8
  3. 2026-11-25 CISA SSVC decision points changed

References

  • TI-2025-37344 AgentAPI exposed user chat history via a DNS rebinding attack CVSS 3.1MEDIUM 6.5
  • TI-2026-34071 Coder: PKCS#7 signature bypass in Azure instance identity allows unauthenticated agent token theft CVSS 3.1CRITICAL 9.1
  • TI-2026-32394 Coder vulnerable to workspace auto-creation via crafted URL parameters without user consent CVSS 3.1HIGH 8.8
  • TI-2026-27585 Code Extension Marketplace has a Zip Slip Path Traversal CVSS 4.0HIGH 8.7
  • TI-2024-18523 Coder's OIDC authentication allows email with partially matching domain to register CVSS 3.1HIGH 8.2
  • TI-2023-11339 Origin validation error in code-server CVSS 3.1CRITICAL 9.3
See all 54 →

Sources