Vulnerability · Published Jun 2, 2026 · Assigned by @huntr_ai
CVE-2026-3514Authentication Bypass in prefecthq/prefect
High 7.5
In plain English
A high-severity incorrect authorization in prefecthq/prefect from prefecthq. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 41% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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 packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | prefect | 3.6.22.dev7 | GHSA-c635-393c-hcx2 |
| PyPI | prefect | 3.6.22 | PYSEC-2026-2261 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| prefecthq | prefecthq/prefect | unspecified – before 3.6.22 |
Weakness: CWE-863 · Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N