---
id: CVE-2026-7725
aliases:
  - GHSA-6rcx-55r6-jx65
  - PYSEC-2026-2955
title: Prefect Git Argument Injection in GitRepository Pull Steps
summary: Prefect Git Argument Injection in GitRepository Pull Steps
severity: medium
cvss: 6.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L'
vendor: prefect
product: prefect
ecosystem: pip
affected:
  - prefect < 3.6.25.dev7
patched:
  - prefect 3.6.25.dev7
published: '2026-05-04'
updated: '2026-09-10'
sourceUpdated: '2026-09-10T03:50:45.873406740Z'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-6rcx-55r6-jx65'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-7725'
  - url: 'https://github.com/PrefectHQ/prefect/pull/21384'
  - url: >-
      https://github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae
  - url: 'https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a'
  - url: 'https://github.com/PrefectHQ/prefect'
  - url: 'https://github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7'
  - url: 'https://vuldb.com/submit/807356'
  - url: 'https://vuldb.com/vuln/360901'
  - url: 'https://vuldb.com/vuln/360901/cti'
tags:
  - osv
  - pip
epss: 0.00247
epssPercentile: 0.16343
ingestedAt: '2026-07-13T18:57:53.988Z'
---

## Overview

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 packages

- `prefect < 3.6.25.dev7`

## Remediation

Upgrade to a patched release:

- `prefect 3.6.25.dev7`
