CVE-2026-5366

CRITICALPre-NVD 9.99.9
EchelonGraph scoreHIGH confidence

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.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, secondary
Trending — 3 sources updated this week
9.9
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 1%CVSS: 9.9Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

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.

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, 2026
No patch confirmed yet.
generic

huntr - The world's first bug bounty platform for AI/ML

https://huntr.com/bounties/e2e88a0f-a8f6-49c9-94c5-e98dc385f07a

Vendor 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.

  1. 2026-07-07 04:13 UTCEG score recompute
  2. 2026-07-07 04:13 UTCGHSA enrichment
  3. 2026-07-07 00:18 UTCEG score recompute
  4. 2026-07-07 00:18 UTCGHSA enrichment
  5. 2026-07-06 20:29 UTCEG score recompute
  6. 2026-07-06 20:29 UTCGHSA enrichment
  7. 2026-07-06 16:34 UTCEG score recompute
  8. 2026-07-06 16:33 UTCGHSA enrichment
  9. 2026-07-06 16:27 UTCEPSS rescore
  10. 2026-07-06 16:27 UTCEPSS rescore
  11. 2026-07-06 12:31 UTCEG score recompute
  12. 2026-07-06 12:31 UTCGHSA enrichment
  13. 2026-07-06 08:43 UTCEG score recompute
  14. 2026-07-06 08:42 UTCGHSA enrichment
  15. 2026-07-06 04:37 UTCEG score recompute
  16. 2026-07-06 04:37 UTCGHSA enrichment
  17. 2026-07-06 02:23 UTCEPSS rescore
  18. 2026-07-06 02:23 UTCEPSS rescore
  19. 2026-07-06 00:37 UTCEG score recompute
  20. 2026-07-06 00:37 UTCGHSA enrichment
  21. 2026-07-05 20:48 UTCEG score recompute
  22. 2026-07-05 20:48 UTCGHSA enrichment
  23. 2026-07-05 16:59 UTCEG score recompute
  24. 2026-07-05 16:58 UTCGHSA enrichment
  25. 2026-07-05 13:09 UTCEG score recompute
Show 75 more
  1. 2026-07-05 13:09 UTCGHSA enrichment
  2. 2026-07-05 09:21 UTCEG score recompute
  3. 2026-07-05 09:21 UTCGHSA enrichment
  4. 2026-07-05 05:31 UTCEG score recompute
  5. 2026-07-05 05:31 UTCGHSA enrichment
  6. 2026-07-05 02:31 UTCEPSS rescore
  7. 2026-07-05 02:30 UTCEPSS rescore
  8. 2026-07-05 01:40 UTCEG score recompute
  9. 2026-07-05 01:39 UTCGHSA enrichment
  10. 2026-07-04 21:45 UTCEG score recompute
  11. 2026-07-04 21:45 UTCGHSA enrichment
  12. 2026-07-04 17:56 UTCEG score recompute
  13. 2026-07-04 17:56 UTCGHSA enrichment
  14. 2026-07-04 14:04 UTCEG score recompute
  15. 2026-07-04 14:04 UTCGHSA enrichment
  16. 2026-07-04 10:10 UTCEG score recompute
  17. 2026-07-04 10:10 UTCGHSA enrichment
  18. 2026-07-04 06:31 UTCEPSS rescore
  19. 2026-07-04 06:31 UTCEPSS rescore
  20. 2026-07-04 06:21 UTCEG score recompute
  21. 2026-07-04 06:21 UTCGHSA enrichment
  22. 2026-07-04 02:31 UTCEG score recompute
  23. 2026-07-04 02:31 UTCGHSA enrichment
  24. 2026-07-03 22:38 UTCEG score recompute
  25. 2026-07-03 22:37 UTCGHSA enrichment
  26. 2026-07-03 18:48 UTCEG score recompute
  27. 2026-07-03 18:48 UTCGHSA enrichment
  28. 2026-07-03 14:59 UTCEG score recompute
  29. 2026-07-03 14:59 UTCGHSA enrichment
  30. 2026-07-03 11:11 UTCEG score recompute
  31. 2026-07-03 11:11 UTCGHSA enrichment
  32. 2026-07-03 07:23 UTCEG score recompute
  33. 2026-07-03 07:23 UTCGHSA enrichment
  34. 2026-07-03 03:34 UTCEG score recompute
  35. 2026-07-03 03:33 UTCGHSA enrichment
  36. 2026-07-02 23:44 UTCEG score recompute
  37. 2026-07-02 23:44 UTCGHSA enrichment
  38. 2026-07-02 19:56 UTCEG score recompute
  39. 2026-07-02 19:56 UTCGHSA enrichment
  40. 2026-07-02 16:07 UTCEG score recompute
  41. 2026-07-02 16:07 UTCGHSA enrichment
  42. 2026-07-02 12:18 UTCEG score recompute
  43. 2026-07-02 12:18 UTCGHSA enrichment
  44. 2026-07-02 08:29 UTCEG score recompute
  45. 2026-07-02 08:29 UTCGHSA enrichment
  46. 2026-07-02 04:40 UTCEG score recompute
  47. 2026-07-02 04:40 UTCGHSA enrichment
  48. 2026-07-02 00:51 UTCEG score recompute
  49. 2026-07-02 00:51 UTCGHSA enrichment
  50. 2026-07-01 21:02 UTCEG score recompute
  51. 2026-07-01 21:02 UTCGHSA enrichment
  52. 2026-07-01 17:14 UTCEG score recompute
  53. 2026-07-01 17:13 UTCGHSA enrichment
  54. 2026-07-01 15:07 UTCEPSS rescore
  55. 2026-07-01 13:19 UTCEG score recompute
  56. 2026-07-01 13:19 UTCGHSA enrichment
  57. 2026-07-01 09:31 UTCEG score recompute
  58. 2026-07-01 09:31 UTCGHSA enrichment
  59. 2026-07-01 05:42 UTCEG score recompute
  60. 2026-07-01 05:42 UTCGHSA enrichment
  61. 2026-07-01 01:52 UTCEG score recompute
  62. 2026-07-01 01:52 UTCGHSA enrichment
  63. 2026-06-30 23:22 UTCEPSS rescore
  64. 2026-06-30 22:03 UTCEG score recompute
  65. 2026-06-30 22:03 UTCGHSA enrichment
  66. 2026-06-30 18:14 UTCEG score recompute
  67. 2026-06-30 18:14 UTCGHSA enrichment
  68. 2026-06-30 14:25 UTCEG score recompute
  69. 2026-06-30 14:25 UTCGHSA enrichment
  70. 2026-06-30 10:36 UTCEG score recompute
  71. 2026-06-30 10:36 UTCGHSA enrichment
  72. 2026-06-30 06:48 UTCEG score recompute
  73. 2026-06-30 06:48 UTCGHSA enrichment
  74. 2026-06-30 02:56 UTCEG score recompute
  75. 2026-06-30 02:56 UTCGHSA enrichment

Frequently asked(5)

What is CVE-2026-5366?
CVE-2026-5366 is a critical vulnerability published on June 20, 2026. 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…
When was CVE-2026-5366 disclosed?
CVE-2026-5366 was first published in the National Vulnerability Database on June 20, 2026, with the most recent update on July 1, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2026-5366 actively exploited?
CVE-2026-5366 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 54.6% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2026-5366?
CVE-2026-5366 has a CVSS v3 base score of 9.9 (NVD).
How do I remediate CVE-2026-5366?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2026-5366, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2026-5366

Explore →

Is Your Infrastructure Affected by CVE-2026-5366?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.