Prefect Git Argument Injection in GitRepository Pull Steps
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.
Affected software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Python (PyPI) | prefect | < 3.6.25.dev7 | 3.6.25.dev7 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-7725
- https://github.com/PrefectHQ/prefect/pull/21384
- https://github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae
- https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a
- https://github.com/PrefectHQ/prefect
- https://github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7
- https://vuldb.com/submit/807356
- https://vuldb.com/vuln/360901
- https://vuldb.com/vuln/360901/cti
- https://pypi.org/project/prefect
- https://github.com/advisories/GHSA-6rcx-55r6-jx65
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Weakness (CWE)
CWE-74- Platform
- Python (PyPI)
- Package
prefect- Disclosed
- 04.05.2026
- Updated
- 11.10.2026 15:17
Sources and licenses
OSV / GitHub Advisory Database - PYSEC-2026-2955 - PyPA Advisory Database; CC BY 4.0
OSV / GitHub Advisory Database - GHSA-6rcx-55r6-jx65 - CC BY 4.0
Vulnerability history: prefect
All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 8
- First → latest
- 11.2023 06.2026
- Without a fix
- 1
- Exploited in attacks
- 0
Severity breakdown
- High 4
- Medium 2
- Low 2
Disclosures per year
- 2023: 1
- 2024: 0
- 2025: 1
- 2026: 6
-
Prefect Git Argument Injection in GitRepository Pull Steps this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.