Prefect Auth Bypass via endswith() Health Check Exemption
Moderate severity
GitHub Reviewed
Published
May 4, 2026
to the GitHub Advisory Database
•
Updated May 22, 2026
Description
Published by the National Vulnerability Database
May 4, 2026
Published to the GitHub Advisory Database
May 4, 2026
Reviewed
May 22, 2026
Last updated
May 22, 2026
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. Upgrading the affected component is recommended.
References