NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · PyPI

CVE-2026-7722: Prefect Auth Bypass via endswith() Health Check Exemption

mediumCVSS 4.0 5.5 · 3.1 5.3GHSA-6rr6-v7cj-mxpg

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.

Published May 4, 2026 · Updated May 22, 2026

Affected packages

prefect

Ecosystem
PyPI
Affected
< 3.6.22
Fixed in
3.6.22
Check
pip show prefect

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to nedlir.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More PyPI vulnerabilities

All PyPI entries