TL;DR: Vercel’s April 2026 breach stemmed from a compromised OAuth integration, which let an attacker reach internal systems and exposed credentials, tokens, database secrets, and signing keys, according to Curity. The lesson is blunt: governed OAuth, runtime verification, and token scoping now sit at the center of NHI and supply chain defense.
At a glance
What this is: NHI Mgmt Group's analysis, drawing on Curity's report: A compromised OAuth integration and third-party SaaS access exposed sensitive credentials and secrets, turning governed OAuth into an NHI control point.
Why it matters: It matters because IAM, PAM and NHI teams have to treat OAuth-connected integrations as governed identities with scoped privilege, runtime verification and lifecycle control, not as inherently trusted connections.
Context
OAuth trust is a governance decision, not a technical guarantee. When a third-party integration receives broad or long-lived access, the connection becomes an identity boundary that can carry standing privilege into internal systems.
The Vercel case shows why NHI governance now extends to SaaS integrations, API keys, tokens and delegated access paths. The issue is not only compromise of the external app, but the lack of scoping, runtime verification and offboarding discipline around the access it held.
For IAM and NHI programmes, the lesson is that every connected application should be treated as an identity with a lifecycle, an owner and an audit trail. If those controls are absent, one delegated token can become a breach path into broader enterprise trust relationships.
Key questions
Q: What breaks when a third-party OAuth integration is treated as trusted by default?
A: The trust model breaks because the integration inherits access into internal systems without the same lifecycle controls applied to other identities. If that external service is compromised, the attacker can use a legitimate token path to reach sensitive resources, often bypassing perimeter assumptions and creating a breach that looks authorised at first glance.
Q: Why do long-lived developer OAuth credentials increase breach impact?
A: Because they preserve trust even after the initiating user action is over. If a token is stolen, the attacker inherits whatever repository, workflow, or API reach was granted at issuance, and that reach can persist until explicit revocation. The result is a wider blast radius than most teams expect from a seemingly small authentication event.
Q: How should security teams decide when delegated access needs reauthorization?
A: Reauthorization should happen whenever the trust context changes, not only on a fixed schedule. Changes in device posture, location, behaviour or the sensitivity of the target system should trigger a new decision, because an OAuth session that was acceptable at issuance may no longer be safe later in the session.
A: They should revoke the delegated credentials, remove the scopes, confirm the external connection is gone and verify that any internal access path created by the integration has been closed. Offboarding has to be explicit because dormant third-party access can survive long after the original business need ends.
Technical breakdown
How compromised OAuth turns a third-party app into an identity boundary failure
OAuth is designed to let an application act on behalf of a user with constrained scopes, but those scopes are only meaningful if they are narrow, reviewed and time-bound. When a third-party SaaS is compromised, the token becomes a delegated credential rather than a simple login artefact, and the attacker inherits the granted trust path. In this case, the breach shows how a valid OAuth-compliant connection can still be an unsafe access route if the receiving app is not governed as a non-human identity with explicit lifecycle control.
Practical implication: treat every OAuth integration as an identity to inventory, scope and offboard, not as a passive app connection.
Why token scope and lifetime determine blast radius
Access tokens translate authorization decisions into runtime privilege. If scopes are broad, if refresh tokens live too long, or if re-evaluation does not occur at the point of use, a single compromise can persist across many internal resources. Curity's analysis points to the need for just-in-time access and token cycling because long-lived delegated access makes revocation reactive rather than preventive. The security problem is not just token theft, but the amount of enterprise trust that the token can carry before anyone notices.
Practical implication: reduce token lifespan and scope so a stolen delegation cannot be reused across unrelated systems.
Context-aware authorization is the missing control layer
Context-dependent authorization adds signals such as device, network location and behavioural anomalies to the access decision. That matters because authenticated access is often the point where supply chain compromise becomes real, especially when a legitimate session is abused after initial compromise. In the Vercel pattern, the breach moved through authorized access paths rather than exploit code, which means static permission checks alone were not enough. Runtime trust evaluation is therefore part of the control plane, not an optional enhancement.
Practical implication: require contextual checks before granting or renewing delegated access to sensitive internal systems.
Threat narrative
Attacker objective: The objective was to use delegated third-party access to reach internal systems and exfiltrate high-value secrets that could be sold or reused.
- Entry occurred through a compromised third-party OAuth integration connected to a Google account, giving the attacker a trusted access path into the environment.
- Credential access followed when the compromised session exposed internal access to customer credentials, API keys, tokens, database secrets and signing keys.
- Escalation happened as the attacker used that delegated access to reach internal Vercel systems and pull sensitive data beyond the original third-party boundary.
- Impact was the theft and exposure of customer secrets and other sensitive material that Vercel said should be considered compromised.
Breaches seen in the wild
- Vercel Context.ai OAuth Supply Chain Breach: Shadow AI app Context.ai OAuth integration exposes Vercel customer data via unmanaged third-party token.
- Palo Alto Networks Salesforce data theft 2025: Stolen Drift OAuth tokens exposed Palo Alto Networks CRM data, including support notes where some customers had shared credentials.
Read and download The State of NHI & AI Agent Breach Report 2026, covering 200+ breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
Governed OAuth is now an NHI control point: This breach works because delegated access was treated as a convenience layer instead of a governed identity with lifecycle, scope and ownership. OAuth-connected SaaS behaves like an NHI when it can act inside enterprise systems, which means its access must be inventoried and continuously reviewed. The practitioner implication is that integration governance belongs in identity security, not only in application security.
Short-lived delegated access is the blast-radius control: Long-lived OAuth trust creates an exposure window that is larger than most teams assume. When a third-party app is compromised, the token lifetime becomes the window for misuse, and broad scopes turn one compromised integration into many reachable assets. The implication is that token governance now defines the practical size of the breach surface.
Identity boundaries fail before infrastructure boundaries do: The article is correct to frame this as a trust problem rather than a code flaw. Modern breaches often enter through valid authorization paths, which means the boundary that matters is not the server perimeter but the delegation chain. The practitioner implication is that IAM must evaluate whether external SaaS is being trusted as though it were internal.
Third-party SaaS oversight is becoming an NHI governance discipline: Once a user can connect an external service that can reach internal systems, the organisation has created a governed dependency, whether or not it labels it that way. This is where ownership, offboarding and access review intersect with shadow IT and supply chain exposure. The implication is that identity teams need control over who can create these trust relationships and how they are revoked.
Runtime verification matters more than static approval: The article's emphasis on context-aware access is directionally right because authenticated sessions can be abused after the original trust decision is made. A one-time approval does not protect a session whose context has changed. The implication is that access decisions must be re-evaluated where sensitive systems and delegated credentials meet.
From our research library:
- Only 20% have formal processes for offboarding and revoking API keys, and even fewer have procedures for rotating them, according to the Ultimate Guide to NHIs.
- Read next: API Key Management Guide
What this signals
Delegated SaaS access is now a governance asset class: Once OAuth-connected tools can reach internal systems, the issue is no longer app sprawl alone but access sprawl. IAM teams need lifecycle records for every delegated connection, because the attack surface is defined by the trust relationship, not the vendor label.
Runtime trust must replace one-time approval: The lesson from this breach is that access decisions made at connection time are too weak for modern delegated access paths. Security teams should assume that a valid token can become unsafe later and design re-evaluation into the access flow rather than bolting it on after compromise.
Identity boundaries are where supply chain risk lands: 92% of organisations expose NHIs to third parties, raising concerns about supply chain security, according to the Ultimate Guide to NHIs. The practical implication is that external integrations need the same ownership, review and offboarding discipline as internal privileged accounts.
For practitioners
- Inventory every OAuth-connected third-party integration Create a register of delegated apps, the users who approved them, the scopes granted and the systems each token can reach. Include SaaS tools, AI assistants and any integration that can touch internal data or secrets.
- Reduce token scope and lifetime Replace broad, durable access with narrow scopes and short renewal windows so a stolen token cannot roam across unrelated systems. Tie renewal to an explicit re-check of business need and trust context.
- Apply contextual authorization to delegated sessions Use device, location, anomaly and session risk signals before granting or renewing access to sensitive internal resources. If the context shifts, force reauthorization rather than allowing the existing delegated path to continue.
- Offboard third-party access as a lifecycle event Treat removal of a SaaS integration as a formal revocation task, including token invalidation, scope removal and confirmation that no downstream secrets remain exposed. Make offboarding part of the same ownership record as approval.
Key takeaways
- The Vercel breach shows that a compromised OAuth integration can function as a trusted path into internal systems, so identity governance must cover delegated third-party access.
- The exposed material included customer credentials, API keys, tokens, database secrets and signing keys, which is the kind of blast radius that token scope and lifetime are supposed to limit.
- The control that matters most here is governed OAuth with contextual reauthorization, short-lived tokens and explicit offboarding of third-party access.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 — Vulnerable Third-Party NHI | The breach began with a compromised third-party integration that inherited internal trust. |
| NHI-05 — Overprivileged NHI | Broad OAuth scopes and durable access increased the blast radius after compromise. | |
| NHI-07 — Long-Lived Secrets | Tokens that remain valid too long turn a single compromise into extended exposure. | |
| Recommendation — Inventory third-party delegated access and remove trust paths that outlive the external relationship. Reduce OAuth scopes to the minimum needed and reissue access only after revalidation. Shorten token lifetimes and require renewal through a fresh authorization decision. | ||
| MITRE ATT&CK | TA0006;TA0008 — Credential Access; Lateral Movement | The attacker used delegated access to reach internal systems and sensitive secrets. |
| Recommendation — Map delegated token abuse to credential access and lateral movement detections. | ||
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | OAuth scopes and delegated entitlements were the control plane at issue. |
| Recommendation — Govern delegated permissions so entitlements are reviewed, bounded and revocable. | ||
Key terms
- Governed OAuth: Governed OAuth is the practice of treating delegated app access as a controlled identity relationship rather than a one-time convenience setting. It requires scope review, consent oversight, token lifecycle management, and revocation paths so a connected application cannot quietly retain more access than the business intended.
- Delegated Access: Delegated access is permission granted to one identity to act on behalf of another user, service, or system. In NHI environments, this usually appears in OAuth-connected apps and automation tooling. It is powerful, but it must be tightly scoped and reviewed because it can persist long after the original business need ends.
- Token scope: Token scope is the set of actions and systems a credential can reach. In non-human identity governance, narrow scope limits blast radius, while broad scope lets a stolen token publish packages, access cloud services, or mutate repositories far beyond its intended purpose.
- Runtime Authorisation: Runtime authorisation is the practice of deciding access while a task is in progress, rather than only at provisioning time. It matters for NHIs because credentials and entitlements can change risk mid-session, especially when automation or AI agents interact with sensitive systems.
Deepen your knowledge
NHI governance, agentic AI identity, and machine identity lifecycle are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on June 2, 2026.
Updated on October 8, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org