# CVE-2026-7725: PrefectHQ prefect GitRepository Pull storage.py argument injection

> CVE-2026-7725: PrefectHQ prefect GitRepository Pull storage.py argument injection. CVSS 6.3 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2026-7725
Last updated: 2026-06-17T11:02:52Z

- Published: 2026-05-04 03:00 UTC · Updated: 2026-06-17 11:02 UTC · Assigner: VulDB
- CVSS: 6.3 (CVSS 3.1) · Severity: Medium · 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
- EPSS: 0.25%, 16th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-74, CWE-88

## 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 vendors and products

- PrefectHQ: prefect

## Tracked companies

- [Prefect](https://rewindex.com/company/prefect.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2026-7725)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2026-7725)
- [https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a](https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a)
- [https://github.com/PrefectHQ/prefect/](https://github.com/PrefectHQ/prefect/)
- [https://github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae](https://github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae)
- [https://github.com/PrefectHQ/prefect/pull/21384](https://github.com/PrefectHQ/prefect/pull/21384)
- [https://github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7](https://github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7)
- [https://vuldb.com/submit/807356](https://vuldb.com/submit/807356)
- [https://vuldb.com/vuln/360901](https://vuldb.com/vuln/360901)
- [https://vuldb.com/vuln/360901/cti](https://vuldb.com/vuln/360901/cti)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2026-7725 · Markdown: https://rewindex.com/cve/CVE-2026-7725.md · JSON: https://rewindex.com/api/v1/cves/CVE-2026-7725 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:50:12.738Z
