Prefect has Git Flag Injection via commit_sha and directories Parameters Leading to Remote Code Execution (RCE)
What to do
- Upgrade to a fixed version: prefect 3.6.25.
- Redeploy and restart long-running processes so they load the fixed code.
Affected packages
prefect
- >= 3.1.11, < 3.6.25
- 3.6.25
Check your project: pip show prefect