All vulnerabilities

Go

CVE-2026-134362

Coder from 2.38.0 before 2.38.6 CSRF Bypass via Unanchored Exemption Patterns

Severity
Low 2.3
Published
21 Nov 2026
Last changed
21 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.29.26, 2.34.18, 2.37.0, 2.37.10, 2.38.6
Exploit chance
under 0.1% in the next 30 daysEPSS by FIRST, 24 Nov 2026
Weakness
Cross-site request forgery (CWE-352)
Attack
Over the network · Only under certain conditions · No login needed · Needs someone to view a page or file
Attacker can
Change some data · Slow it down
CVSS vector
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
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
github.com/coder/coder/v2Go · osv:Go:github.com/coder/coder/v2
  • From 2.6.0 before 2.29.26
  • From 2.30.0 before 2.34.18
  • From 2.35.0 before 2.37.0
  • From 2.37.0 before 2.37.10
  • From 2.38.0 before 2.38.6

About github.com/coder/coder/v2

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-134362