CVE-2026-126308 (GCVE-0-2026-126308)

Vulnerability from cvelistv5 – Published: 2026-11-13 09:36 – Updated: 2026-11-13 09:36
VLAI
Title
Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps
Summary
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 - Insertion of Sensitive Information Into Sent Data
References
Impacted products
Vendor Product Version
coder coder Affected: 2.38.0 , < 2.38.2 (semver)
Unaffected: 2.38.2 (semver)
Create a notification for this product.
coder coder Affected: 2.37.0 , < 2.37.6 (semver)
Unaffected: 2.37.6 (semver)
Create a notification for this product.
coder coder Affected: 2.36.0 , < 2.36.9 (semver)
Unaffected: 2.36.9 (semver)
Create a notification for this product.
coder coder Affected: 2.30.0 , < 2.34.14 (semver)
Unaffected: 2.34.14 (semver)
Create a notification for this product.
coder coder Affected: 2.24.0 , < 2.29.23 (semver)
Unaffected: 2.29.23 (semver)
Create a notification for this product.
coder coder Affected: 2.35.0 , < 2.36.0 (semver)
Unaffected: 2.36.0 (semver)
Create a notification for this product.
Date Public
2026-10-27 00:00
Show details on NVD website

{
  "containers": {
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:golang/github.com/coder/coder/v2",
          "product": "coder",
          "vendor": "coder",
          "versions": [
            {
              "lessThan": "2.38.2",
              "status": "affected",
              "version": "2.38.0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "2.38.2",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:golang/github.com/coder/coder/v2",
          "product": "coder",
          "vendor": "coder",
          "versions": [
            {
              "lessThan": "2.37.6",
              "status": "affected",
              "version": "2.37.0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "2.37.6",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:golang/github.com/coder/coder/v2",
          "product": "coder",
          "vendor": "coder",
          "versions": [
            {
              "lessThan": "2.36.9",
              "status": "affected",
              "version": "2.36.0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "2.36.9",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:golang/github.com/coder/coder/v2",
          "product": "coder",
          "vendor": "coder",
          "versions": [
            {
              "lessThan": "2.34.14",
              "status": "affected",
              "version": "2.30.0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "2.34.14",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:golang/github.com/coder/coder/v2",
          "product": "coder",
          "vendor": "coder",
          "versions": [
            {
              "lessThan": "2.29.23",
              "status": "affected",
              "version": "2.24.0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "2.29.23",
              "versionType": "semver"
            }
          ]
        },
        {
          "defaultStatus": "unaffected",
          "packageURL": "pkg:golang/github.com/coder/coder/v2",
          "product": "coder",
          "vendor": "coder",
          "versions": [
            {
              "lessThan": "2.36.0",
              "status": "affected",
              "version": "2.35.0",
              "versionType": "semver"
            },
            {
              "status": "unaffected",
              "version": "2.36.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "cpeApplicability": [
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.38.2",
                  "versionStartIncluding": "2.38.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.37.6",
                  "versionStartIncluding": "2.37.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.36.9",
                  "versionStartIncluding": "2.36.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.34.14",
                  "versionStartIncluding": "2.30.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.29.23",
                  "versionStartIncluding": "2.24.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        },
        {
          "nodes": [
            {
              "cpeMatch": [
                {
                  "criteria": "cpe:2.3:a:coder:coder:*:*:*:*:*:*:*:*",
                  "versionEndExcluding": "2.36.0",
                  "versionStartIncluding": "2.35.0",
                  "vulnerable": true
                }
              ],
              "negate": false,
              "operator": "OR"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "type": "reporter",
          "value": "manus-pi"
        },
        {
          "lang": "en",
          "type": "remediation developer",
          "value": "EhabY"
        }
      ],
      "datePublic": "2026-10-27T00:00:00.000Z",
      "descriptions": [
        {
          "lang": "en",
          "value": "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\u0027s click sends their API key to an attacker-chosen destination."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "HIGH",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "privilegesRequired": "LOW",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "HIGH",
            "subIntegrityImpact": "HIGH",
            "userInteraction": "PASSIVE",
            "vectorString": "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",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "HIGH"
          },
          "format": "CVSS"
        },
        {
          "cvssV3_1": {
            "attackComplexity": "HIGH",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 7.7,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N",
            "version": "3.1"
          },
          "format": "CVSS"
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-201",
              "description": "Insertion of Sensitive Information Into Sent Data",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-11-13T09:36:20.400Z",
        "orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
        "shortName": "VulnCheck"
      },
      "references": [
        {
          "name": "GitHub Security Advisory (GHSA-2x8w-q434-f76p)",
          "tags": [
            "vendor-advisory"
          ],
          "url": "https://github.com/coder/coder/security/advisories/GHSA-2x8w-q434-f76p"
        },
        {
          "name": "VulnCheck Advisory: Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps",
          "tags": [
            "third-party-advisory"
          ],
          "url": "https://www.vulncheck.com/advisories/coder-2.38.0-before-2.38.2-session-token-leak-via-sub-agent-external-apps"
        }
      ],
      "title": "Coder 2.38.0 before 2.38.2 Session Token Leak via Sub-Agent External Apps",
      "x_generator": {
        "engine": "vulncheck-endgame"
      }
    }
  },
  "cveMetadata": {
    "assignerOrgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
    "assignerShortName": "VulnCheck",
    "cveId": "CVE-2026-126308",
    "datePublished": "2026-11-13T09:36:20.400Z",
    "dateReserved": "2026-11-10T20:16:44.443Z",
    "dateUpdated": "2026-11-13T09:36:20.400Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-126308",
      "date": "2026-11-16",
      "epss": "0.00311",
      "percentile": "0.24292"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "defaultStatus": "unaffected",
                "packageURL": "pkg:golang/github.com/coder/coder/v2",
                "product": "coder",
                "vendor": "coder",
                "versions": [
                  {
                    "lessThan": "2.38.2",
                    "status": "affected",
                    "version": "2.38.0",
                    "versionType": "semver"
                  },
                  {
                    "status": "unaffected",
                    "version": "2.38.2",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "packageURL": "pkg:golang/github.com/coder/coder/v2",
                "product": "coder",
                "vendor": "coder",
                "versions": [
                  {
                    "lessThan": "2.37.6",
                    "status": "affected",
                    "version": "2.37.0",
                    "versionType": "semver"
                  },
                  {
                    "status": "unaffected",
                    "version": "2.37.6",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "packageURL": "pkg:golang/github.com/coder/coder/v2",
                "product": "coder",
                "vendor": "coder",
                "versions": [
                  {
                    "lessThan": "2.36.9",
                    "status": "affected",
                    "version": "2.36.0",
                    "versionType": "semver"
                  },
                  {
                    "status": "unaffected",
                    "version": "2.36.9",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "packageURL": "pkg:golang/github.com/coder/coder/v2",
                "product": "coder",
                "vendor": "coder",
                "versions": [
                  {
                    "lessThan": "2.34.14",
                    "status": "affected",
                    "version": "2.30.0",
                    "versionType": "semver"
                  },
                  {
                    "status": "unaffected",
                    "version": "2.34.14",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "packageURL": "pkg:golang/github.com/coder/coder/v2",
                "product": "coder",
                "vendor": "coder",
                "versions": [
                  {
                    "lessThan": "2.29.23",
                    "status": "affected",
                    "version": "2.24.0",
                    "versionType": "semver"
                  },
                  {
                    "status": "unaffected",
                    "version": "2.29.23",
                    "versionType": "semver"
                  }
                ]
              },
              {
                "defaultStatus": "unaffected",
                "packageURL": "pkg:golang/github.com/coder/coder/v2",
                "product": "coder",
                "vendor": "coder",
                "versions": [
                  {
                    "lessThan": "2.36.0",
                    "status": "affected",
                    "version": "2.35.0",
                    "versionType": "semver"
                  },
                  {
                    "status": "unaffected",
                    "version": "2.36.0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "disclosure@vulncheck.com"
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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\u0027s click sends their API key to an attacker-chosen destination."
          }
        ],
        "id": "CVE-2026-126308",
        "lastModified": "2026-11-13T10:17:36.320",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "HIGH",
                "attackVector": "NETWORK",
                "availabilityImpact": "NONE",
                "baseScore": 7.7,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "LOW",
                "scope": "CHANGED",
                "userInteraction": "REQUIRED",
                "vectorString": "CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:N",
                "version": "3.1"
              },
              "exploitabilityScore": 1.3,
              "impactScore": 5.8,
              "source": "disclosure@vulncheck.com",
              "type": "Primary"
            }
          ],
          "cvssMetricV40": [
            {
              "cvssData": {
                "Automatable": "NOT_DEFINED",
                "Recovery": "NOT_DEFINED",
                "Safety": "NOT_DEFINED",
                "attackComplexity": "HIGH",
                "attackRequirements": "PRESENT",
                "attackVector": "NETWORK",
                "availabilityRequirement": "NOT_DEFINED",
                "baseScore": 8.7,
                "baseSeverity": "HIGH",
                "confidentialityRequirement": "NOT_DEFINED",
                "exploitMaturity": "NOT_DEFINED",
                "integrityRequirement": "NOT_DEFINED",
                "modifiedAttackComplexity": "NOT_DEFINED",
                "modifiedAttackRequirements": "NOT_DEFINED",
                "modifiedAttackVector": "NOT_DEFINED",
                "modifiedPrivilegesRequired": "NOT_DEFINED",
                "modifiedSubAvailabilityImpact": "NOT_DEFINED",
                "modifiedSubConfidentialityImpact": "NOT_DEFINED",
                "modifiedSubIntegrityImpact": "NOT_DEFINED",
                "modifiedUserInteraction": "NOT_DEFINED",
                "modifiedVulnAvailabilityImpact": "NOT_DEFINED",
                "modifiedVulnConfidentialityImpact": "NOT_DEFINED",
                "modifiedVulnIntegrityImpact": "NOT_DEFINED",
                "privilegesRequired": "LOW",
                "providerUrgency": "NOT_DEFINED",
                "subAvailabilityImpact": "NONE",
                "subConfidentialityImpact": "HIGH",
                "subIntegrityImpact": "HIGH",
                "userInteraction": "PASSIVE",
                "valueDensity": "NOT_DEFINED",
                "vectorString": "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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X",
                "version": "4.0",
                "vulnAvailabilityImpact": "NONE",
                "vulnConfidentialityImpact": "HIGH",
                "vulnIntegrityImpact": "HIGH",
                "vulnerabilityResponseEffort": "NOT_DEFINED"
              },
              "source": "disclosure@vulncheck.com",
              "type": "Secondary"
            }
          ]
        },
        "published": "2026-11-13T10:17:36.320",
        "references": [
          {
            "source": "disclosure@vulncheck.com",
            "url": "https://github.com/coder/coder/security/advisories/GHSA-2x8w-q434-f76p"
          },
          {
            "source": "disclosure@vulncheck.com",
            "url": "https://www.vulncheck.com/advisories/coder-2.38.0-before-2.38.2-session-token-leak-via-sub-agent-external-apps"
          }
        ],
        "sourceIdentifier": "disclosure@vulncheck.com",
        "vulnStatus": "Received",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-201"
              }
            ],
            "source": "disclosure@vulncheck.com",
            "type": "Primary"
          }
        ]
      }
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Loading…

Loading…

Related by attack behaviour

Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.


Loading…