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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| prefect PyPI | < 3.6.22 | 3.6.22 |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-287
- Also known as
- CVE-2026-7722, PYSEC-2026-2956
- nvd.nist.gov/vuln/detail/CVE-2026-7722
- github.com/PrefectHQ/prefect/pull/21063
- github.com/PrefectHQ/prefect/pull/21063/changes/d8c4ff97ef7c0a940925d32b2d76324c8def42de
- github.com/PrefectHQ/prefect/commit/e21617125335025b4b27e7d6f0ca028e8e8f3b79
- gist.github.com/nedlir/f576abbb0e491dc9bb7e106c140dda04
- github.com/PrefectHQ/prefect
- github.com/PrefectHQ/prefect/releases/tag/3.6.22
- vuldb.com/submit/807255
- vuldb.com/vuln/360898
- vuldb.com/vuln/360898/cti
More Prefect advisories
All Prefect| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jun 2 | Prefect has an Authentication Middleware Bypass when URL paths are appended with 'health' or 'ready' | High7.5 | 3.6.22.dev7 |
| May 26 | Prefect has an Argument Injection issue | High8.5 | No fix yet |
| May 4 | Prefect Git Argument Injection in GitRepository Pull Steps | Low6.3 | 3.6.25.dev7 |
| May 4 | Prefect Unauthenticated Event Injection via /api/events/in WebSocket | Medium7.3 | 3.6.14 |
| May 4 | Prefect SSRF Bypass via DNS Rebinding in validate_restricted_url | Low5.0 | 3.6.28.dev2 |
| Mar 202025 | Prefect CORS (Cross-Origin Resource Sharing) misconfiguration | High7.6 | 2.20.17+1 more |