CVE-2026-134362
Coder from 2.38.0 before 2.38.6 CSRF Bypass via Unanchored Exemption Patterns
Low · 2.3Fix available
- CVSS
- 2.3
- EPSS
- 0.13% (p1)
- Published
- 2026-11-21
- Age
- 8d old
- Modified
- 2026-11-25
- Product
- coder coder
- Aliases
- GHSA-jvgx-787p-cfmg
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
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.
Fixed in
2.29.26 · 2.34.18 · 2.37.0 · 2.37.10 · 2.38.6
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | coder | >=2.30.0, <2.34.18 | 2.34.18 |
| vendor | coder | >=2.35.0, <2.37.0 | 2.37.0 |
| vendor | coder | >=2.37.0, <2.37.10 | 2.37.10 |
| vendor | coder | >=2.38.0, <2.38.6 | 2.38.6 |
| vendor | coder | >=2.6.0, <2.29.26 | 2.29.26 |
Sources
- NVD · first seen 8d ago · NVD terms of use
- OSV · first seen 8d ago · CC-BY 4.0
- CVE List · first seen 8d ago · CVE Terms of Use
References
- https://github.com/coder/coder/security/advisories/GHSA-jvgx-787p-cfmg vendor-advisory
- https://www.vulncheck.com/advisories/coder-from-2.38.0-before-2.38.6-csrf-bypass-via-unanchored-exemption-patterns third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134362.json advisory
- https://nvd.nist.gov/vuln/detail/CVE-2026-134362 advisory