Advisory

PYSEC-2026-2959

Also known as: CVE-2026-7724, GHSA-p3pq-hxmr-vqqr

Summary

Prefect SSRF Bypass via DNS Rebinding in validate_restricted_url

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.

Severity

Medium Basis: CVSS v3 score 5, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L

Dates

Published
2026-07-13 15:02 UTC
Modified
2026-07-13 16:33 UTC

Affected packages and fixes

prefect

PyPI · All systems

Affected

  • introduced 0, fixed 3.6.28.dev2 (ecosystem)

Fixed versions

3.6.28.dev2

Fix

  • Fixed version 3.6.28.dev2
    pip install --upgrade prefect==3.6.28.dev2

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: PyPA Advisory Database · CC BY 4.0

Sources & licences