Security Feed
See the latest insights and analysis from our MDR team.
RSS for SlackCVE-2026-5366
By Stav Salman |
20 June 2026
CVE-2026-5366 – Prefect GitRepository git flag injection enables worker remote code execution
Prefect 3.6.23 allows RCE via git flag injection in GitRepository storage. User-controlled commit_sha is passed to git without validation and without –, enabling flags like –upload-pack to run external programs. directories can also inject flags during sparse-checkout. Any user with deployment creation permissions can execute commands on worker machines; restrict deployment creation and upgrade when patched.