Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/hatchet-dev/hatchet
  4. ›
  5. CVE-2026-61687

CVE-2026-61687: Hatchet - Unauthenticated OAuth state CSRF / login-CSRF via empty-state collision in ValidateOAuthState

September 21, 2026 (updated November 4, 2026)

Hatchet version v0.86.26 and below is vulnerable to OAuth state CSRF (login CSRF / account fixation).

The vulnerable code clears the session oauth_state_<integration> value to the empty string "" after a successful OAuth callback rather than removing the key, and the subsequent state-equality check then accepts an empty ?state= parameter on any later callback request — allowing an unauthenticated attacker to bind an already-authenticated victim’s session cookie to an attacker-controlled OAuth identity (account takeover via login-CSRF).

References

  • github.com/advisories/GHSA-phg3-3g28-wq9v
  • github.com/hatchet-dev/hatchet/commit/f90464189ad642251e09412d0f99fde353036428
  • github.com/hatchet-dev/hatchet/security/advisories/GHSA-phg3-3g28-wq9v
  • nvd.nist.gov/vuln/detail/CVE-2026-61687

Code Behaviors & Features

Detect and mitigate CVE-2026-61687 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 0.91.1

Fixed versions

  • 0.91.1

Solution

Upgrade to version 0.91.1 or above.

Impact 7.1 HIGH

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

Learn more about CVSS

Weakness

  • CWE-1275: Sensitive Cookie with Improper SameSite Attribute
  • CWE-287: Improper Authentication
  • CWE-352: Cross-Site Request Forgery (CSRF)
  • CWE-384: Session Fixation

Source file

go/github.com/hatchet-dev/hatchet/CVE-2026-61687.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 08 Nov 2026 00:16:03 +0000.