Description
Coder allows organizations to provision remote development environments via Terraform. In versions 2.22.0 through 2.24.3, 2.25.0 and 2.25.1, Coder can be compromised through insecure session handling in prebuilt workspaces. Coder automatically generates a session token for a user when a workspace is started. It is automatically exposed via coder_workspace_owner.session_token. Prebuilt workspaces are initially owned by a built-in prebuilds system user. When a prebuilt workspace is claimed, a new session token is generated for the user that claimed the workspace, but the previous session token for the prebuilds user was not expired. Any Coder workspace templates that persist this automatically generated session token are potentially impacted. This is fixed in versions 2.24.4 and 2.25.2.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| coder | coder | >= 2.22.0, < 2.24.4, >= 2.25.0, < 2.25.2 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | govulncheck-vulndb | 0.0.20250918T182144-150000.1.107.1 | SUSE-SU-2025:03289-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | govulncheck-vulndb | 0.0.20250917T170349-1.1 | openSUSE-SU-2025:15564-1 |
| openSUSE Leap 16.0 | govulncheck-vulndb | 0.0.20260723T184607-160000.1.1 | openSUSE-SU-2026:21483-1 |
| openSUSE Leap 15.6 | govulncheck-vulndb | 0.0.20250918T182144-150000.1.107.1 | SUSE-SU-2025:03289-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/coder/coder | all versions | — | GO-2025-3938 |
| Go | github.com/coder/coder/v2 | >= 2.22.0, < 2.24.4 | 2.24.4 | GHSA-j6xf-jwrj-v5qp |
| Go | github.com/coder/coder/v2 | >= 2.25.0, < 2.25.2 | 2.25.2 | GHSA-j6xf-jwrj-v5qp |
| Go | github.com/coder/coder/v2 | >= 2.22.0, < 2.24.4 · >= 2.25.0, < 2.25.2 | 2.24.4, 2.25.2 | GO-2025-3938 |
Advisories 3
- openSUSE-SU-2026:21483-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Jul 31, 2026
- openSUSE-SU-2025:15564-1 govulncheck-vulndb-0.0.20250917T170349-1.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03289-1 Security update for govulncheck-vulndb SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/coder/coder/security/advisories/GHSA-j6xf-jwrj-v5qp
- https://github.com/coder/coder/pull/19667
- https://github.com/coder/coder/pull/19668
- https://github.com/coder/coder/pull/19669
- https://github.com/coder/coder/commit/06cbb2890f453cd522bb2158a6549afa3419c276
- https://github.com/coder/coder/commit/20d67d7d7191a4fd5d36a61c6fc1e23ab59befc0
- https://github.com/coder/coder/commit/ec660907faa0b0eae20fa2ba58ce1733f5f4b35a