p PatchFirst

CVE-2026-134362

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

CVSS 2.3 · Low · EPSS 0.1% · Fix available

Compare with your installed version

Affected products and known fixed versions are public information. Compare them with your installed version.

Assess your server’s risks

The free check gives you a rating and a risk summary by technology stack, without signing up. It does not answer whether this particular vulnerability affects you.

Monitoring matches public information against your servers’ software. Detailed findings for your servers include the order of updates.

curl -fsSL https://patchfirst.dev/check.sh | sh
Check your server for free →

Channels carry general technology news; monitoring reports new findings on your servers in your dashboard, through browser notifications, in Telegram or via a webhook.

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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.

Published
Updated

Affected products and versions

  • coder

    Versions
    • ≥ 2.38.0, < 2.38.6: Affected (semver)
    • 2.38.6: Not affected (semver)

    Update to 2.38.6

  • coder

    Versions
    • ≥ 2.37.0, < 2.37.10: Affected (semver)
    • 2.37.10: Not affected (semver)

    Update to 2.37.10

  • coder

    Versions
    • ≥ 2.30.0, < 2.34.18: Affected (semver)
    • 2.34.18: Not affected (semver)

    Update to 2.34.18

  • coder

    Versions
    • ≥ 2.6.0, < 2.29.26: Affected (semver)
    • 2.29.26: Not affected (semver)

    Update to 2.29.26

  • coder

    Versions
    • ≥ 2.35.0, < 2.37.0: Affected (semver)

    Update to 2.37.0

Original sources

Check your server →