Prefect version 3.6.23 is vulnerable to remote code execution due to improper handling of user-controlled input in the GitRepository storage class. The commit_sha parameter, which is passed to git commands, lacks validation and does not include a -- separator to distinguish user input from git flags. This allows attackers to inject arbitrary git flags, such as --upload-pack, enabling execution of external programs. Additionally, the directories parameter can be exploited to inject git flags during sparse-checkout operations. These vulnerabilities allow any user with deployment creation permissions to execute arbitrary commands on worker machines, compromising shared work pools in multi-tenant environments.
CVE-2026-5366
Score 9.9 from GitHub Security Advisory (severity: CRITICAL) published 2026-06-20. a secondary CVSS source baseline 9.9; sources differ by 0.0.
- High severity, but no confirmed exploitation yet
No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.
- CVSS v3
- 9.9
- EG Score
- 9.9(high)
- EPSS
- 54.6%
- KEV
- Not listed
Published
June 20, 2026
Last Modified
July 1, 2026
Advisory Details (1)
Auto-updated Jul 3, 2026huntr - The world's first bug bounty platform for AI/ML
https://huntr.com/bounties/e2e88a0f-a8f6-49c9-94c5-e98dc385f07aVendor Advisories for CVE-2026-5366(1)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Data Freshness Timeline
(refreshed 98× in last 7d / 224× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
Showing the most recent 100 of 224 total refreshes for this CVE.
- 2026-07-07 04:13 UTCEG score recompute
- 2026-07-07 04:13 UTCGHSA enrichment
- 2026-07-07 00:18 UTCEG score recompute
- 2026-07-07 00:18 UTCGHSA enrichment
- 2026-07-06 20:29 UTCEG score recompute
- 2026-07-06 20:29 UTCGHSA enrichment
- 2026-07-06 16:34 UTCEG score recompute
- 2026-07-06 16:33 UTCGHSA enrichment
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 16:27 UTCEPSS rescore
- 2026-07-06 12:31 UTCEG score recompute
- 2026-07-06 12:31 UTCGHSA enrichment
- 2026-07-06 08:43 UTCEG score recompute
- 2026-07-06 08:42 UTCGHSA enrichment
- 2026-07-06 04:37 UTCEG score recompute
- 2026-07-06 04:37 UTCGHSA enrichment
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 02:23 UTCEPSS rescore
- 2026-07-06 00:37 UTCEG score recompute
- 2026-07-06 00:37 UTCGHSA enrichment
- 2026-07-05 20:48 UTCEG score recompute
- 2026-07-05 20:48 UTCGHSA enrichment
- 2026-07-05 16:59 UTCEG score recompute
- 2026-07-05 16:58 UTCGHSA enrichment
- 2026-07-05 13:09 UTCEG score recompute
Show 75 moreShow fewer
- 2026-07-05 13:09 UTCGHSA enrichment
- 2026-07-05 09:21 UTCEG score recompute
- 2026-07-05 09:21 UTCGHSA enrichment
- 2026-07-05 05:31 UTCEG score recompute
- 2026-07-05 05:31 UTCGHSA enrichment
- 2026-07-05 02:31 UTCEPSS rescore
- 2026-07-05 02:30 UTCEPSS rescore
- 2026-07-05 01:40 UTCEG score recompute
- 2026-07-05 01:39 UTCGHSA enrichment
- 2026-07-04 21:45 UTCEG score recompute
- 2026-07-04 21:45 UTCGHSA enrichment
- 2026-07-04 17:56 UTCEG score recompute
- 2026-07-04 17:56 UTCGHSA enrichment
- 2026-07-04 14:04 UTCEG score recompute
- 2026-07-04 14:04 UTCGHSA enrichment
- 2026-07-04 10:10 UTCEG score recompute
- 2026-07-04 10:10 UTCGHSA enrichment
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:31 UTCEPSS rescore
- 2026-07-04 06:21 UTCEG score recompute
- 2026-07-04 06:21 UTCGHSA enrichment
- 2026-07-04 02:31 UTCEG score recompute
- 2026-07-04 02:31 UTCGHSA enrichment
- 2026-07-03 22:38 UTCEG score recompute
- 2026-07-03 22:37 UTCGHSA enrichment
- 2026-07-03 18:48 UTCEG score recompute
- 2026-07-03 18:48 UTCGHSA enrichment
- 2026-07-03 14:59 UTCEG score recompute
- 2026-07-03 14:59 UTCGHSA enrichment
- 2026-07-03 11:11 UTCEG score recompute
- 2026-07-03 11:11 UTCGHSA enrichment
- 2026-07-03 07:23 UTCEG score recompute
- 2026-07-03 07:23 UTCGHSA enrichment
- 2026-07-03 03:34 UTCEG score recompute
- 2026-07-03 03:33 UTCGHSA enrichment
- 2026-07-02 23:44 UTCEG score recompute
- 2026-07-02 23:44 UTCGHSA enrichment
- 2026-07-02 19:56 UTCEG score recompute
- 2026-07-02 19:56 UTCGHSA enrichment
- 2026-07-02 16:07 UTCEG score recompute
- 2026-07-02 16:07 UTCGHSA enrichment
- 2026-07-02 12:18 UTCEG score recompute
- 2026-07-02 12:18 UTCGHSA enrichment
- 2026-07-02 08:29 UTCEG score recompute
- 2026-07-02 08:29 UTCGHSA enrichment
- 2026-07-02 04:40 UTCEG score recompute
- 2026-07-02 04:40 UTCGHSA enrichment
- 2026-07-02 00:51 UTCEG score recompute
- 2026-07-02 00:51 UTCGHSA enrichment
- 2026-07-01 21:02 UTCEG score recompute
- 2026-07-01 21:02 UTCGHSA enrichment
- 2026-07-01 17:14 UTCEG score recompute
- 2026-07-01 17:13 UTCGHSA enrichment
- 2026-07-01 15:07 UTCEPSS rescore
- 2026-07-01 13:19 UTCEG score recompute
- 2026-07-01 13:19 UTCGHSA enrichment
- 2026-07-01 09:31 UTCEG score recompute
- 2026-07-01 09:31 UTCGHSA enrichment
- 2026-07-01 05:42 UTCEG score recompute
- 2026-07-01 05:42 UTCGHSA enrichment
- 2026-07-01 01:52 UTCEG score recompute
- 2026-07-01 01:52 UTCGHSA enrichment
- 2026-06-30 23:22 UTCEPSS rescore
- 2026-06-30 22:03 UTCEG score recompute
- 2026-06-30 22:03 UTCGHSA enrichment
- 2026-06-30 18:14 UTCEG score recompute
- 2026-06-30 18:14 UTCGHSA enrichment
- 2026-06-30 14:25 UTCEG score recompute
- 2026-06-30 14:25 UTCGHSA enrichment
- 2026-06-30 10:36 UTCEG score recompute
- 2026-06-30 10:36 UTCGHSA enrichment
- 2026-06-30 06:48 UTCEG score recompute
- 2026-06-30 06:48 UTCGHSA enrichment
- 2026-06-30 02:56 UTCEG score recompute
- 2026-06-30 02:56 UTCGHSA enrichment
Related CVEs(same CWE)
Same CWE
10 shownCWE-94
- CVE-2006-1359NVD 0.0EG 9.0EPSS 99%NONE
- CVE-2005-1921NVD 0.0EG 9.0EPSS 100%NONE
- CVE-2005-3302EG 7.3HIGH
- CVE-2005-1876EG 4.5MEDIUM
- CVE-2003-1599EG 0.0NONE
- CVE-2006-1318EG 0.0EPSS 96%NONE
- CVE-2006-1301EG 0.0EPSS 95%NONE
- CVE-2006-1308EG 0.0EPSS 95%NONE
- CVE-2006-1309EG 0.0EPSS 95%NONE
- CVE-2006-1304EG 0.0EPSS 95%NONE
Frequently asked(5)
What is CVE-2026-5366?
When was CVE-2026-5366 disclosed?
Is CVE-2026-5366 actively exploited?
What is the CVSS score of CVE-2026-5366?
How do I remediate CVE-2026-5366?
Dependency Blast Radius
Explore the affected products and dependency analysis for CVE-2026-5366
Is Your Infrastructure Affected by CVE-2026-5366?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.