CVE-2026-61687 PUBLISHED

hatchet - Unauthenticated OAuth state CSRF / login-CSRF via empty-state collision in ValidateOAuthState

Assigner: GitHub_M
Reserved: 10.07.2026 Published: 21.09.2026 Updated: 21.09.2026

Hatchet is a platform for orchestrating background tasks, AI agents, and durable workflows at scale. Prior to 0.91.1, ValidateOAuthState clears the oauth_state_ session value to an empty string after a successful OAuth callback and later accepts an empty state parameter as equal, allowing an unauthenticated attacker to bind a victim's Hatchet session to an attacker-controlled OAuth identity. Exploitation requires the victim to have completed an OAuth flow in the current session and the deployment to enable auth.google.enabled, auth.github.enabled, or the Slack integration. This issue is fixed in version 0.91.1.

Metrics

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

Product Status

Vendor hatchet-dev
Product hatchet
Versions
  • Version < 0.91.1 is affected

References

Problem Types

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