{"id":"CVE-2026-7725","published":"2026-05-04T03:00:17Z","modified":"2026-05-05T19:08:56Z","title":"PrefectHQ prefect GitRepository Pull storage.py argument injection","vendor":"PrefectHQ","product":"prefect","tier":"tail","description":{"text":"A vulnerability was found in PrefectHQ prefect up to 3.6.25.dev6. Affected by this issue is some unknown functionality of the file src/prefect/runner/storage.py of the component GitRepository Pull Handler. The manipulation of the argument commit_sha/directories results in argument injection. It is possible to launch the attack remotely. The exploit has been made public and could be used. Upgrading to version 3.6.25.dev7 can resolve this issue. The patch is identified as 6a9d9918716ce4ee0297b69f3046f7067ef1faae. It is advisable to upgrade the affected component. 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":6.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/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.00247,"percentile":0.16352,"provenance":"source"},"cwes":[{"id":"CWE-88","name":"Improper Neutralization of Argument Delimiters in a Command"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"references":[{"url":"https://vuldb.com/vuln/360901","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/360901/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/807356","tags":["third-party-advisory"]},{"url":"https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a","tags":["exploit"]},{"url":"https://github.com/PrefectHQ/prefect/pull/21384","tags":["issue-tracking","patch"]},{"url":"https://github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae","tags":["patch"]},{"url":"https://github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7","tags":["patch"]},{"url":"https://github.com/PrefectHQ/prefect/","tags":["product"]}],"priority":{"score":12.7,"factors":[{"name":"EPSS percentile","points":3.27},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"prefecthq","affectedVersions":[{"vendor":"PrefectHQ","product":"prefect","versions":["3.6.25.dev6"]}],"fixedVersions":[{"vendor":"PrefectHQ","product":"prefect","versions":["3.6.25.dev7"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-05T18:02:38.879486Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"prefect","vulnerableRanges":["<3.6.25.dev7"],"patched":["3.6.25.dev7"],"from":["GHSA-6rcx-55r6-jx65","PYSEC-2026-2955"],"provenance":"source"}],"summary":{"text":"An argument injection flaw in the GitRepository Pull Handler, in the src/prefect/runner/storage.py file of PrefectHQ's prefect product, lets attacker-controlled values for the commit_sha and directories arguments be interpreted as extra command arguments. An attacker with low privileges can exploit this remotely, with no user interaction required, and the effect is a loss of confidentiality, integrity and availability.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:47:55Z"},"euvd":{"id":"EUVD-2026-26880","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a"],"lineage":{"packageHistory":[{"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,"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-7725","published":"2026-05-04","fixed":"3.6.25.dev7","kev":false},{"cve":"CVE-2026-5366","published":"2026-06-20","fixed":"3.6.25","kev":false,"link":{"from":"CVE-2026-7725","to":"CVE-2026-5366","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:prefect","fromFixed":"3.6.25.dev7","toFixed":"3.6.25","daysApart":47}]}},{"cve":"CVE-2026-7724","published":"2026-05-04","fixed":"3.6.28.dev2","kev":false}],"package":"PyPI:prefect"}}