{"cve":"CVE-2026-3515","nvd":{"published":"2026-05-24T05:16:39.167","modified":"2026-07-23T17:10:00.123","status":"Awaiting Analysis","description":"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 `aget_directory()` and `get_directory()` methods in `src/integrations/prefect-github/prefect_github/repository.py`. This issue does not affect the GitLab and BitBucket integrations, which use a safer list-based command construction approach.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","score":8.5},"cwes":["CWE-88"],"references":["https://huntr.com/bounties/f3b048b8-7f4e-45ef-a5a7-cb841c39acde"],"products":[],"source":"nvd","synced_at":"2026-10-19T22:36:28.938604137+00:00"},"epss":{"cve":"CVE-2026-3515","score":0.00298,"percentile":0.22498,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-cw25-2p92-7f75","url":"https://osv.dev/vulnerability/GHSA-cw25-2p92-7f75","summary":"Prefect has an Argument Injection issue","modified":"2026-09-10T03:51:05.309354883Z","packages":[{"ecosystem":"PyPI","name":"prefect","purl":"pkg:pypi/prefect","ranges":["<=3.6.18"],"fixed":[]}]},{"id":"PYSEC-2026-2957","url":"https://osv.dev/vulnerability/PYSEC-2026-2957","summary":"Prefect has an Argument Injection issue","modified":"2026-07-13T16:33:06.731251359Z","packages":[{"ecosystem":"PyPI","name":"prefect","purl":"pkg:pypi/prefect","ranges":["<=3.6.18"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}