logo svg
logo

November 29, 2026

Updated: November 29, 2026

SaaS Penetration Testing: Scope, Tenant Isolation, and the Evidence Customers Ask For

What is different in a multi-tenant product, the ten areas to test, what to give the testers, and the documents customers ask to see.

Mohammed Khalil

Mohammed Khalil

Featured Image

A SaaS penetration test is a manual security test of a multi-tenant application, its API and the systems around it. It covers what any web application test covers, and adds one question that single-customer software never has to answer: can one customer reach another customer's data or actions?

That question decides most of the scope, the test accounts you need to supply and the report your enterprise customers will ask to see. This guide covers each of the three.

What Makes a SaaS Penetration Test Different

Four properties of a SaaS product change how it has to be tested.

A general web application test can miss all four if it runs with one account in one tenant.

The Two-Tenant Rule: How Tenant Isolation Is Tested

Tenant isolation cannot be tested from a single tenant. The method needs at least two tenants that the testers control, with users at each role in both.

  1. Create tenant A and tenant B, each with an admin and a standard user.
  2. As a user in tenant A, record every request that carries an identifier: object IDs, tenant IDs, file names, export job IDs, invitation tokens.
  3. Replay each request with tenant A's session and tenant B's identifiers. Any response that returns or changes tenant B's data is a finding.
  4. Repeat through every other channel that can carry an identifier: the public API with an API key, webhooks, file downloads, report exports, search, and background jobs.
  5. Change the tenant context itself where the client supplies it, in a header, a subdomain, a token claim or a request body field.
  6. Repeat from tenant B to tenant A, and from each role, because isolation checks are often applied to one direction or one role only.
Two test tenants, A and B, with an admin and a standard user each. Requests made with tenant A's session are replayed with tenant B's identifiers through the app, API, files, exports and webhooks.

The standards describe the same control. OWASP ASVS 5.0 requirement 8.4.1 asks you to verify "that multi-tenant applications use cross-tenant controls to ensure consumer operations will never affect tenants with which they do not have permissions to interact." The OWASP API Security Top 10 lists the underlying flaw first, as Broken Object Level Authorization. For the single-tenant version of the same bug, see our guide to IDOR.

Two shortcuts do not count as isolation. The cheat sheet notes that random identifiers "can reduce enumeration, but they are not authorization controls", and that a tenant ID sent by the client should be treated as a selector only, with the server checking that the signed-in user belongs to that tenant.

SaaS Penetration Testing Scope: Ten Areas

AreaWhat is testedTypical finding
Tenant isolationCross-tenant reads and writes through every channel, as aboveAn export or file endpoint that checks the session but not the tenant
Roles inside a tenantEach role calling functions and fields meant for a higher roleA standard user who can invite users or change billing by calling the API directly
Sign-in and SSOPassword flows, MFA, SAML and OIDC configuration, domain claimingA SAML response accepted for the wrong tenant, or signature checks that can be bypassed
User provisioningInvitations, SCIM, role changes, removal of accessA removed user whose API key or session still works
API and keysKey scope, token lifetime, undocumented and older API versionsAn API key with tenant-wide access where a narrow scope was promised
Billing and plan limitsFeature gates, seat counts, trials, couponsPaid features reachable on a free plan by calling the endpoint
Staff and support accessImpersonation, internal admin panels, support toolingAn admin panel exposed to the internet, or impersonation that leaves no audit trail
Integrations and webhooksOAuth connections to other products, outbound and inbound webhooksA webhook URL that lets the server call internal addresses
Files, exports and searchStorage paths, signed URLs, export jobs, search indexesA signed download link that never expires and is not bound to a tenant
Shared capacityRate limits, queues and heavy queries per tenantOne tenant able to slow the service for all others
Ten areas of a SaaS penetration test grouped into tenant boundary, identity, product logic and platform.

The cloud account that hosts the product is a separate scope. It can be added to the same engagement as a cloud penetration test, but it is tested with different access and different methods. For how to write any of this down before a test, see our penetration testing scope guide, and for the API side in depth, API penetration testing.

SSO deserves its own line in the plan. OWASP's SAML Security Cheat Sheet describes XML Signature Wrapping attacks against SAML implementations and tells implementers to validate the audience, the recipient and the validity window of every response. In a SaaS product the extra risk is the tenant: a valid response from one customer's identity provider must never sign a user into another customer's tenant.

What to Hand the Testers

A SaaS test loses days when the accounts are not ready. Prepare these before the start date.

The Evidence Enterprise Customers Ask For

Most SaaS companies commission their first test because a customer's security questionnaire or contract asks for one. What the customer wants is rarely the full report.

DocumentWho asks for itWhat it has to show
Report summary or attestation letterCustomer security teams, procurementWho tested, when, what was in scope and the overall result, without exploit detail
Scope statementCustomer security teams, auditorsThat the test covered the product the customer uses, including tenant isolation and the API
Retest resultsCustomer security teams, auditorsThat the serious findings were fixed and checked again
Full reportYour own engineers, sometimes an auditor under NDAEach finding with steps, evidence and the fix
Remediation plan for open itemsCustomers with strict contractsAn owner and a date for anything not yet fixed

Ask for the summary and the full report as separate documents so that one can be shared and the other kept internal. For what each should contain, see our guide to the penetration testing report. If the request comes from an audit, the SOC 2 penetration testing guide covers what reviewers look for.

When to Test: Follow Releases, Not Only the Calendar

A yearly test is a common starting point. For a product that ships every week, these events matter more than the date:

Teams that release often split the work: a full test once a year and smaller tests tied to the changes above. That is the case for continuous testing between releases. For where testing sits in a delivery pipeline, see penetration testing for DevOps.

SaaS Security Assessment vs SaaS Penetration Test

The two terms are often used for the same request, and they are different pieces of work. A SaaS security assessment reviews design and configuration: architecture, cloud settings, access policies and, often, answers to a questionnaire. A penetration test attacks the running product to see what can be reached. An assessment can tell you that tenant checks are meant to exist. Only a test with two tenants shows whether they hold.

FAQs

Is penetration testing required for SaaS companies?

No single law requires it for every SaaS company. The requirement usually arrives through a customer contract, a security questionnaire or a framework you have committed to. Our guide to penetration testing for compliance lists which frameworks name a test.

Should a SaaS penetration test run in production or staging?

Either can work. Production shows the real configuration, and staging allows riskier tests. If you use staging, it has to run the same code, roles and tenant model as production, or the result will not transfer.

How many test tenants are needed?

At least two that the testers control, so that cross-tenant requests can be made in both directions. A third on a lower plan tier is useful for testing plan limits.

Does a SaaS penetration test include the cloud infrastructure?

Only if it is written into the scope. The application and its API are one scope, and the cloud account that hosts them is another. Many teams test both in one engagement.

Getting a SaaS Penetration Test Scoped

Start with the tenant model and the list of roles, because they decide how many accounts and how much testing time are needed. DeepStrike runs manual web application penetration testing for SaaS teams, including the API and tenant isolation testing described above. A scoping call is the place to agree the tenants, roles and environments.

About The Author

Mohammed Khalil is a Cybersecurity Architect at DeepStrike, specializing in advanced penetration testing and offensive security operations. With certifications including CISSP, OSCP, and OSWE, he has led numerous red team engagements, focusing on cloud security, application vulnerabilities, and adversary emulation. His work involves dissecting complex attack chains and developing resilient defense strategies for clients in the finance, healthcare, and technology sectors.

Sources and References

background
Let's hack you before real hackers do

Stay secure with DeepStrike penetration testing services. Reach out for a quote or customized technical proposal today

Contact Us