CVE-2026-3515: Argument Injection in prefecthq/prefect

Published May 24, 2026
·
Updated

A vulnerability in the GitHubRepository block of the prefect-github integration in Prefect version 3.6.18 allows an attacker to inject arbitrary git command-line options via the reference field. The reference field is concatenated directly into a git clone command string without proper sanitization, and then parsed by shlex.split(). This enables injection of options such as -c, leading to potential Server-Side Request Forgery (SSRF), credential theft, or remote code execution (RCE). The vulnerability affects both the agetdirectory() and getdirectory() methods in src/integrations/prefect-github/prefectgithub/repository.py. This issue does not affect the GitLab and BitBucket integrations, which use a safer list-based command construction approach.

Affected Software

1 affected component
Prefect Prefect=3.6.18

Event History

May 24, 2026
CVE Published
via MITRE·03:32 AM
Data Sourced
via MITRE·03:32 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-3515?

The severity of CVE-2026-3515 is rated high with a score of 8.5.

2

How does CVE-2026-3515 affect the GitHub integration in Prefect?

CVE-2026-3515 allows an attacker to inject arbitrary git command-line options via the reference field in the GitHubRepository block.

3

What kind of attacks could be performed due to CVE-2026-3515?

Exploitation of CVE-2026-3515 could lead to unauthorized git commands being executed, which may compromise system integrity.

4

How do I fix CVE-2026-3515?

To fix CVE-2026-3515, update to the latest version of Prefect that addresses this vulnerability.

5

Is CVE-2026-3515 related to server-side request forgery (SSRF)?

Yes, CVE-2026-3515 is categorized under SSRF vulnerabilities due to its nature of manipulating command execution.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203