Vercel’s AI-Powered Nightmare: How One Compromised Tool Exposed Non-Sensitive Secrets Across Hundreds of Orgs
A third-party AI tool's Google Workspace OAuth app was compromised, allowing an attacker to pivot into a Vercel employee's account and access environment variables that were not marked sensitive. The attacker could enumerate and potentially exfiltrate non-sensitive secrets, though sensitive variables remained encrypted.
Published on systemweakness.com
Yesterday (April 19, 2026), the frontend and AI-coding world woke up to a supply-chain nightmare straight out of a 2026 thriller. Vercel — the platform powering millions of Next.js apps — disclosed unauthorized access to internal systems.
The full write-up lives on its author's site
It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely excessive OAuth scopes granted to a third-party AI tool, combined with environment variables not being marked sensitive by default, allowed a compromised integration to inherit trust and access secrets.
Impact
A limited subset of customers had non-sensitive environment variables exposed, potentially including API keys and tokens, while sensitive variables remained encrypted and services stayed online.
What the attacker needed
Compromised third-party OAuth app; employee granted OAuth access; non-sensitive env vars stored
The fix
Vercel introduced a new environment variables overview page and improved UI to mark secrets sensitive by default, and advised rotating non-sensitive variables and auditing OAuth apps.
How it was found
- Compromise the third-party AI tool's Google Workspace OAuth app.
- Pivot into a Vercel employee's account using inherited trust.
- Enumerate Vercel environments.
- Access environment variables not marked sensitive.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
An OAuth app is a third-party service you grant permission to access your account, like letting a calendar tool read your email. Here, a tool called Context.ai had broad access to a Vercel employee's Google account, and when that tool was compromised, the attacker used its existing permissions to reach Vercel's internal systems. They could then read some stored secrets that were not specially protected, though the most sensitive ones stayed encrypted.
What is OAuth / SSO?
Mistakes in OAuth, OpenID Connect, SAML or token handling that leak codes and tokens or link an attacker's identity to a victim's account.