Join our Newsletter — 33% off our NHI Course
Home› FAQ› Architecture & Implementation› Why can a service principal secret expose more…
Architecture & Implementation

Why can a service principal secret expose more than one tenant?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated November 25, 2026 Domain: Architecture & Implementation

A service principal secret can expose more than one tenant when the same application is registered or consented across multiple tenants and the secret is accepted wherever that service principal is trusted. One leaked secret may then let an attacker authenticate in every tenant using that application, especially if permissions or admin consent are broadly granted.

Why one secret can cross tenant boundaries

A service principal secret becomes multi-tenant exposure because the secret is tied to the application’s trust relationship, not to a single directory by default. If that same app is registered or consented in more than one tenant, the secret can be accepted wherever the service principal exists and has been trusted, so one leak can become many valid sign-ins.

The practical question is whether the application exists in multiple tenants and whether the secret still works for each one. A secret is especially dangerous when admin consent has already expanded the app’s reach, because the attacker does not need a separate secret for every tenant if the same credential is accepted broadly.

In other words, the blast radius follows the trust boundary of the app registration and enterprise application relationship. The secret is not “tenant-scoped” in the way many teams assume; it is often an authentication factor for the application identity itself, which can be reused across every tenant that trusts that identity.

What makes tenant-wide reuse possible

Cross-tenant reuse is usually created by consent, shared app identity, or poor separation between environments. When the same application is reused for multiple customers, subsidiaries, or partner tenants, the secret can behave like a master key to every place that trusts the app, especially if permissions are broad or the app has admin-level grants.

This is why service principal hygiene matters as much as the secret itself. If the application is reused across tenants, then rotation, credential removal, and consent review must all be coordinated, or one stale secret can remain valid long after teams think they have moved on.

The issue also shows up when ownership is unclear. If several teams or tenants rely on the same app registration, no single tenant may realise that its copy of the secret is effectively shared attack surface. That creates a hidden coupling between directories, tenants, and downstream services.

How to think about the blast radius of a leaked secret

Once a secret is exposed, the main question is not just “can it authenticate?” but “where can it authenticate?” A leaked secret can let an attacker sign in as the application in every tenant where the service principal is trusted, then use whatever permissions were already granted there, including access to data, APIs, or management operations.

The risk grows sharply when the app has privileged Graph permissions, app roles, or broad administrative consent. At that point, the secret is not just a login artifact, it is a reusable path into every tenant that accepted the app’s authority. That is why multi-tenant app abuse is a recurring pattern in cloud identity incidents and why secret exposure should be treated as a tenant-breach candidate, not a single-account problem.

If you want a deeper identity-specific treatment of this pattern, the Azure RBAC and Service Principals Guide is useful for understanding how role scope and service principal trust interact, and the Azure Entra Client Secrets Security Guide covers the credential side of the same problem.

Risk and Threat Considerations

When a service principal secret is shared across tenants, one compromise can become a lateral move across directories, subscriptions, and workloads. The threat is not only secret theft, it is reuse of an already-trusted application identity to move from initial access to broader access without needing a new credential.

Failure mechanism: A single leaked secret remains valid in every tenant that trusts the same application, and the attacker can authenticate wherever that service principal has already been consented or granted permissions.

Impact: The attacker may obtain parallel access to multiple tenants, expand privileges through granted app roles or admin consent, and turn one exposure into multi-tenant compromise.

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 addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST SP 800-53 Rev 5IA-5 — Authenticator ManagementCovers lifecycle control of shared secrets used for app authentication.
IA-9 — Service Identification and AuthenticationDirectly applies to service principals authenticating to cloud services across tenants.
AC-6 — Least PrivilegeBroad app permissions amplify the damage of a leaked multi-tenant secret.
Recommendation — Rotate and revoke shared service principal secrets quickly after exposure. Use strong service-to-service authentication and limit reuse of shared credentials. Reduce app permissions to the minimum required for each tenant.
OWASP Non-Human Identity Top 10NHI-04 — Insecure AuthenticationShared client secrets across tenants create reusable authentication exposure.
NHI-05 — Overprivileged NHIMulti-tenant service principals often have permissions that widen blast radius.
Recommendation — Replace reusable secrets with stronger authentication and tighter credential controls. Scope each service principal to the smallest permission set possible.

Practitioner Guidance

What to verify: Confirm whether the application is single-tenant or multi-tenant, where the same secret is used, and which tenants currently trust the service principal. If you cannot quickly enumerate those tenants, treat the credential as higher risk than a normal per-tenant secret.

Decision rule: If a leaked secret can authenticate to production in more than one tenant, rotate or revoke it first, then review consent and permissions. Do not wait for proof of abuse before acting, because the core problem is shared trust, not just observed misuse.

Practitioner takeaway: The security boundary is the application trust relationship, not the individual tenant, so a leaked service principal secret should be treated as a cross-tenant credential until proven otherwise.

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on November 25, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org