Medium

Prefect Auth Bypass via endswith() Health Check Exemption

  • Disclosed: 04.05.2026
  • Updated: 11.10.2026 15:17

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 software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) prefect < 3.6.22 3.6.22

References

CVSS score 5.3/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-287
Platform
Python (PyPI)
Package
prefect
Disclosed
04.05.2026
Updated
11.10.2026 15:17

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-2956 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-6rr6-v7cj-mxpg - CC BY 4.0

Vulnerability history: prefect

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
8
First → latest
11.2023 06.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 4
  • Medium 2
  • Low 2

Disclosures per year

  1. 2023: 1
  2. 2024: 0
  3. 2025: 1
  4. 2026: 6
  1. High · 8.5 CVE-2026-3515 <= 3.6.18 no fix
  2. Low · 6.3 CVE-2026-7725 < 3.6.25.dev7 3.6.25.dev7
  3. Low · 5.0 CVE-2026-7724 < 3.6.28.dev2 3.6.28.dev2
  4. Prefect Auth Bypass via endswith() Health Check Exemption this entry
    Medium · 5.3 CVE-2026-7722 < 3.6.22 3.6.22
  5. Medium · 7.3 CVE-2026-7723 < 3.6.14 3.6.14
  6. High · 7.6 CVE-2024-8183 >= 3.0.0rc1, < 3.0.3, < 2.20.17 3.0.3, 2.20.17
  7. High · 8.8 CVE-2023-6022 >= 2.0.0, < 2.16.5 2.16.5

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.