Deprecated OAuth applications become an easy path to privilege escalation and persistence. Attackers can target the app’s secret, reuse existing consent, and access services as the application itself, often bypassing user-centric controls. Without periodic review, organisations lose visibility into who can still use the app, what it can reach, and whether its permissions remain justified.
Why This Matters for Security Teams
Deprecated OAuth applications are not just stale configuration; they are still valid trust relationships until they are explicitly revoked. That means an attacker who finds an old app secret, inherited consent grant, or abandoned integration can often act as the application itself and bypass user-focused controls. The risk is amplified when organisations cannot see which third parties remain connected, which permissions still exist, or whether the app is still business-justified.
NHIMG research shows this visibility gap is common: 85% of organisations lack full visibility into third-party vendors connected via OAuth apps, and only 5.7% report full visibility into service accounts in general, according to The State of Non-Human Identity Security. That matters because the blast radius is usually broader than teams expect. A retired app may still have mailbox, file, CRM, or API access long after the original owner has moved on.
In practice, many security teams discover deprecated OAuth exposure only after an anomalous token use, a vendor incident, or a failed offboarding review has already exposed the blind spot.
How It Works in Practice
OAuth applications break down into three operational pieces: the client identity, the consent granted to that client, and the tokens or secrets used to obtain access. If any one of those pieces remains active after business need ends, the app can continue to authenticate and authorise requests. That is why simple “disable the user” actions do not solve the problem for non-human identities.
For security teams, the practical controls are lifecycle controls, not just access reviews. Start by inventorying every registered app, service principal, and delegated grant, then identify who owns it, what data it can reach, and whether it uses a long-lived client secret or certificate. Current guidance from NIST SP 800-53 Rev. 5 Security and Privacy Controls aligns well with periodic access review, audit logging, and revocation discipline, but the operational question is whether the app is still legitimate at all.
- Revoke stale consent grants before they become persistent access paths.
- Rotate or retire client secrets and certificates on a fixed schedule, not only after incidents.
- Use owner attestation to confirm the app still has a business purpose.
- Monitor token issuance and API use for unusual time, source, or scope patterns.
- Remove broad permissions and replace them with narrow scopes where possible.
This is especially important in SaaS integrations and vendor-to-vendor automations, where old OAuth grants can survive personnel changes and vendor churn. NHIMG case research such as Salesloft OAuth token breach and Klue OAuth Supply Chain Breach shows how one compromised integration can expose downstream systems at scale. These controls tend to break down when OAuth apps are created ad hoc by business teams and never enter a central ownership or revocation process.
Common Variations and Edge Cases
Tighter OAuth governance often increases operational overhead, requiring organisations to balance faster integrations against the cost of continuous review and revocation. That tradeoff becomes sharper in environments where hundreds of low-code apps, automation bots, or partner connectors are provisioned outside central IT.
Best practice is evolving for delegated versus application permissions. Some teams focus only on app-only access and miss delegated OAuth grants that remain valid through a user account, while others overcorrect and break legitimate workflows by revoking too aggressively. The right answer is usually context-specific: high-risk scopes, privileged admin consents, and apps with external publishers deserve the strictest controls.
There is no universal standard for how often deprecated OAuth apps should be reviewed, but the current direction is toward continuous inventory, short-lived credentials, and policy-based approval for new consent. NHIMG guidance in the Ultimate Guide to NHIs reinforces the broader pattern: once a non-human identity outlives its owner, it often outlives its security review as well. In environments with federated SaaS, shadow IT, or unmanaged vendor access, even a good review process can miss dormant apps unless revocation is automated.
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, OWASP Agentic AI Top 10 and CSA MAESTRO address the attack and risk surface, while NIST AI RMF and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-03 | Deprecated OAuth apps often persist because credentials are not rotated or revoked. |
| OWASP Agentic AI Top 10 | OAuth apps are autonomous workloads when they can act without human oversight. | |
| CSA MAESTRO | MAESTRO addresses lifecycle, trust, and control gaps in machine and agent access. | |
| NIST AI RMF | AI RMF supports governance of autonomous or semi-autonomous access pathways. | |
| NIST CSF 2.0 | PR.AA-01 | Identity and access management requires knowing and controlling active application identities. |
Treat OAuth apps as non-human actors and require runtime authorization plus continuous monitoring.
Related resources from NHI Mgmt Group
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on August 27, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org