{"id":"CVE-2026-7724","published":"2026-05-04T02:45:12Z","modified":"2026-05-05T00:54:45Z","title":"PrefectHQ prefect Webhook/Notification validate_restricted_url toctou","vendor":"PrefectHQ","product":"prefect","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0025,"percentile":0.16665,"provenance":"source"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"},{"id":"CWE-362","name":"Concurrent Execution using Shared Resource with Improper Synchronization"}],"references":[{"url":"https://vuldb.com/vuln/360900","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/360900/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/807303","tags":["third-party-advisory"]},{"url":"https://linear.app/prefect/issue/OSS-7874/fix-dns-rebinding-toctou-bypass-in-validate-restricted-url","tags":["issue-tracking"]},{"url":"https://github.com/PrefectHQ/prefect/pull/21591","tags":["issue-tracking","patch"]},{"url":"https://gist.github.com/nedlir/fa99777e8989414585d08c3625bf044a","tags":["exploit"]},{"url":"https://github.com/PrefectHQ/prefect/commit/7c70ac54a5e101431d83b9f2681ec88d5e0021ed","tags":["patch"]},{"url":"https://github.com/PrefectHQ/prefect/releases/tag/3.6.28.dev2","tags":["patch"]},{"url":"https://github.com/PrefectHQ/prefect/","tags":["product"]}],"priority":{"score":11.8,"factors":[{"name":"EPSS percentile","points":3.33},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"prefecthq","affectedVersions":[{"vendor":"PrefectHQ","product":"prefect","versions":["3.6.28.dev1"]}],"fixedVersions":[{"vendor":"PrefectHQ","product":"prefect","versions":["3.6.28.dev2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-05T00:54:33.808503Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"prefect","vulnerableRanges":["<3.6.28.dev2"],"patched":["3.6.28.dev2"],"from":["GHSA-p3pq-hxmr-vqqr","PYSEC-2026-2959"],"provenance":"source"}],"summary":{"text":"A time-of-check time-of-use race condition exists in the validate_restricted_url function of the Webhook/Notification component in PrefectHQ prefect, in versions up to 3.6.28.dev1. A remote attacker with low privileges can exploit it with high attack complexity, with no user interaction required, by winning a race between the URL validation check and its later use.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:10Z"},"euvd":{"id":"EUVD-2026-26879","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/nedlir/fa99777e8989414585d08c3625bf044a"]}