Advisory

GHSA-6rr6-v7cj-mxpg

Also known as: CVE-2026-7722, PYSEC-2026-2956

Summary

Prefect Auth Bypass via endswith() Health Check Exemption

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-05-04 03:31 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

prefect

PyPI · All systems

Affected

  • introduced 0, fixed 3.6.22 (ecosystem)

Fixed versions

3.6.22

Fix

  • Fixed version 3.6.22
    pip install --upgrade prefect==3.6.22

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences