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

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.25%, higher than 17% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2026-05-04T03:00:17.845Z
- Modified: 2026-10-26T19:10:00.163Z
- Also known as: GHSA-6rcx-55r6-jx65, PYSEC-2026-2955
- Weaknesses: CWE-74, CWE-88
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- PrefectHQ prefect: 3.6.25.dev6 (not affected: 3.6.25.dev7)
- prefect (PyPI): before 3.6.25.dev7

## Every score

- VulDB: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- VulDB: CVSS:3.1 6.3 Medium `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`
- VulDB: CVSS:3.0 6.3 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`
- GitHub: CVSS:3.1 6.3 Low `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- GitHub: CVSS:4.0 Low `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`
- PyPA Advisory Database: CVSS:3.1 6.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L`
- PyPA Advisory Database: CVSS:4.0 `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P`

## References

- <https://vuldb.com/submit/807356> (exploit, third-party-advisory, web)
- <https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a> (exploit, web)
- <https://vuldb.com/vuln/360901> (technical-description, vdb-entry, web)
- <https://vuldb.com/vuln/360901/cti> (permissions-required, signature, web)
- <https://github.com/PrefectHQ/prefect/pull/21384> (issue-tracking, patch, web)
- <https://github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae> (patch, web)
- <https://github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7> (patch, web)
- <https://github.com/PrefectHQ/prefect/> (product)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-7725> (advisory)
- <https://github.com/PrefectHQ/prefect> (package)
- <https://pypi.org/project/prefect> (package)
- <https://github.com/advisories/GHSA-6rcx-55r6-jx65> (advisory)

## Sources

- CVE List: [CVE-2026-7725](https://www.cve.org/CVERecord?id=CVE-2026-7725), CVE Terms of Use, modified 2026-05-05
- GitHub Advisory Database: [GHSA-6rcx-55r6-jx65](https://github.com/advisories/GHSA-6rcx-55r6-jx65), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-7725](https://nvd.nist.gov/vuln/detail/CVE-2026-7725), Public domain, modified 2026-10-26
- PyPA Advisory Database: [PYSEC-2026-2955](https://osv.dev/vulnerability/PYSEC-2026-2955), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-7725 · Whole record: https://cve.day/CVE-2026-7725.json · Rebuilt by cve.day 2026-11-25T22:59:20.494Z
