CVE-2026-134362 Coder from 2.38.0 before 2.38.6 CSRF Bypass via Unanchored Exemption Patterns

Published Updated

Attackers controlling a same-site page can make signed-in Coder users send forged requests to recreate dev containers or add users to organizations.

CVSS score

Low

2.3/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
Available
2.38.6, 2.37.10, 2.37.0 +1
Attack path
Over the internet
No login, a user must click or open something

What is CVE-2026-134362?

CVE-2026-134362 is a low-severity cross-site request forgery vulnerability in coder, published on 21 Nov 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-352

How severe is CVE-2026-134362?

CVE-2026-134362 scores 2.3 out of 10 under CVSS 4.0, which is low severity. It was scored by VulnCheck.

Attack vector
Network
Attack complexity
High
Attack requirements
Present
Privileges required
None
User interaction
Passive
Confidentiality
None
Integrity
Low
Availability
Low

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

Which versions are affected by CVE-2026-134362?

5 open source packages ship an affected version, including github.com/coder/coder/v2.

An affected version is exposed as installed. No special setting or call is needed.

PackageAffectedFixed in
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.30.02.34.18
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.35.02.37.0
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.37.02.37.10
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.38.02.38.6
github.com/coder/coder/v2 Go
pkg:golang/github.com/coder/coder/v2
From 2.6.02.29.26

How do I fix CVE-2026-134362?

Upgrade github.com/coder/coder/v2 to a fixed version for your release line: 2.38.6, 2.37.10, 2.37.0 or 2.34.18.

Upgrade, and require an anti-forgery token on every request that changes something. More about Cross-site request forgery.

Is CVE-2026-134362 being exploited?

There is no known exploitation of CVE-2026-134362 in the wild and no public exploit code.

Sources

Also known as GHSA-7c5g-8j62-4pg8, GHSA-jvgx-787p-cfmg.

Is CVE-2026-134362 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free