Search covers the description text, product and vendor names and weakness types (also partial words).

CVE-2026-5366
prefect

Score9.9 Critical
CVSS 3.0
Exploit probability (EPSS)1.0%
within the next 30 days
CategoryCode execution & injection
Published20 June 2026
Last modified: 25 October 2026

In short

This vulnerability can be exploited remotely over the network, with a regular user account, without any user interaction.

A successful attack has high impact: reading confidential data, modifying data, crashing the system or making it unavailable.

The impact can spread beyond the vulnerable component.

Weakness type: Code injection.

✨ AI commentary

After a short ad, a plain-language commentary on this vulnerability is shown. AI can make mistakes; base decisions on the official sources.

Official description

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: CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Weakness: CWE-94 – Code injection

Affected products

VendorProductVersions
prefectprefect3.6.23

Sources

Latest in the same category

  • CVE-2026-56481 Low 3.5
    HCL Telco Observability is affected by an Improper Input Validation vulnerability in its UI and API, which could allow a remote attacker to submit crafted field values, enabling the injection of malicious input, query…
    Code execution & injection · 30 November 2026
  • CVE-2026-138423 Low 2
    A flaw has been found in youseries UReport up to 2.2.9. Affected is the function convertJson of the file ureport2-console/src/main/java/com/bstek/ureport/console/html/HtmlPreviewServletAction.java of the component Html…
    Code execution & injection · 30 November 2026
  • CVE-2026-138422 Low 2
    A vulnerability was detected in youseries UReport up to 2.2.9. This impacts an unknown function of the file html-preview.html of the component HTML Preview. Performing a manipulation of the argument _u results in HTML…
    Code execution & injection · 30 November 2026
  • CVE-2026-138421 Low 2
    A security vulnerability has been detected in youseries UReport up to 2.2.9. This affects the function saveReportFile of the file…
    Code execution & injection · 30 November 2026
  • CVE-2026-138420 Low 2
    A weakness has been identified in youseries UReport up to 2.2.9. The impacted element is the function buildExceptionMessage of the file…
    Code execution & injection · 30 November 2026
  • CVE-2026-138419 Low 2
    A security flaw has been discovered in youseries UReport up to 2.2.9. The affected element is the function buildTitle of the file HtmlPreviewServletAction.java of the component HTML Preview. The manipulation of the…
    Code execution & injection · 30 November 2026