CVE-2026-3514: Prefect authentication bypass via health check path exemption

CVE-2026-3514 · Severity: high · CVSS 7.5 · Published 2026-06-02

Prefect, a workflow orchestration platform, contains a security flaw that allows unauthorized users to bypass authentication. By naming resources like variables or deployments with specific suffixes such as 'health' or 'ready', an attacker can access them without a password. This could lead to the theft of sensitive business data, including API keys and database credentials stored within the system.

Technologies: prefect (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2026-3514 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-3514 being exploited in the wild.
How severe is CVE-2026-3514?
High severity, with a CVSS score of 7.5, published 2 June 2026.
Which products and versions are affected?
prefect (PyPI) < 3.6.22.dev7, ECOSYSTEM:introduced=0,fixed=3.6.22, ECOSYSTEM:introduced=0,fixed=3.6.22.dev7.
Is there a fix for CVE-2026-3514?
Yes. prefect (PyPI): upgrade to 3.6.22, 3.6.22.dev7 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-3514 attacked?
It is attacked over the network, in a software library.
Am I affected by CVE-2026-3514?
Check whether you run prefect (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • prefect (PyPI): upgrade to 3.6.22, 3.6.22.dev7 or later
    pip install "prefect>=3.6.22.dev7"

Technical details

An authentication bypass vulnerability exists in Prefect's server middleware due to improper path validation for health check exemptions. The middleware uses a suffix-based check (endswith) that exempts any URL ending in 'health' or 'ready' from authentication. An unauthenticated remote attacker can exploit this by creating or accessing resources (such as Variables, Flows, or Deployments) whose names end with these strings. Successful exploitation allows unauthorized access to sensitive data stored in Prefect Variables, including credentials and API keys. The issue is addressed in version 3.6.22.dev7 by tightening the path matching logic.

Affected products

  • PrefectHQ Prefect < 3.6.22.dev7

Identifiers

  • CVE-2026-3514
  • GHSA-c635-393c-hcx2
  • PYSEC-2026-2261

Timeline

  • 2026-06-02: disclosed
  • 2026-06-02: advisory
  • 2026-07-09: patched

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.