Does SOC 2 Require Penetration Testing?
Does SOC 2 require penetration testing? Not explicitly. None of the AICPA Trust Services Criteria names a pentest as a mandatory control. Penetration testing does appear in the text, though: it's listed as an example of a "separate evaluation" in a point of focus under CC4.1, and CC7.1's points of focus call for periodic vulnerability scanning. In practice, a pentest becomes a de facto requirement as soon as your own control description, your auditor's testing approach or a customer contract calls for one, and for most B2B SaaS companies at least one of those applies.
The answer to "does SOC 2 require penetration testing" gets distorted in both directions online. Some vendors say SOC 2 "mandates annual penetration testing" (it doesn't). Some founders hear "not required" and skip it, then get stuck at fieldwork or in a customer's security review. Below is what the criteria actually say, quoted from the AICPA's text, and how to decide what your company needs.
What the Trust Services Criteria actually say
SOC 2 examinations use the AICPA's 2017 Trust Services Criteria with Revised Points of Focus (2022). The clean copy sits behind a free AICPA login. The AICPA also publishes a red-lined version showing the 2022 changes, which is where the quotes below come from.
Two terms matter first:
- Criteria are what the auditor evaluates your controls against.
- Points of focus are illustrative characteristics of a criterion. Paragraph .07 of the document states: "Use of the trust services criteria does not require an assessment of whether each point of focus is addressed."
CC4.1: the only place penetration testing is named
The criterion (COSO Principle 16):
The entity selects, develops, and performs ongoing and/or separate evaluations to ascertain whether the components of internal control are present and functioning.
Under it, the 2022 revision rewrote the point of focus "Considers Different Types of Ongoing and Separate Evaluations." It now says such evaluations, depending on the entity's objectives, "may include first- and second-line monitoring and control testing, internal audit assessments, compliance assessments, resilience assessments, vulnerability scans, security assessment, penetration testing, and third-party assessments."
Note the phrase "may include." A pentest is one way to meet CC4.1, listed alongside scans, internal audits and third-party assessments. The same criterion also has COSO points of focus saying separate evaluations "are performed periodically to provide objective feedback" and that management "varies the scope and frequency of separate evaluations depending on risk."
CC7.1: scanning, not pentesting
The criterion:
To meet its objectives, the entity uses detection and monitoring procedures to identify (1) changes to configurations that result in the introduction of new vulnerabilities, and (2) susceptibilities to newly discovered vulnerabilities.
Its points of focus cover configuration standards, monitoring for noncompliance, change detection (for example file integrity monitoring), detecting unknown components, and "Conducts Vulnerability Scans": scans "designed to identify potential vulnerabilities or misconfigurations on a periodic basis and after significant changes are made to the environment," with action taken "to remediate identified deficiencies in a timely manner."
CC7.1 never mentions penetration testing. It does ask, in effect, for a working vulnerability scanning and remediation program.
Why auditors ask for a pentest anyway
If the criteria don't require it, why does nearly every SOC 2 readiness checklist include one? Four reasons.
- It's the cleanest CC4.1 evidence. A dated, independent report with findings and a remediation trail is easy for an auditor to test. A homegrown "we reviewed our controls" memo is not.
- Your system description usually commits you to it. Compliance platforms and policy templates commonly include an annual third-party pentest control. Once it's in your description of controls, the auditor tests it, and missing it is a deviation.
- Auditors bring their own expectations. Software Secured notes that SOC 2 doesn't mandate pentesting but most auditors expect it, and that scanning alone is typically treated as insufficient.
- Your customers will ask regardless. The Cloud Security Alliance's CAIQ v4.1, released January 2026, asks in TVM-07.1 whether processes are in place "for the periodic performance of penetration testing by independent third parties" (question text as reproduced in Oracle's published CAIQ v4.1 response). A SOC 2 report without a pentest often just moves the question from the auditor to the customer.
When is a pentest effectively required? A decision table
| Your situation | Pentest needed for SOC 2? | Why |
|---|---|---|
| Your control description lists an annual or periodic pentest | Yes | The auditor tests the control as you described it |
| Customer contract or MSA requires third-party testing | Yes | Contractual commitment, and it often lands in your system description too |
| You chose CC4.1 evidence other than pentesting (e.g., internal audit plus scans) and your auditor accepts it | Not strictly | Make sure the alternative is documented and actually runs |
| Customer-facing SaaS with multi-tenant data, no pentest control written yet | Strongly advised | Auditor and customer expectations; authorization flaws scanners miss |
| Pre-revenue, internal tool only, Type 1 readiness | Optional | Scans plus a plan may be enough; decide with your auditor |
If you're unsure, ask your audit firm directly during readiness: "Will you expect a third-party penetration test as evidence for CC4.1, and what scope?" Their answer is the one that counts.
Pentest vs vulnerability scan: they're not interchangeable
People get stuck here because the criteria list both. They do different jobs:
- A vulnerability scan checks for known weaknesses: outdated server versions, CVEs, weak TLS, exposed files. It's automated, cheap and should run continuously. That's your CC7.1 evidence.
- A penetration test tries to exploit weaknesses and chain them, including flaws no signature catches: broken access control, IDOR, business-logic abuse, privilege escalation. That's your strongest CC4.1 evidence.
A scanner will tell you your TLS config allows a deprecated protocol. It won't tell you that changing /api/invoices/1042 to /api/invoices/1043 returns another customer's invoice. For the full comparison, see vulnerability assessment vs penetration testing.
You can see the scanning side for free. The quick web scan checks OWASP Top 10 issues and infrastructure leaks, SSL integrity checks TLS chains, ciphers and protocols, and the deep security scan runs a full CVE assessment with 25,000+ templates.
How often, if you do one
SOC 2 doesn't set a frequency. The COSO point of focus under CC4.1 ties scope and frequency to risk, and CC7.1's scanning point of focus says "periodic" and "after significant changes." The common baseline is:
- A pentest at least annually, timed inside your Type 2 observation window.
- An additional test after significant changes: a new product surface, a rewrite of authentication or authorization, a move to a new cloud.
- Continuous scanning in between, with remediation tickets as evidence.
We cover cadence in more depth in how often should you pentest.
What to put in your control description
Write the control so you can meet it every time. A realistic example for an early-stage SaaS company (hypothetical wording):
CC4.1 / CC7.1 – Security testing
- An independent third party performs a penetration test of production
customer-facing applications and APIs at least annually and after
significant changes to authentication or authorization.
- Automated vulnerability scans of internet-facing assets run at least weekly.
- Critical and high findings are remediated within 30 days or formally
risk-accepted by the CTO; remediation is tracked in Jira.
Avoid copying an enterprise SLA you can't hit. A 48-hour critical-fix promise you miss twice turns into an audit exception you wrote yourself.
So, does SOC 2 require penetration testing?
SOC 2 doesn't require penetration testing by name, but the CC4.1 point of focus names it, auditors expect solid separate-evaluation evidence, and enterprise customers ask for it in questionnaires. For most SaaS companies selling to businesses, the real question is how to get a SOC 2-ready pentest without derailing the roadmap. Our guide to the SOC 2 penetration test covers scope, timing and report contents.
SecurityInfinity's Startup Pentest authenticated tier (from $999 per application) tests every user role, is mapped to SOC 2 and ISO 27001, includes a free retest within 30 days, and delivers a report and signed attestation letter in 3 business days. For CC7.1 scanning evidence between tests, the Pro plan adds continuous re-scans with SOC 2 mapping for $9/month.
Frequently asked questions
Is penetration testing mandatory for SOC 2 Type 2?
No criterion makes it mandatory for Type 1 or Type 2. But if your control description includes a pentest, the auditor will test that it happened during the observation period, so for most companies it ends up being expected. Type 2 also means the test and remediation should fall inside the audit window.
Which SOC 2 criteria does a penetration test cover?
A pentest is most directly evidence for CC4.1, where the 2022 points of focus list penetration testing as an example of a separate evaluation. Depending on scope and documentation, it can also support CC7.1 (vulnerability detection) and the risk-assessment and change-management criteria.
Is a vulnerability scan enough for SOC 2?
A scan program is the natural evidence for CC7.1's vulnerability-scanning point of focus. Whether scans alone satisfy CC4.1 depends on your auditor and your control description. Many auditors and most enterprise customers expect an actual penetration test as well.
Does SOC 2 require an external or third-party pentester?
The criteria don't say "third party," but they say separate evaluations should provide objective feedback. An independent external tester is the simplest way to demonstrate that, and questionnaires like the CSA CAIQ ask specifically about testing by independent third parties.
How often does SOC 2 require penetration testing?
SOC 2 sets no frequency. Annual testing plus testing after significant changes is the common baseline, with frequency driven by your risk assessment and any customer contracts.