{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-3515","id":"CVE-2026-3515","title":"Argument Injection in prefecthq/prefect","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`, leadi","descriptionLong":"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.","published":"2026-05-24T03:32:32.001Z","updated":"2026-07-23T17:10:00.123Z","reserved":"2026-03-04T15:06:23.397Z","status":"Awaiting Analysis","rejected":false,"assigner":"@huntr_ai","metric":{"version":"3.0","score":8.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","rating":"high","source":"@huntr_ai"},"metrics":[{"version":"3.0","score":8.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","rating":"high","source":"@huntr_ai"},{"version":"3.0","score":8.5,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:N","rating":"high","source":"huntr.dev"}],"rating":"high","products":["prefecthq/prefect"],"affectedProducts":[{"vendor":"prefecthq","product":"prefecthq/prefect","defaultStatus":null,"versions":[{"version":"unspecified","status":"affected","versionType":"custom","lessThanOrEqual":"latest"}],"platforms":[]}],"packages":[],"cwes":["CWE-88"],"aliases":[],"references":[{"url":"https://huntr.com/bounties/f3b048b8-7f4e-45ef-a5a7-cb841c39acde","tags":[]}],"patchReferenced":false,"fixAvailable":false,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00298,"epssPercentile":0.22858,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-3515","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-3515","ok":true,"note":"Awaiting Analysis"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-3515","ok":false,"note":"no open-source package data"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-3515","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}