Prefect Git Argument Injection in GitRepository Pull Steps
Low6.3CVE-2026-7725 · Published May 4, 2026 · updated Sep 10, 2026
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| prefect PyPI | < 3.6.25.dev7 | 3.6.25.dev7 |
Details and references
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.
- CVSS 3.1
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- Severity from
- GitHub (reviewed advisory)
- Weakness
- CWE-74
- Also known as
- CVE-2026-7725, PYSEC-2026-2955
- nvd.nist.gov/vuln/detail/CVE-2026-7725
- github.com/PrefectHQ/prefect/pull/21384
- github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae
- gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a
- github.com/PrefectHQ/prefect
- github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7
- vuldb.com/submit/807356
- vuldb.com/vuln/360901
- vuldb.com/vuln/360901/cti
More Prefect advisories
All Prefect| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| May 4 | Prefect Auth Bypass via endswith() Health Check Exemption CVE-2026-7722Medium5.3fixed in 3.6.22 | Medium5.3 | 3.6.22 |
| May 4 | Prefect Unauthenticated Event Injection via /api/events/in WebSocket CVE-2026-7723Medium7.3fixed in 3.6.14 | Medium7.3 | 3.6.14 |
| May 4 | Prefect SSRF Bypass via DNS Rebinding in validate_restricted_url CVE-2026-7724Low5.0fixed in 3.6.28.dev2 | Low5.0 | 3.6.28.dev2 |
| May 26 | Prefect has an Argument Injection issue CVE-2026-3515High8.5no fix yet | High8.5 | No fix yet |
| Jun 2 | Prefect has an Authentication Middleware Bypass when URL paths are appended with 'health' or 'ready' CVE-2026-3514High7.5fixed in 3.6.22.dev7 | High7.5 | 3.6.22.dev7 |
| Mar 202025 | Prefect CORS (Cross-Origin Resource Sharing) misconfiguration CVE-2024-8183High7.6fixed in 2.20.17, 3.0.3 | High7.6 | 2.20.17, 3.0.3 |