# CVE-2025-58437: GO-2025-3938 - Coder vulnerable to privilege escalation could lead to a cross workspace compromise in github.com/coder/coder

Source: https://junglewise.ai/threats/cve-2025-58437-coder-vulnerable-to-privilege-escalation-could-lead-to-a-cross  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2025-09-17  
License: CC BY 4.0 with a link back

CVE-2025-58437 · Severity: low · CVSS 3.1 · Published 2025-09-17

Coder vulnerable to privilege escalation could lead to a cross workspace compromise in github.com/coder/coder

Technologies: [github.com/coder/coder (Go)](https://junglewise.ai/threats/technologies/github-com-coder-coder), [github.com/coder/coder/v2 (Go)](https://junglewise.ai/threats/technologies/github-com-coder-coder-v2). Vendors: [Go](https://junglewise.ai/threats/vendors/go).

## Quick answers

**Is CVE-2025-58437 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2025-58437 being exploited in the wild.

**How severe is CVE-2025-58437?** Low severity, with a CVSS score of 3.1, published 17 September 2025.

**Which products and versions are affected?** github.com/coder/coder (Go) SEMVER:introduced=0; github.com/coder/coder/v2 (Go) SEMVER:introduced=2.22.0,fixed=2.24.4, SEMVER:introduced=2.22.0,fixed=2.24.4,introduced=2.25.0,fixed=2.25.2.

**Is there a fix for CVE-2025-58437?** Yes. github.com/coder/coder/v2 (Go): upgrade to 2.24.4, 2.25.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2025-58437?** Check whether you run github.com/coder/coder (Go) or github.com/coder/coder/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- github.com/coder/coder/v2 (Go): upgrade to 2.24.4, 2.25.2 or later

  ```sh
  go get github.com/coder/coder/v2@v2.25.2
  ```


## Affected products

- github.com/coder/coder (Go) SEMVER:introduced=0
- github.com/coder/coder/v2 (Go) SEMVER:introduced=2.22.0,fixed=2.24.4, SEMVER:introduced=2.22.0,fixed=2.24.4,introduced=2.25.0,fixed=2.25.2

## Identifiers

- CVE-2025-58437
- GHSA-j6xf-jwrj-v5qp
- GO-2025-3938

## Related threats

- [Coder HTTP redirect injection in workspace agent API](https://junglewise.ai/threats/cve-2026-63443-coder-http-redirect-injection-in-workspace-agent-api)
- [GO-2026-6267 - Coder: Stored HTML injection via unescaped ApplicationName and LogoURL appearance settings in…](https://junglewise.ai/threats/go-2026-6267-coder-stored-html-injection-via-unescaped-applicationname-1ff577f2)
- [GO-2026-6265 - Coder: Login endpoint user enumeration via timing-defense placeholder in password comparison in…](https://junglewise.ai/threats/go-2026-6265-coder-login-endpoint-user-enumeration-via-timing-defense-262b3c63)
- [Coder CORS bypass in subdomain-based workspace app proxy](https://junglewise.ai/threats/cve-2026-55438-coder-cors-bypass-in-subdomain-based-workspace-app-proxy)
- [Coder stored XSS in AgentLogLine dashboard component](https://junglewise.ai/threats/cve-2026-55437-coder-stored-xss-in-agentlogline-dashboard-component)
