Intel

AIKIDO-2026-10380

prefect is vulnerable to Authentication Bypass Using an Alternate Path or Channel

CVE-2026-7722Published Mar 18, 2026
March 18, 2026

63

CVE Score

Medium

Authentication Bypass Using an Alternate Path or Channel

Are you affected? Scan for Free

TL;DR

Affected versions of this package are affected by an authentication bypass vulnerability due to improper path validation when exempting health check endpoints from authentication. The implementation uses a suffix-based check (e.g., endswith) to determine whether a request should bypass authentication, allowing crafted request paths that end with the expected suffix to incorrectly skip authentication. An attacker could exploit this by accessing protected endpoints using specially crafted URLs that match the suffix condition. The issue is addressed by enforcing strict validation of allowed paths when applying authentication exemptions.

How do I fix this?

Upgrade the prefect library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Package

Versions

3.2.7 - 3.6.21

Fixed in 3.6.22

Background info

prefect is vulnerable to Authentication Bypass Using an Alternate Path or Channel in versions 3.2.7 - 3.6.21.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea