Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
Medium 4.2CVE-2026-134362

Coder from 2.38.0 before 2.38.6 CSRF Bypass via Unanchored Exemption Patterns

Published 21/11/2026 · Updated 25/11/2026 · coder

Description

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.

Affected products and versions

coder coder2.38.0 – < 2.38.6Fixed in: 2.38.6
coder coder2.37.0 – < 2.37.10Fixed in: 2.37.10
coder coder2.30.0 – < 2.34.18Fixed in: 2.34.18
coder coder2.6.0 – < 2.29.26Fixed in: 2.29.26
coder coder2.35.0 – < 2.37.0Fixed in: 2.37.0

CVSS vector, explained

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:L

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
None (no login)
User interaction
Required
Scope
Vulnerable component only
Confidentiality
None
Integrity
Low impact
Availability
Low impact

Weakness type (CWE)

  • CWE-352 Cross-Site Request Forgery (CSRF)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.