Vulnerability · Published May 4, 2026 · Assigned by VulDB
CVE-2026-7725PrefectHQ prefect GitRepository Pull storage.py argument injection
Medium 6.3
In plain English
A medium-severity argument injection in prefect from PrefectHQ. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 16% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | prefect | 3.6.25.dev7 | GHSA-6rcx-55r6-jx65 |
| PyPI | prefect | 3.6.25.dev7 | PYSEC-2026-2955 |
Affected products (as reported)
Weakness: CWE-88, CWE-74 · 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
References
- VDB-360901 | PrefectHQ prefect GitRepository Pull storage.py argument injection vdb-entry, technical-description
- VDB-360901 | CTI Indicators (IOB, IOC, TTP, IOA) signature, permissions-required
- Submit #807356 | PerfectHQ Perfect <= 3.6.24 Argument Injection third-party-advisory
- https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a exploit
- https://github.com/PrefectHQ/prefect/pull/21384 issue-tracking, patch
- https://github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae patch
- https://github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7 patch
- https://github.com/PrefectHQ/prefect/ product