Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/coder/coder/v2
  4. ›
  5. CVE-2025-58437

CVE-2025-58437: Coder vulnerable to privilege escalation could lead to a cross workspace compromise

September 5, 2025 (updated September 10, 2025)

Insecure session handling opened room for a privilege escalation scenario in which prebuilt workspaces could be compromised by abusing a shared system identity.

References

  • github.com/advisories/GHSA-j6xf-jwrj-v5qp
  • github.com/coder/coder
  • github.com/coder/coder/commit/06cbb2890f453cd522bb2158a6549afa3419c276
  • github.com/coder/coder/commit/20d67d7d7191a4fd5d36a61c6fc1e23ab59befc0
  • github.com/coder/coder/commit/ec660907faa0b0eae20fa2ba58ce1733f5f4b35a
  • github.com/coder/coder/pull/19667
  • github.com/coder/coder/pull/19668
  • github.com/coder/coder/pull/19669
  • github.com/coder/coder/security/advisories/GHSA-j6xf-jwrj-v5qp
  • nvd.nist.gov/vuln/detail/CVE-2025-58437

Code Behaviors & Features

Detect and mitigate CVE-2025-58437 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.22.0 before 2.24.4, all versions starting from 2.25.0 before 2.25.2

Fixed versions

  • 2.24.4
  • 2.25.2

Solution

Upgrade to versions 2.24.4, 2.25.2 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-269: Improper Privilege Management
  • CWE-277: Insecure Inherited Permissions
  • CWE-613: Insufficient Session Expiration

Source file

go/github.com/coder/coder/v2/CVE-2025-58437.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 15 Feb 2026 00:17:49 +0000.