HIGH8.1
GO-2025-3938
Coder vulnerable to privilege escalation could lead to a cross workspace compromise in github.com/coder/coder
Quick fix
GO-2025-3938 — github.com/coder/coder/v2: upgrade to the fixed version with the command below.
go get github.com/coder/coder/v2@v2.24.4Details
Coder vulnerable to privilege escalation could lead to a cross workspace compromise in github.com/coder/coder
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/coder/coder
Introduced in:
0No fixed version published yet for github.com/coder/coder (go modules). Pin to a known-safe version or switch to an alternative.
Go/github.com/coder/coder/v2
Introduced in:
2.22.0Fixed in: 2.24.4Fix
go get github.com/coder/coder/v2@v2.24.4References
- https://github.com/coder/coder/security/advisories/GHSA-j6xf-jwrj-v5qp[ADVISORY]
- https://nvd.nist.gov/vuln/detail/CVE-2025-58437[ADVISORY]
- https://github.com/coder/coder/commit/06cbb2890f453cd522bb2158a6549afa3419c276[FIX]
- https://github.com/coder/coder/commit/20d67d7d7191a4fd5d36a61c6fc1e23ab59befc0[FIX]
- https://github.com/coder/coder/commit/ec660907faa0b0eae20fa2ba58ce1733f5f4b35a[FIX]
- https://github.com/coder/coder/pull/19667[FIX]
- https://github.com/coder/coder/pull/19668[FIX]
- https://github.com/coder/coder/pull/19669[FIX]
Check it before you install it
One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.
curl -s https://vdb.ai.kr/v1/ai/check-packages \
-H 'Content-Type: application/json' \
-d '{"packages":["pkg:golang/github.com/coder/coder"]}'