---
id: CVE-2026-7724
aliases:
  - GHSA-p3pq-hxmr-vqqr
  - PYSEC-2026-2959
title: Prefect SSRF Bypass via DNS Rebinding in validate_restricted_url
summary: Prefect SSRF Bypass via DNS Rebinding in validate_restricted_url
severity: medium
cvss: 5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: prefect
product: prefect
ecosystem: pip
affected:
  - prefect < 3.6.28.dev2
patched:
  - prefect 3.6.28.dev2
published: '2026-05-04'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:47.143652690Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-p3pq-hxmr-vqqr'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-7724'
  - url: 'https://github.com/PrefectHQ/prefect/pull/21591'
  - url: >-
      https://github.com/PrefectHQ/prefect/commit/7c70ac54a5e101431d83b9f2681ec88d5e0021ed
  - url: 'https://gist.github.com/nedlir/fa99777e8989414585d08c3625bf044a'
  - url: 'https://github.com/PrefectHQ/prefect'
  - url: 'https://github.com/PrefectHQ/prefect/releases/tag/3.6.28.dev2'
  - url: >-
      https://linear.app/prefect/issue/OSS-7874/fix-dns-rebinding-toctou-bypass-in-validate-restricted-url
  - url: 'https://vuldb.com/submit/807303'
  - url: 'https://vuldb.com/vuln/360900'
  - url: 'https://vuldb.com/vuln/360900/cti'
tags:
  - osv
  - pip
epss: 0.0025
epssPercentile: 0.16657
ingestedAt: '2026-07-13T18:58:01.146Z'
---

## Overview

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.

## Affected packages

- `prefect < 3.6.28.dev2`

## Remediation

Upgrade to a patched release:

- `prefect 3.6.28.dev2`
