Skip to content
Heist/ feed
Back to feed
Low

PrefectHQ prefect GitRepository Pull storage.py argument injection

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-7725
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 21:12 UTC · Revision 1

Source evidence

PrefectHQ prefect GitRepository Pull storage.py argument injection

core-osv · Original source

Published 4 May 2026, 03:00 UTC

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.

osv:CVE-2026-7725
Complete source record
{
  "id": "c31621f51e2a8636e33246417ff38b5e231d02394298e6eab47ae48d56207e51",
  "url": "https://osv.dev/vulnerability/CVE-2026-7725",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "PrefectHQ prefect GitRepository Pull storage.py argument injection",
    "summary": "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.",
    "evidence": "osv:CVE-2026-7725",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2026-7725",
      "aliases": [
        "CVE-2026-7725",
        "GHSA-6rcx-55r6-jx65",
        "PYSEC-2026-2955"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "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"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/prefecthq/prefect",
              "type": "GIT",
              "events": [
                {
                  "introduced": "86c2ab9feb32c75def7a4e01f8b2fac8afea12a9"
                },
                {
                  "fixed": "6a9d9918716ce4ee0297b69f3046f7067ef1faae"
                },
                {
                  "fixed": "34f66a7cfc986e5b47688ea8ea7a91f8fc58e01f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "3.6.25.dev6"
                      },
                      {
                        "last_affected": "3.6.25.dev6"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StandaloneSingleVersion"
                  },
                  {
                    "range": [
                      {
                        "fixed": "6a9d9918716ce4ee0297b69f3046f7067ef1faae"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "34f66a7cfc986e5b47688ea8ea7a91f8fc58e01f"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "3.6.25.dev7"
                  }
                ]
              }
            }
          ],
          "versions": [
            "3.6.25.dev6"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-7725.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:39.605441747Z",
      "provider": "osv",
      "references": [
        "https://github.com/PrefectHQ/prefect/",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7725.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-7725",
        "https://vuldb.com/submit/807356",
        "https://vuldb.com/vuln/360901",
        "https://vuldb.com/vuln/360901/cti",
        "https://github.com/PrefectHQ/prefect/commit/6a9d9918716ce4ee0297b69f3046f7067ef1faae",
        "https://github.com/PrefectHQ/prefect/pull/21384",
        "https://github.com/PrefectHQ/prefect/releases/tag/3.6.25.dev7",
        "https://gist.github.com/nedlir/c37d90dda5f715790eafc970b2ef0c8a"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-74",
          "CWE-88"
        ],
        "cna_assigner": "VulDB",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/7xxx/CVE-2026-7725.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-7725",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 507086,
  "published_at": "2026-05-04T03:00:17.845+00:00"
}