# CVE-2026-7724: PrefectHQ prefect Webhook/Notification validate_restricted_url toctou

- Severity: Low 2.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 18% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-04T02:45:12.517Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-p3pq-hxmr-vqqr, PYSEC-2026-2959
- Weaknesses: CWE-362, CWE-367
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- PrefectHQ prefect: 3.6.28.dev1 (not affected: 3.6.28.dev2)
- prefect (PyPI): before 3.6.28.dev2

## Every score

- VulDB: CVSS:4.0 2.3 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 5.0 Medium `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`
- VulDB: CVSS:3.0 5.0 Medium `CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 4.6 Medium `AV:N/AC:H/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- GitHub: CVSS:3.1 5.0 Low `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- PyPA Advisory Database: CVSS:3.1 5.0 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:H/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://gist.github.com/nedlir/fa99777e8989414585d08c3625bf044a> (exploit, web)
- <https://vuldb.com/vuln/360900> (technical-description, vdb-entry, web)
- <https://vuldb.com/vuln/360900/cti> (permissions-required, signature, web)
- <https://vuldb.com/submit/807303> (third-party-advisory, web)
- <https://linear.app/prefect/issue/OSS-7874/fix-dns-rebinding-toctou-bypass-in-validate-restricted-url> (issue-tracking, web)
- <https://github.com/PrefectHQ/prefect/pull/21591> (issue-tracking, patch, web)
- <https://github.com/PrefectHQ/prefect/commit/7c70ac54a5e101431d83b9f2681ec88d5e0021ed> (patch, web)
- <https://github.com/PrefectHQ/prefect/releases/tag/3.6.28.dev2> (patch, web)
- <https://github.com/PrefectHQ/prefect/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-7724> (advisory)
- <https://github.com/PrefectHQ/prefect> (package)
- <https://pypi.org/project/prefect> (package)
- <https://github.com/advisories/GHSA-p3pq-hxmr-vqqr> (advisory)

## Sources

- CVE List: [CVE-2026-7724](https://www.cve.org/CVERecord?id=CVE-2026-7724), CVE Terms of Use, modified 2026-05-05
- GitHub Advisory Database: [GHSA-p3pq-hxmr-vqqr](https://github.com/advisories/GHSA-p3pq-hxmr-vqqr), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-7724](https://nvd.nist.gov/vuln/detail/CVE-2026-7724), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2959](https://osv.dev/vulnerability/PYSEC-2026-2959), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-7724 · Whole record: https://cve.day/CVE-2026-7724.json · Rebuilt by cve.day 2026-11-25T22:59:20.493Z
