Skip to content
OpenAdvisories
High · 7.5 CVE-2026-3514 EUVD-2026-33884GHSA-c635-393c-hcx2PYSEC-2026-2261

Authentication Bypass in prefecthq/prefect

Published Jun 2, 2026 · Updated Jun 2, 2026 · Assigned by @huntr_ai

Description

In version 3.6.19 of prefecthq/prefect, an authentication bypass vulnerability exists due to the improper handling of URL path exemptions for health check probes. Specifically, the authentication middleware exempts any URL path ending with 'health' or 'ready' from authentication checks. This allows an attacker to create resources with names ending in 'health' or 'ready' and access them without authentication. Affected endpoints include those for variables, flows, work pools, work queues, and deployments. This vulnerability can lead to unauthorized access to sensitive information, such as API keys and database credentials, stored in Prefect Variables.

Affected products

VendorProductAffectedFixed
prefecthq prefecthq/prefect unspecified – < 3.6.22 3.6.22

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI prefect < 3.6.22.dev7 3.6.22.dev7 GHSA-c635-393c-hcx2
PyPI prefect < 3.6.22 3.6.22 PYSEC-2026-2261

References