CVE-2026-61687 hatchet - Unauthenticated OAuth state CSRF / login-CSRF via empty-state collision in ValidateOAuthState
HighCVSS 7.1
EPSS 0.17%
- Published
- Updated
- Exploit status
- No public exploit known
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.
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| hatchet-dev hatchet(Go) | < 0.91.1 | 0.91.1 |
| hatchet-dev hatchet(Go) | < 0.91.2 | 0.91.2 |
| hatchet-dev hatchet | = < 0.91.1 | No fix listed |
References
- https://github.com/hatchet-dev/hatchet/security/advisories/GHSA-phg3-3g28-wq9v vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/hatchet-dev/hatchet/commit/f90464189ad642251e09412d0f99fde353036428 patch
- github.com product
- github.com