CVE-2026-8767 vercel ai PR Branch Name Interpolation prettier-on-automerge.yml run os command injection

Low 2.3 Published Updated

Remote attackers can execute arbitrary OS commands via PR branch name interpolation in the Vercel AI SDK CI workflow.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-8767?

CVE-2026-8767 is a low-severity command injection vulnerability in vercel ai, published on 17 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-78, CWE-77

Which versions are affected by CVE-2026-8767?

It affects 1 product.

Products include Vercel Ai.

How do I fix CVE-2026-8767?

No fix has been published for CVE-2026-8767 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2026-8767 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-8767 exists.

Sources

Also known as GHSA-9pj2-3x6v-c3pp.

Is CVE-2026-8767 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free