Missing Authentication for Critical Function Affecting prefect package, versions [,3.6.14.dev5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
0.14% (34th 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 Missing Authentication for Critical Function vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PYTHON-PREFECT-16379909
  • published4 May 2026
  • disclosed4 May 2026
  • creditnedlir

Introduced: 4 May 2026

NewCVE-2026-7723  (opens in a new tab)
CWE-306  (opens in a new tab)

How to fix?

Upgrade prefect to version 3.6.14.dev5 or higher.

Overview

prefect is a Prefect is a new workflow management system, designed for modern infrastructure and powered by the open-source Prefect Core workflow engine. Users organize Tasks into Flows, and Prefect takes care of the rest.

Affected versions of this package are vulnerable to Missing Authentication for Critical Function at the /api/events/in endpoint. An attacker can send JSON events into an existing stream, which can at least pollute the stream and at worst trigger automations if they know the details of a given target's subscription. This is possible without authentication, even when PREFECT_SERVER_API_AUTH_STRING is set, because subscriptions.accept_prefect_socket() is never applied before allowing a connection on the vulnerable endpoint.

CVSS Base Scores

version 4.0
version 3.1