VDB
Sign up
MEDIUM5.0

PYSEC-2026-2959

Prefect SSRF Bypass via DNS Rebinding in validate_restricted_url

Quick fix

PYSEC-2026-2959 — prefect: upgrade to the fixed version with the command below.

pip install --upgrade 'prefect>=3.6.28.dev2'

Details

A vulnerability has been found in PrefectHQ prefect up to 3.6.28.dev1. Affected by this vulnerability is the function validate_restricted_url of the component Webhook/Notification. The manipulation leads to time-of-check time-of-use. It is possible to initiate the attack remotely. The attack is considered to have high complexity. The exploitation appears to be difficult. The exploit has been disclosed to the public and may be used. Upgrading to version 3.6.28.dev2 addresses this issue. The identifier of the patch is 7c70ac54a5e101431d83b9f2681ec88d5e0021ed. Upgrading the affected component is advised.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/prefect
Introduced in: 0Fixed in: 3.6.28.dev2
Fixpip install --upgrade 'prefect>=3.6.28.dev2'

References