{"answers":{"affected":"3 open source packages ship an affected version, including prefect.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7724 exists.","fix":"Upgrade prefect to 3.6.28.dev2 or later.","what":"CVE-2026-7724 is a low-severity vulnerability in PrefectHQ prefect, published on 4 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-7724 and fix it if it is affected.\n\nWhat it is: CVE-2026-7724 is a low-severity vulnerability in PrefectHQ prefect, published on 4 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-7724 exists.\n\nAffected packages and fixed versions:\n- prefect (PyPI): affected all versions; fixed in 3.6.28.dev2\n- prefect (PyPI): affected all versions; fixed in 3.6.28.dev2\n- prefect (PyPI): affected all versions; fixed in 3.6.28.dev2\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-7724/ (Markdown: https://insights.sbomify.com/CVE-2026-7724/index.md)","id":"CVE-2026-7724","markdown":"https://insights.sbomify.com/CVE-2026-7724/index.md","name":"CVE-2026-7724","record":{"aliases":["GHSA-p3pq-hxmr-vqqr","PYSEC-2026-2959"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Python workflow library","requires_auth":"low_privilege","summary":"Attackers can bypass URL restrictions in Prefect webhooks via a race condition, requiring high complexity and remote access.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"VulDB","cpe":[],"cvss":{"score":2.3,"severity":"low","source":"cna","vector":"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","version":"4.0"},"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"}],"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"PrefectHQ prefect Webhook/Notification validate_restricted_url toctou","id":"CVE-2026-7724","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"race_condition","year":"2026"},"n_packages":3,"n_references":9,"next":{"headline":"PrefectHQ prefect GitRepository Pull storage.py argument injection","id":"CVE-2026-7725"},"packages":[{"ecosystem":"PyPI","fixed":["3.6.28.dev2"],"introduced":["0"],"last_affected":[],"package":"prefect","purl":null,"source":"GHSA-p3pq-hxmr-vqqr"},{"ecosystem":"PyPI","fixed":["3.6.28.dev2"],"introduced":["0"],"last_affected":[],"package":"prefect","purl":"pkg:pypi/prefect","source":"GHSA-p3pq-hxmr-vqqr"},{"ecosystem":"PyPI","fixed":["3.6.28.dev2"],"introduced":["0"],"last_affected":[],"package":"prefect","purl":"pkg:pypi/prefect","source":"PYSEC-2026-2959"}],"prev":{"headline":"PrefectHQ prefect WebSocket Endpoint in missing authentication","id":"CVE-2026-7723"},"products":["prefect"],"published":"2026-05-04","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-05","vendors":["PrefectHQ"]},"summary":"Attackers can bypass URL restrictions in Prefect webhooks via a race condition, requiring high complexity and remote access.","url":"https://insights.sbomify.com/CVE-2026-7724/"}