Vulnerability · Published May 4, 2026 · Assigned by VulDB
CVE-2026-7724PrefectHQ prefect Webhook/Notification validate_restricted_url toctou
Medium 5.0
In plain English
A medium-severity race condition in prefect from PrefectHQ. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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. The vendor was contacted early, responded in a very professional manner and quickly released a fixed version of the affected product.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | prefect | 3.6.28.dev2 | GHSA-p3pq-hxmr-vqqr |
| PyPI | prefect | 3.6.28.dev2 | PYSEC-2026-2959 |
Affected products (as reported)
Weakness: CWE-367, CWE-362 · Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C
References
- VDB-360900 | PrefectHQ prefect Webhook/Notification validate_restricted_url toctou vdb-entry, technical-description
- VDB-360900 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- Submit #807303 | PerfectHQ Perfect >=3.6.26 Time-of-check Time-of-use third-party-advisory
- https://linear.app/prefect/issue/OSS-7874/fix-dns-rebinding-toctou-bypass-in-validate-restricted-url issue-tracking
- https://github.com/PrefectHQ/prefect/pull/21591 issue-tracking, patch
- https://gist.github.com/nedlir/fa99777e8989414585d08c3625bf044a exploit
- https://github.com/PrefectHQ/prefect/commit/7c70ac54a5e101431d83b9f2681ec88d5e0021ed patch
- https://github.com/PrefectHQ/prefect/releases/tag/3.6.28.dev2 patch
- https://github.com/PrefectHQ/prefect/ product