CVE-2026-61687

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

State
Published
Severity
7.1 High
Published
Sep 21, 2026
Updated
Sep 21, 2026
Reserved
Jul 10, 2026

Read the record on cve.org

Description

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.

Scores

CVSSScoreVectorSource
3.17.1 HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:NGitHub_M

Weaknesses

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

Affected Products

ProductVersions
hatchethatchet-dev
  • < 0.91.1Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.