CVE-2026-134362
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 …
Impact
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.
An attacker can exploit this over the network, without logging in, but a user has to do something, such as open a file or a link. Specific conditions have to be met, which makes an attack harder. If it succeeds: low risk of data or systems being changed, low risk of outages.
Affected products · Coder
| Product | Affected versions |
|---|---|
| Coder | from 2.38.0 before 2.38.6 from 2.37.0 before 2.37.10 from 2.30.0 before 2.34.18 from 2.6.0 before 2.29.26 from 2.35.0 before 2.37.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- 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
- https://github.com/advisories/GHSA-7c5g-8j62-4pg8
- https://nvd.nist.gov/vuln/detail/CVE-2026-134362