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

CVE-2026-55431: Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps

July 6, 2026

coder open app opens external workspace-app URLs without validating the scheme or host. When an external app URL contains the $SESSION_TOKEN placeholder the CLI replaces it with the user’s real session token before handing the URL to the OS open handler.

Note: Practical exploitation requires the victim to run coder open app against a workspace whose external app definition the attacker controls. Only a malicious template author can control external app URLs.

References

  • github.com/advisories/GHSA-v54h-cp2w-9x4g
  • github.com/coder/coder/pull/26146
  • github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g
  • nvd.nist.gov/vuln/detail/CVE-2026-55431

Code Behaviors & Features

Detect and mitigate CVE-2026-55431 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 2.29.17, all versions starting from 2.30.0 before 2.32.7, all versions starting from 2.33.0 before 2.33.8, all versions starting from 2.34.0 before 2.34.2

Fixed versions

  • 2.29.17
  • 2.32.7
  • 2.33.8
  • 2.34.2

Solution

Upgrade to versions 2.29.17, 2.32.7, 2.33.8, 2.34.2 or above.

Impact 7.7 HIGH

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

Learn more about CVSS

Weakness

  • CWE-522: Insufficiently Protected Credentials
  • CWE-601: URL Redirection to Untrusted Site ('Open Redirect')

Source file

go/github.com/coder/coder/v2/CVE-2026-55431.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sat, 14 Nov 2026 00:17:14 +0000.