{
  "id": "CVE-2026-126308",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-126308",
  "published_at": "2026-11-13T09:36:20.4Z",
  "title": "Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps",
  "vendor": "coder",
  "product": "coder",
  "cvss": {
    "score": 8.7,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:N/SC:H/SI:H/SA: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": "The web dashboard in Coder 2.24.0 before 2.29.23, 2.30.0 before 2.34.14, 2.35.0 before 2.36.9, 2.37.0 before 2.37.6, and 2.38.0 before 2.38.2 replaces the $SESSION_TOKEN placeholder in external app URLs with a full-access API key without checking whether the app belongs to a sub-agent. Code running in a workspace can register a disguised sub-agent app with a custom protocol URL, so the owner's click sends their API key to an attacker-chosen destination.",
  "cwe": "CWE-201",
  "cvss_by_source": {
    "cna": 8.7
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "coder",
        "product": "coder",
        "ranges": [
          "\u003e= 2.38.0, \u003c 2.38.2"
        ],
        "fixed_in": [
          "2.38.2"
        ]
      },
      {
        "vendor": "coder",
        "product": "coder",
        "ranges": [
          "\u003e= 2.37.0, \u003c 2.37.6"
        ],
        "fixed_in": [
          "2.37.6"
        ]
      },
      {
        "vendor": "coder",
        "product": "coder",
        "ranges": [
          "\u003e= 2.36.0, \u003c 2.36.9"
        ],
        "fixed_in": [
          "2.36.9"
        ]
      },
      {
        "vendor": "coder",
        "product": "coder",
        "ranges": [
          "\u003e= 2.30.0, \u003c 2.34.14"
        ],
        "fixed_in": [
          "2.34.14"
        ]
      },
      {
        "vendor": "coder",
        "product": "coder",
        "ranges": [
          "\u003e= 2.24.0, \u003c 2.29.23"
        ],
        "fixed_in": [
          "2.29.23"
        ]
      },
      {
        "vendor": "coder",
        "product": "coder",
        "ranges": [
          "\u003e= 2.35.0, \u003c 2.36.0"
        ],
        "fixed_in": [
          "2.36.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade coder to 2.38.2 or later.",
      "Upgrade coder to 2.37.6 or later.",
      "Upgrade coder to 2.36.9 or later.",
      "Upgrade coder to 2.34.14 or later.",
      "Upgrade coder to 2.29.23 or later.",
      "Upgrade coder to 2.36.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/coder/coder/security/advisories/GHSA-2x8w-q434-f76p"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
