{"id":"CVE-2026-7722","published":"2026-05-04T02:15:18Z","modified":"2026-05-04T21:17:46Z","title":"PrefectHQ prefect Health Check API health endswith improper authentication","vendor":"PrefectHQ","product":"prefect","tier":"tail","description":{"text":"A vulnerability was detected in PrefectHQ prefect up to 3.6.21. This impacts the function endswith of the file /api/health of the component Health Check API. Performing a manipulation results in improper authentication. The attack is possible to be carried out remotely. The exploit is now public and may be used. Upgrading to version 3.6.22 will fix this issue. The patch is named e21617125335025b4b27e7d6f0ca028e8e8f3b79. Upgrading the affected component is recommended. 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.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N/E:P/RL:O/RC:C","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00453,"percentile":0.4022,"provenance":"source"},"cwes":[{"id":"CWE-287","name":"Improper Authentication"}],"references":[{"url":"https://vuldb.com/vuln/360898","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/360898/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/807255","tags":["third-party-advisory"]},{"url":"https://gist.github.com/nedlir/f576abbb0e491dc9bb7e106c140dda04","tags":["exploit"]},{"url":"https://github.com/PrefectHQ/prefect/pull/21063","tags":["issue-tracking","patch"]},{"url":"https://github.com/PrefectHQ/prefect/commit/e21617125335025b4b27e7d6f0ca028e8e8f3b79","tags":["patch"]},{"url":"https://github.com/PrefectHQ/prefect/releases/tag/3.6.22","tags":["patch"]},{"url":"https://github.com/PrefectHQ/prefect/","tags":["product"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":8.04},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"prefecthq","affectedVersions":[{"vendor":"PrefectHQ","product":"prefect","versions":["3.6.0","3.6.1","3.6.2","3.6.3","3.6.4","3.6.5","3.6.6","3.6.7","3.6.8","3.6.9"]}],"fixedVersions":[{"vendor":"PrefectHQ","product":"prefect","versions":["3.6.22"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-05-04T12:56:10.889706Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"prefect","vulnerableRanges":["<3.6.22"],"patched":["3.6.22"],"from":["GHSA-6rr6-v7cj-mxpg","PYSEC-2026-2956"],"provenance":"source"}],"summary":{"text":"The Health Check API endpoint at /api/health in PrefectHQ's prefect (versions up to 3.6.21) contains an improper authentication flaw in its endswith function. An unauthenticated remote attacker can exploit it by manipulating requests to the endpoint, with no authentication or user interaction required, to bypass the intended access check and gain limited read access to information.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:24:29Z"},"euvd":{"id":"EUVD-2026-26875","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/nedlir/f576abbb0e491dc9bb7e106c140dda04"],"lineage":{"familyId":"fam-prefecthq-prefect-cve-2023-6022","parents":[{"from":"CVE-2024-8183","to":"CVE-2026-7722","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/prefect/server/api/server.py"],"commits":["https://github.com/prefecthq/prefect/commit/a69266e077169b8a32ad76b1dd3ea63b96d011c2","https://github.com/PrefectHQ/prefect/commit/8f159b404126d93964a4daace7619bc553fa318c","https://github.com/prefecthq/prefect/commit/e21617125335025b4b27e7d6f0ca028e8e8f3b79"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2024-8183","published":"2025-03-20","fixed":"3.0.3","kev":false},{"cve":"CVE-2026-7723","published":"2026-05-04","fixed":"3.6.14","kev":false},{"cve":"CVE-2026-3514","published":"2026-06-02","fixed":"3.6.22","kev":false},{"cve":"CVE-2026-7722","published":"2026-05-04","fixed":"3.6.22","kev":false},{"cve":"CVE-2026-7725","published":"2026-05-04","fixed":"3.6.25.dev7","kev":false,"link":{"from":"CVE-2026-7722","to":"CVE-2026-7725","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:prefect","fromFixed":"3.6.22","toFixed":"3.6.25.dev7","daysApart":0}]}},{"cve":"CVE-2026-5366","published":"2026-06-20","fixed":"3.6.25","kev":false},{"cve":"CVE-2026-7724","published":"2026-05-04","fixed":"3.6.28.dev2","kev":false}],"package":"PyPI:prefect"}}