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

- Severity: High 7.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.14%, higher than 3% of CVEs (2026-12-01)
- Published: 2026-09-21T15:45:27.610Z
- Modified: 2026-11-04T23:45:05.756Z
- Also known as: GHSA-phg3-3g28-wq9v, GO-2026-6535
- Weaknesses: CWE-287, CWE-352, CWE-384, CWE-1275
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- hatchet-dev hatchet: < 0.91.1
- github.com/hatchet-dev/hatchet (Go): before 0.91.1; before 0.91.2

## Every score

- GitHub_M: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`
- GitHub: CVSS:3.1 7.1 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N`

## References

- <https://github.com/hatchet-dev/hatchet/security/advisories/GHSA-phg3-3g28-wq9v> (advisory, web)
- <https://github.com/hatchet-dev/hatchet/commit/f90464189ad642251e09412d0f99fde353036428> (fix, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-61687> (advisory)
- <https://github.com/hatchet-dev/hatchet> (package)

## Sources

- CVE List: [CVE-2026-61687](https://www.cve.org/CVERecord?id=CVE-2026-61687), CVE Terms of Use, modified 2026-09-21
- GitHub Advisory Database: [GHSA-phg3-3g28-wq9v](https://github.com/advisories/GHSA-phg3-3g28-wq9v), CC-BY-4.0, modified 2026-11-04
- Go Vulnerability Database: [GO-2026-6535](https://pkg.go.dev/vuln/GO-2026-6535), CC-BY-4.0, modified 2026-10-07
- NVD: [CVE-2026-61687](https://nvd.nist.gov/vuln/detail/CVE-2026-61687), Public domain, modified 2026-09-24

---

Page: https://cve.day/CVE-2026-61687 · Whole record: https://cve.day/CVE-2026-61687.json · Rebuilt by cve.day 2026-11-25T22:59:40.346Z
