CVE-2026-8767 Details
Description
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.
A command injection vulnerability has been identified in the Vercel AI package, specifically in versions up to 3.0.97. The issue arises within the GitHub Actions workflow file '.github/workflows/prettier-on-automerge.yml', in a function that interpolates pull request branch names directly into a bash script. This unsanitized interpolation allows attackers to execute arbitrary commands in the GitHub Actions runner environment, potentially leading to unauthorized changes in the repository and exposure of sensitive credentials. The vulnerability can be exploited remotely, but requires a high level of complexity.
To address this vulnerability, update the 'prettier-on-automerge.yml' workflow to use intermediate environment variables for dynamic inputs instead of direct string interpolation. This change will prevent attacker-controlled data from being executed as code in the bash script.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 18, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://gist.github.com/YLChen-007/870bd6966cd84703d91ce54dfea3bdd0 | [email protected] | ExploitThird Party Advisory |
| https://vuldb.com/submit/811402 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/364392 | [email protected] | Third Party AdvisoryVDB Entry |
| https://vuldb.com/vuln/364392/cti | [email protected] | Permissions RequiredVDB Entry |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-77 | Improper Neutralization of Special Elements used in a Command ('Command Injection') | [email protected] |
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| vercel ai | <= 3.0.97 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| May 19, 2026 | Initial Analysis | [email protected] |
| May 17, 2026 | New CVE Received | [email protected] |