{
  "id": "CVE-2026-55431",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-55431",
  "published_at": "2026-07-08T00:10:49.165Z",
  "title": "Coder's session token leaked to arbitrary hosts via `coder open app` for external workspace apps",
  "vendor": "coder",
  "product": "coder",
  "cvss": {
    "score": 7.7,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Coder allows organizations to provision remote development environments via Terraform. Prior to versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2, `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. 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. The fix in versions 2.29.7, 2.32.7, 2.33.8, and 2.34.2 applies a URL-scheme allowlist in the CLI and limits `$SESSION_TOKEN` substitution to trusted destinations like the web frontend. As a workaround, avoid running `coder open app` for untrusted workspaces.",
  "cwe": "CWE-522",
  "cpes": [
    "cpe:2.3:a:coder:coder:*:*:*:*:*:go:*:*"
  ],
  "cvss_by_source": {
    "cna": 7.7,
    "nvd": 6.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "coder",
        "product": "coder",
        "ranges": [
          "\u003e= 2.34.0, \u003c 2.34.2",
          "\u003e= 2.33.0, \u003c 2.33.8",
          "\u003e= 2.30.0, \u003c 2.32.7",
          "\u003c 2.29.17"
        ],
        "fixed_in": [
          "2.34.2",
          "2.33.8",
          "2.32.7",
          "2.29.17"
        ]
      }
    ],
    "upgrade": [
      "Upgrade coder to 2.34.2 or 2.33.8 or 2.32.7 or 2.29.17 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/coder/coder/security/advisories/GHSA-v54h-cp2w-9x4g"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/coder/coder/pull/26146"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/coder/coder/releases/tag/v2.29.17"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/coder/coder/releases/tag/v2.32.7"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/coder/coder/releases/tag/v2.33.8"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/coder/coder/releases/tag/v2.34.2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
