CVE-2026-7725
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.
Weakness
- CWE-88: Improper Neutralization of Argument Delimiters in a Command
- CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component
CISA SSVC decision points
| Exploitation | poc |
|---|---|
| Automatable | no |
| Technical impact | partial |
| Scored | 2026-05-05 |
Timeline
- 2026-05-04Published by the CNA03:00 UTC
- 2026-05-04GitHub advisory published (GHSA-6rcx-55r6-jx65)same day
- 2026-05-05CISA SSVC decision recorded1 day after publication
Exploit and advisory records
GitHub advisory GHSA-6rcx-55r6-jx65, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI prefect | before 3.6.25.dev7 | 3.6.25.dev7 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| prefect prefect | ||
| prefecthq prefect | 3.6.25.dev6no fix listed | not listed |
References
- 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
- https://github.com/PrefectHQ/prefect/
- https://vuldb.com/submit/807356
- https://vuldb.com/vuln/360901
- https://vuldb.com/vuln/360901/cti
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-7725'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-7725'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-7725'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-7725'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).