{"id":"CVE-2026-8767","published":"2026-05-17T22:30:09Z","modified":"2026-05-18T14:30:55Z","title":"vercel ai PR Branch Name Interpolation prettier-on-automerge.yml run os command injection","vendor":"vercel","product":"ai","tier":"tail","description":{"text":"A vulnerability has been found in vercel ai up to 3.0.97. Impacted is the function run of the file .github/workflows/prettier-on-automerge.yml of the component PR Branch Name Interpolation. The manipulation leads to os command injection. The attack can be initiated remotely. The complexity of an attack is rather high. The exploitability is considered difficult. The exploit has been disclosed to the public and may be used. The vendor was contacted early about this disclosure but did not respond in any way.","provenance":"source","from":"CVE.org"},"cvss":{"score":5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.06966,"percentile":0.94273,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://vuldb.com/vuln/364392","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/364392/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/submit/811402","tags":["third-party-advisory"]},{"url":"https://gist.github.com/YLChen-007/870bd6966cd84703d91ce54dfea3bdd0","tags":["exploit"]}],"priority":{"score":27.4,"factors":[{"name":"EPSS percentile","points":18.85},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.5}]},"vendorSlug":"vercel","affectedVersions":[{"vendor":"vercel","product":"ai","versions":["3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","3.0.5","3.0.6","3.0.7","3.0.8","3.0.9"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-05-18T14:30:43.479216Z","from":"CISA ADP","provenance":"source"},"summary":{"text":"A command injection flaw exists in the run step of the GitHub Actions workflow .github/workflows/prettier-on-automerge.yml in Vercel's AI SDK (vercel ai, up to version 3.0.97), where the PR branch name is interpolated into an OS command. An attacker with low privileges can exploit this remotely by crafting a malicious branch name, though exploitation is considered difficult due to high attack complexity.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-21T05:37:43Z"},"euvd":{"id":"EUVD-2026-30714","exploited":false,"provenance":"source"},"exploitRefs":["https://gist.github.com/YLChen-007/870bd6966cd84703d91ce54dfea3bdd0"]}