Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-5366— Git Argument Injection in prefecthq/prefect

AI Predicted 8.1 Difficulty: Easy EPSS 0.87% · P56

Affected Version Matrix 1

VendorProductVersion RangeStatus
prefecthqprefecthq/prefectunspecified≤ latestaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-5366

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Git Argument Injection in prefecthq/prefect
Source: CVE Program / CVE List V5
Vulnerability 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.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Source: CVE Program / CVE List V5
Vulnerability Title
prefect 代码注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Prefect是Prefect公司开源的一款工作流编排工具,使开发人员能够构建、观察数据管道并对数据管道做出反应。 Prefect 3.6.23版本存在代码注入漏洞,该漏洞源于对GitRepository存储类中用户控制输入的处理不当,可能导致远程代码执行。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
prefecthqprefecthq/prefect unspecified ~ latest -

II. Public POCs for CVE-2026-5366

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-5366

登录查看更多情报信息。

Vendor Advisories for CVE-2026-5366 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2026-5366

No comments yet


Leave a comment