Authorization Bypass Through User-Controlled Key Affecting github.com/hatchet-dev/hatchet/api/v1/server/handlers/v1/tasks package, versions <0.83.39


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Authorization Bypass Through User-Controlled Key vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-GOLANG-GITHUBCOMHATCHETDEVHATCHETAPIV1SERVERHANDLERSV1TASKS-16778513
  • published20 May 2026
  • disclosed6 May 2026
  • creditSajda Kabir

Introduced: 6 May 2026

CVE-2026-42572  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade github.com/hatchet-dev/hatchet/api/v1/server/handlers/v1/tasks to version 0.83.39 or higher.

Overview

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key in the GET /api/v1/stable/dags/tasks endpoint via improper tenant checks in the listTasksByDAGIds() function. An attacker can access sensitive task metadata belonging to other tenants by supplying a valid tenant UUID and DAG UUID for which they are not authorized. This is only exploitable if the attacker has an account on the instance and knows both the victim tenant's UUID and a DAG UUID belonging to that tenant.

Workaround

This vulnerability can be mitigated by restricting account creation to trusted domains using the SERVER_AUTH_RESTRICTED_EMAIL_DOMAINS setting or by ensuring the API is not exposed to untrusted networks.

CVSS Base Scores

version 4.0
version 3.1