Auth bypass in Prefecthq Prefect
CVE-2026-7722
A vulnerability was detected in PrefectHQ prefect up to 3.6.21. This impacts the function endswith of the file /api/health of the component Health Check API. Performing a manipulation results in improper authentication. The attack is possible to be carried out remotely. The exploit is now public and may be used. Upgrading to version 3.6.22 will fix this issue. The patch is named e21617125335025b4b27e7d6f0ca028e8e8f3b79. Upgrading the affected component is recommended. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Vulnerability class: Broken Authentication
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N.
EPSS exploit prediction
EPSS 0.005, 39.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Prefecthq Prefect — versions 3.6.0, 3.6.1, 3.6.2
Weakness classification (CWE)
References
- VDB-360898 | PrefectHQ prefect Health Check API health endswith improper authentication (technical-description, vdb-entry)
- VDB-360898 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- Submit #807255 | PrefectHQ Perfect <=3.6.21 Improper Authentication (third-party-advisory)
- gist.github.com/nedlir/f576abbb0e491dc9bb7e106c140dda04 (exploit)
- github.com/PrefectHQ/prefect/pull/21063 (issue-tracking, patch)
- github.com/PrefectHQ/prefect/pull/21063/changes/d8c4ff97ef7c0a940925d32b2d76324… (issue-tracking, patch)
- github.com/PrefectHQ/prefect/releases/tag/3.6.22 (patch)
- github.com/PrefectHQ/prefect/ (product)
- github.com/PrefectHQ/prefect/commit/e21617125335025b4b27e7d6f0ca028e8e8f3b79 (patch)