Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 78%

CVE-2026-3515: CWE-88 Improper Neutralization of Argument Delimiters in a Command in prefecthq prefecthq/prefect

0
High
VulnerabilityCVE-2026-3515cvecve-2026-3515cwe-88
Published: 05/24/2026 (05/24/2026, 03:32:32 UTC)
Source: CVE Database V5
Vendor/Project: prefecthq
Product: prefecthq/prefect

Description

Prefect version 3.6.18 contains a command injection vulnerability in the GitHubRepository block of the prefect-github integration. The vulnerability arises because the reference field is directly concatenated into a git clone command without proper sanitization, allowing injection of arbitrary git command-line options. This can lead to Server-Side Request Forgery (SSRF), credential theft, or remote code execution. The issue affects the aget_directory() and get_directory() methods. GitLab and BitBucket integrations are not affected as they use safer command construction methods.

CVSS v3.0

Score 8.5high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
None
CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N

Affected software

prefect
pkg:pypi/prefect
Affected versions
=3.6.18

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/01/2026, 00:01:14 UTC

Technical Analysis

CVE-2026-3515 is a high-severity vulnerability (CVSS 8.5) in prefecthq/prefect version 3.6.18. The GitHubRepository block in the prefect-github integration improperly neutralizes argument delimiters (CWE-88) by concatenating the user-controlled reference field directly into a git clone command string. This string is then parsed by shlex.split(), enabling injection of arbitrary git command-line options such as '-c'. Exploitation could result in SSRF, credential theft, or remote code execution. The vulnerability specifically impacts the aget_directory() and get_directory() methods in src/integrations/prefect-github/prefect_github/repository.py. Other integrations like GitLab and BitBucket are unaffected due to safer command construction.

Potential Impact

Successful exploitation allows an attacker with at least low privileges to inject arbitrary git command-line options, potentially leading to Server-Side Request Forgery, theft of credentials, or remote code execution on the host running the Prefect process. This compromises confidentiality and integrity without affecting availability.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid using the vulnerable version 3.6.18 of prefecthq/prefect or restrict access to the GitHubRepository block. Monitor vendor channels for updates and apply patches promptly once released.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
@huntr_ai
Date Reserved
2026-03-04T15:06:23.397Z
Cvss Version
3.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a12863109f6977edb02af8c

Added to database: 05/24/2026, 05:01:37 UTC

Last enriched: 07/01/2026, 00:01:14 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 122

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses