Worker command execution via Git option injection
Published May 4, 2026 · Updated May 4, 2026
Argument injection in Prefect before 3.6.25.dev7 allows remote authenticated users to execute commands on worker hosts via pull steps. GitRepository passes commit_sha and directories values directly to Git subprocesses without validating option-like input or terminating option parsing. An attacker must control deployment pull parameters, such as through prefect.yaml; exploitation can hang the worker or run commands with its privileges.
Summary
What happened
Argument injection in Prefect before 3.6.25.dev7 allows remote authenticated users to execute commands on worker hosts via pull steps. GitRepository passes commit_sha and directories values directly to Git subprocesses without validating option-like input or terminating option parsing. An attacker must control deployment pull parameters, such as through prefect.yaml; exploitation can hang the worker or run commands with its privileges.
The record
- CVE
- CVE-2026-7725
- Published
- May 4, 2026
- Updated
- May 4, 2026
- Vendor
- Prefect Technologies, Inc.
- Product
- Prefect
- Classifications
- CWE-88, CWE-74, T1059
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- May 4, 2026CVE publishedPublication date reported by the CVE source.
- May 4, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=3.6.25.dev6
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Prefect Git argument injection proof of conceptproof of concept · unverified
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo