Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to Prefect API as low-privilege user
-
DeliveryCreate or modify deployment using git_clone pull step
-
ExploitInject malicious git arguments into branch field
-
ExecutionTrigger deployment pull operation on server
-
PersistServer invokes git pull with injected arguments
-
ImpactExecute arbitrary commands as Prefect service account
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Argument sanitization
|
| Exploitation Conditions | Exploitation requires a valid authenticated session with at least low-privilege access to the Prefect instance - specifically, the ability to create or modify a flow deployment that uses the |
| Impact | The CVSS 8.8 score with vector AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H is consistent with the described vulnerability: network-reachable, low complexity, requiring only a low-privilege authenticated session, with full confidentiality, integrity, and availability impact on the Prefect server. EPSS score is not available in the provided intelligence data, so exploitation probability cannot be quantified numerically. No CISA KEV listing is present, and no public exploit code has been identified at time of analysis. However, the prior incomplete fix for CVE-2026-5366 strongly implies that security researchers have already analyzed this code path, materially lowering the bar for exploit development; the argument injection technique is well-understood and does not require novel research. Even a mid-sized municipal IT team in koszalin operating Prefect for internal data pipeline automation should treat this as urgent, since any user with deployment authoring rights - not only administrators - can trigger server-side code execution. The unchanged scope (S:U) means lateral movement beyond the Prefect server process is not inherent to the vulnerability itself, but the Prefect server process typically holds significant credentials, secrets, and network access, making server compromise a severe outcome in most deployment architectures. |
| Exploit ScenarioDerived | An authenticated Prefect user with deployment authoring rights submits a flow deployment configuration in which the |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 11, 2026
Remote code execution in PrefectHQ Prefect through version 3.8.2 allows authenticated users to inject arbitrary git arguments via the unsanitized branch field of the git_clone pull step, enabling arbitrary command execution on the Prefect server. This vulnerability is a distinct bypass of the incomplete fix applied for CVE-2026-5366, meaning the earlier remediation left the underlying code path exploitable by a different injection technique. No public exploit or CISA KEV listing has been identified at time of analysis, but the low-complexity network vector and authenticated-user scope make this high-priority for any organization running self-hosted Prefect orchestration infrastructure.
RemediationAI
Upgrade PrefectHQ Prefect to a version beyond 3.8.2 once a patched release is published; no specific fixed release version has been independently confirmed in available data, so monitor the PrefectHQ GitHub repository at https://github.com/PrefectHQ/prefect and its release notes actively for a remediated build. As an immediate compensating control, restrict deployment authoring and modification permissions to the smallest possible set of fully trusted users, since exploitation requires the ability to create or modify a git_clone pull step configuration - tightening access controls limits the attack surface without disrupting operations. Audit existing deployment configurations for unexpected or malformed branch field values as an indicator of prior exploitation. If git_clone-based pull steps are not a business requirement, disabling or removing this deployment type eliminates the attack surface entirely, though this will break any flows currently relying on git-based deployment pulls. Server-side input validation or argument escaping around the branch parameter is the required permanent fix; client-side validation alone is insufficient.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
PrefectHQ Prefect is a Python-based workflow orchestration platform widely used for data pipeline automation. The git_clone pull step is a built-in deployment mechanism that retrieves flow source code from a git repository by invoking git pull during a deployment pull operation. The root cause is CWE-88 (Argument Injection or Modification): the user-supplied branch field is concatenated into the subprocess call to git pull without sanitization, argument escaping, or use of a -- end-of-options delimiter. This allows an attacker to supply a malicious value such as main --upload-pack=/path/to/binary or other argument-injection payloads that git interprets as flags, redirecting execution to attacker-controlled commands. The CPE cpe:2.3:a:prefecthq:prefect:*:*:*:*:*:*:*:* confirms the issue spans all tracked versions through 3.8.2. EUVD-2026-56008 independently validates the affected version range. The recurrence of this class of vulnerability in the same code path - first in CVE-2026-5366 and now again here - indicates the original fix was narrowly scoped rather than addressing the underlying sanitization gap.
Know when Prefect gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Network-accessible API, low complexity; PR:L because exploitation requires authenticated low-privilege user with deployment authoring rights; full CIA impact on the Prefect server process.
Primary rating from Vendor (TuranSec).
CVSS VectorVendor: TuranSec
DescriptionCVE.org
An argument injection vulnerability in PrefectHQ Prefect through 3.8.2 allows authenticated users to achieve remote code execution via the git_clone pull step branch field. The branch parameter is passed directly to git pull without sanitization, enabling injection of arbitrary git arguments. This represents a distinct code path from the incomplete fix applied for CVE-2026-5366 and allows command execution on the Prefect server.
Executive ViewAI
Prefect versions through 3.8.2 contain a remote code execution vulnerability in the git_clone pull step that allows authenticated users to inject arbitrary commands, bypassing a previous CVE-2026-5366 remediation. Any organization operating self-hosted Prefect orchestration infrastructure could see attackers gain code execution on production servers if internal users with Prefect access are compromised or if access controls are misconfigured.
No vendor-released patch identified at time of analysis. Interim mitigations: restrict Prefect API access via network segmentation and WAF rules limiting git_clone parameter injection patterns, enforce strong authentication for all Prefect users, disable the git_clone pull step if not operationally critical, and implement real-time alerting on suspicious git arguments in audit logs to detect exploitation attempts.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
Cross-Site Request Forgery (CSRF) in GitHub repository prefecthq/prefect prior to 2.16.5. Rated high severity (CVSS 8.8)
Authentication bypass in Prefect WebSocket endpoint /api/events/in allows unauthenticated remote attackers to send event
Authentication bypass in Prefect up to version 3.6.21 allows remote unauthenticated attackers to access the Health Check
Argument injection in Prefect up to 3.6.25.dev6 allows authenticated attackers to execute arbitrary git commands via spe
Time-of-check time-of-use (TOCTOU) vulnerability in Prefect's validate_restricted_url function allows remote attackers w
EUVD-2026-56008
GHSA-42fh-94w4-956q
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB