Skip to content
PrefectGHSA-6rr6-v7cj-mxpg

Prefect Auth Bypass via endswith() Health Check Exemption

Medium5.3CVE-2026-7722 · Published May 4, 2026 · updated Sep 10, 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.

GitHub advisory

Affected versions

PackageAffectedFixed in
prefect
PyPI
< 3.6.223.6.22
Details and references

More Prefect advisories

All Prefect
Advisory
Prefect has an Authentication Middleware Bypass when URL paths are appended with 'health' or 'ready'
High7.5Jun 2
Prefect has an Argument Injection issue
High8.5May 26
Prefect Git Argument Injection in GitRepository Pull Steps
Low6.3May 4
Prefect Unauthenticated Event Injection via /api/events/in WebSocket
Medium7.3May 4
Prefect SSRF Bypass via DNS Rebinding in validate_restricted_url
Low5.0May 4
Prefect CORS (Cross-Origin Resource Sharing) misconfiguration
High7.6Mar 20, 2025

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.