Improper Authentication Affecting prefect package, versions [,3.6.22.dev7)


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.09% (25th 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 Improper Authentication vulnerabilities in an interactive lesson.

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

Introduced: 4 May 2026

NewCVE-2026-7722  (opens in a new tab)
CWE-287  (opens in a new tab)

How to fix?

Upgrade prefect to version 3.6.22.dev7 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 Improper Authentication in the health check middleware API, which relies on an endswith() function to generate responses to unauthenticated GET requests. An attacker can access files that are accessible via the legitimate path to the endpoint and have the suffix ready or health, but cannot control the filenames or their contents.

CVSS Base Scores

version 4.0
version 3.1