High

Prefect has an Authentication Middleware Bypass when URL paths are appended with 'health' or 'ready'

  • Disclosed: 02.06.2026
  • Updated: 11.10.2026 15:17

In version 3.6.19 of prefecthq/prefect, an authentication bypass vulnerability exists due to the improper handling of URL path exemptions for health check probes. Specifically, the authentication middleware exempts any URL path ending with 'health' or 'ready' from authentication checks. This allows an attacker to create resources with names ending in 'health' or 'ready' and access them without authentication. Affected endpoints include those for variables, flows, work pools, work queues, and deployments. This vulnerability can lead to unauthorized access to sensitive information, such as API keys and database credentials, stored in Prefect Variables.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) prefect < 3.6.22.dev7 3.6.22.dev7

References

CVSS score 7.5/10
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-863
Platform
Python (PyPI)
Package
prefect
Disclosed
02.06.2026
Updated
11.10.2026 15:17

Sources and licenses

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

OSV / GitHub Advisory Database - GHSA-c635-393c-hcx2 - 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. Prefect has an Authentication Middleware Bypass when URL paths are appended with 'health' or 'ready' this entry
    High · 7.5 CVE-2026-3514 < 3.6.22.dev7 3.6.22.dev7
  2. High · 8.5 CVE-2026-3515 <= 3.6.18 no fix
  3. Low · 6.3 CVE-2026-7725 < 3.6.25.dev7 3.6.25.dev7
  4. Low · 5.0 CVE-2026-7724 < 3.6.28.dev2 3.6.28.dev2
  5. Medium · 5.3 CVE-2026-7722 < 3.6.22 3.6.22
  6. Medium · 7.3 CVE-2026-7723 < 3.6.14 3.6.14
  7. High · 7.6 CVE-2024-8183 >= 3.0.0rc1, < 3.0.3, < 2.20.17 3.0.3, 2.20.17
  8. 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.