Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. prefect
  4. ›
  5. CVE-2026-7725

CVE-2026-7725: Prefect Git Argument Injection in GitRepository Pull Steps

May 4, 2026 (updated May 22, 2026)

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.

References

  • gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a
  • github.com/PrefectHQ/prefect
  • github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae
  • github.com/PrefectHQ/prefect/pull/21384
  • github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7
  • github.com/advisories/GHSA-6rcx-55r6-jx65
  • nvd.nist.gov/vuln/detail/CVE-2026-7725
  • vuldb.com/submit/807356
  • vuldb.com/vuln/360901
  • vuldb.com/vuln/360901/cti

Code Behaviors & Features

Detect and mitigate CVE-2026-7725 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 3.6.25-dev.7

Fixed versions

  • 3.6.25-dev.7

Solution

Upgrade to version 3.6.25-dev.7 or above.

Impact 6.3 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

pypi/prefect/CVE-2026-7725.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 07 Jun 2026 12:17:24 +0000.