cvelo
P3 · MediumCVSS 4.2

Coder from 2.38.0 before 2.38.6 CSRF Bypass via Unanchored Exemption Patterns

  • CVE-2026-134362
  • GHSA-7c5g-8j62-4pg8
  • EUVD-2026-132284

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.

Text from the CVE.org record.

Affected

  • coder

    • from 2.38.0 to before 2.38.6
    • 2.38.6: not affected
    • from 2.37.0 to before 2.37.10
    • 2.37.10: not affected
    • from 2.30.0 to before 2.34.18
    • 2.34.18: not affected
    • from 2.6.0 to before 2.29.26
    • 2.29.26: not affected
    • and 1 more

Product versions from the CVE.org record.

Timeline

  1. Published

Related news

No article from the followed outlets names this vulnerability.