CVE-2026-134362Coder from 2.38.0 before 2.38.6 CSRF Bypass via Unanchored Exemption Patterns
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.
What to do
None of the Linux distributions or Windows releases we track list an affected package for this CVE. Check the vendor-reported products below.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
What the vendor says
As published in the CVE record by VulnCheck, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- coder: affected: 2.38.0 to before 2.38.6, 2.38.6 not affected; fixed in
2.38.6 - coder: affected: 2.37.0 to before 2.37.10, 2.37.10 not affected; fixed in
2.37.10 - coder: affected: 2.30.0 to before 2.34.18, 2.34.18 not affected; fixed in
2.34.18 - coder: affected: 2.6.0 to before 2.29.26, 2.29.26 not affected; fixed in
2.29.26 - coder: affected: 2.35.0 to before 2.37.0; fixed in
2.37.0
Vendor advisories:
- https://github.com/coder/coder/security/advisories/GHSA-jvgx-787p-cfmg (vendor-advisory)
References
- https://github.com/coder/coder/security/advisories/GHSA-jvgx-787p-cfmg
- https://www.vulncheck.com/advisories/coder-from-2.38.0-before-2.38.6-csrf-bypass-via-unanchored-exemption-patterns
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.