Penetration Testing Statistics

Ihor Sasovets
Lead Security Engineer & Pentester at TechMagic. AWS Community Builder. Certified AWS SCS-C01, CCPenX-AWS, eMAPT, eWPT, CEH, and C-AI/MLPen
Every figure on this page comes from IBM, Verizon, Mandiant, the UK government, or a standards body, and all of it was published in 2025 or early 2026, so you're working from current numbers rather than a stale report that keeps getting recited for years. We cover market growth, adoption rates, breach costs, remediation timelines, AI-driven security testing, and industry trends. These are the top statistics of penetration testing cybersecurity leaders ask us for, and every figure links back to its original document so you can check it yourself. Attackers are now moving faster than patches ship, exploiting flaws before fixes exist and overtaking stolen credentials as the top way in, while breach costs keep climbing. See the full breakdown below, or go straight to our penetration testing services page if you're ready to scope a test now.
Our Approach
There are three main findings that caught our attention in pentesting statistics. Vulnerability exploitation has become the top initial access vector as it opens 31% of breaches, so exploited vulnerabilities now outrank stolen credentials as the way attackers gain access. Mean time to exploit has gone negative, so attacks now begin about a week before a patch exists.
Below you will find the answers to the questions that come up when a team is deciding how often to test and what to cover:
- How fast do attackers reach a new vulnerability, and how does that compare with how fast teams fix vulnerabilities?
- Which attack paths actually start breaches, and which of them belong in a test scope?
- How much of the attack surface do organizations really test?
- What does a breach cost in 2026, and how much of that cost now traces back to AI systems and shadow AI?
What does a comprehensive penetration test cost, and what do penetration testers earn?
TechMagic is a CREST-accredited penetration testing provider working with FinTech, HealthTech, and SaaS teams, and we read these numbers as a clock. When you are ready to scope a test, our penetration testing services page covers engagement options and pricing.
Current Penetration Testing Market Size and Growth Statistics
The global penetration testing market is in a period of rapid growth, and the fastest-moving parts of it are service-delivered testing and cloud work.
Penetration testing as a service is growing faster than the market it sits inside, at 22.6% against roughly 12% to 15%, which tracks buyers shifting from one-off engagements to continuous programs. That rapid growth is also changing the deliverable, as penetration testing as a service replaces the static PDF report that traditional penetration testing produced with a live findings feed engineers can work from.
Penetration testing is still a small line inside the global network security market, but it is one of the faster-moving ones. At the same time, about 47% of penetration testing attacks go undetected by internal security teams, which says as much about detection coverage as it does about the testers.
Mean time to exploit is minus seven days: exploitation begins, on average, a week before a patch is available
The global average breach cost reached US$4.99 million, a 12% rise and a record high
The penetration testing market reaches US$2.72 billion in 2026 and US$5.54 billion by 2031, a 15.29% compound annual growth rate
Penetration testing as a service reaches US$0.72 billion in 2026 and US$1.98 billion by 2031, a 22.6% compound annual growth rate
Worldwide information security spending reaches US$244 billion in 2026, growing 11.6% in constant currency
The global penetration testing market is projected to reach US$6.5 billion by 2030
North America held 35.9% of the overall penetration testing market in 2025
Cloud security penetration testing is forecast to grow at a 15.9% compound annual growth rate
Penetration testing cost and return
Price follows scope, not the logo on the report. A comprehensive penetration test of a full environment and a focused test of one application carry the same name and very different numbers.
Average cost of a penetration test
Around US$18,300
Range across engagement types
Hundreds of dollars to over US$100,000
Companies citing budget constraints as a limit on testing
1 in 3
Organizations reporting positive return on their penetration testing investment within 12 months
78%
Budget pressure usually shows up as a narrowed scope rather than a canceled test, which is how untested systems build up. If the number has to come down, cut the environment you cover this quarter rather than the depth you cover it to.
How Fast Attackers Move vs. How Fast Teams Fix: Statistics on the Timing and Seasonality
Exploitation now starts before the fix exists, and remediation got slower this year, including for high-risk vulnerabilities. The gap between those two speeds is the risk you carry between tests.
Annual penetration testing leaves about 51 weeks of that clock unobserved. Most teams cannot patch faster than exploitation now moves, so the practical lever is finding the flaw earlier and shortening the window. Over 53% of organizations now run continuous testing instead of annual checks, because continuous coverage surfaces vulnerabilities as they emerge. That is the case we make for the benefits of penetration testing on a continuous basis.
- Minus seven days: mean time to exploit, measured against patch availability
- 43 days: median time to patch, up from 32 last year
- 247 days: mean time to identify and contain a breach
- 22 seconds: median gap from break-in to hand-off to a second attacker group
- 54.81 days: average time to patch high and critical severity vulnerabilities
Median time to patch rose from 32 to 43 days, a 34% increase
Verizon 2026 DBIR
Global median dwell time reached 14 days, up from 11 the year before
Google Cloud
Known-exploited flaws take a median 43 days to close out, and only 26% are ever fully remediated
Verizon 2026 DBIR
Mean time to identify and contain a breach rose to 247 days, reversing five straight years of improvement
IBM Cost of a Data Breach 2026
Extensive use of security Artificial Intelligence and automation cut 65 days off detection and containment, saving US$1.93 million per breach
IBM 2026
High and critical severity vulnerabilities take an average of 54.81 days to patch
2026 Vulnerability Statistics Report
Mean time to remediation runs 37 to 54 days for severe bugs
Non-Human Identity Management Group
Pentesting Results Statistics and Measures to Address Vulnerabilities
Attack paths to cover
These are the paths that start real-world attacks, so they set the scope of a comprehensive penetration test.
Vulnerability exploitation
Scope should include the systems behind notable critical Microsoft vulnerabilities, such as domain controllers, Exchange, and identity services, because that is where one foothold turns into domain-wide access.
Vulnerability exploitation opens 31% of breaches, up from 20%: Verizon 2026 DBIR
Exploits were the initial infection vector in 32% of investigated intrusions: Mandiant M-Trends 2026
Credentials and phishing
Credential abuse covers reused passwords, tokens lifted from a compromised host, and brute force attacks against exposed logins. These are the paths that let an attacker gain access without touching a software vulnerability at all.
13%: сredential abuse as the initial access vector
39%: сredential abuse at any point in the breach
16%: phishing as the initial access vector, unchanged year on year
Third parties and supply chain
Third-party involvement made the sharpest year-on-year move in the whole Verizon 2026 report, climbing from 30% of breaches to 48%. Your own test scope will not cover a supplier's environment, so vendor questionnaires and contractual compliance requirements do that work instead.
97% of organizations reported a negative impact from a supply-chain breach in the past year
75%: OSS malware grow, according to Sonatype's State of the Software Supply Chain report
Ransomware and the human element
A simulated attack on your staff, run as phishing or pretexting, is the only way to measure that layer. We track the human layer in more depth in our phishing attacks statistics roundup.
48%: ransomware involvement, the highest in the report's history
62%: the human element present somewhere in the breach
test
What penetration tests find most often
The same security weaknesses come back engagement after engagement, and most of them are access and configuration problems rather than exotic exploits.
Individually, these weaknesses look minor: a misconfigured permission here, an exposed admin panel there. Chained together in a real attack, they add up to full compromise, though. One overlooked weakness is often enough to undo the rest of the system's defenses.
Security misconfigurations: found on 52% of systems tested, from exposed admin interfaces to default credentials
BreachLock, 2025 Penetration Testing Intelligence Report
Injection flaws: 40.6% of findings across more than 11,000 vulnerabilities analyzed
Synack, 2026 State of Vulnerabilities Report
Broken access control: 32% to 33% of high-severity findings
Synack, 2026 State of Vulnerabilities Report
Compromised credentials and valid accounts: the entry point in 41% of successful engagements
Cyentia, 2026 State of Pentesting Report
Exploitable API vulnerabilities: surged 400% year over year in technology and SaaS environments
BreachLock, 2025 Penetration Testing Intelligence Report
Remote code execution: exploitable findings up 39% year over year
Synack, 2026 State of Vulnerabilities Report
Attacker vs. Defender security metrics
SQL injection is still the top critical web application vulnerability, which keeps application security at the center of most scopes. Broken access control sits close behind: access misconfigurations let a low-privilege account escalate, and unauthenticated remote access leaves administrative panels reachable from the internet.
Each of those security holes looks minor on its own. Chained together in real world attacks, they end in sensitive data exposure, and one overlooked flaw is enough to undo the rest of your system security.
An external pen test measures what an attacker reaches from the internet. An internal pen test starts inside your company's internal network, usually from a compromised laptop or a contractor account, and measures how far that foothold travels.
Median Breakout Time
29 minutes
Attackers move from an initial foothold to a second internal system in under half an hour.
AI-Accelerated Breakout
4 minutes
High-tier adversaries utilizing automated malicious AI agents can shrink this breakout window down to mere minutes.
Average Threat Containment
8 hours, 12 minutes
Security operations relying on manual triage and response take over 8 hours to stop an internal threat.
Full Domain Takeover
24 to 72 hours
Once internal network visibility is achieved, total domain admin compromise occurs within 1 to 3 days.
How much of the attack surface actually gets tested?
Most organizations test a small share of their attack surface. The UK government’s Cyber Security Breaches Survey, published in April 2026, is an official national statistic covering 2,112 businesses and 1,085 charities, so it shows what normal looks like across an economy.
Security monitoring tools
32%
19%
Cyber security risk assessment
30%
27%
Mock phishing exercises
22%
13%
Penetration testing
13%
7%
Size drives most of the gap. Among large businesses, 91% carried out at least one risk-identification activity, against 52% of businesses overall. Mock phishing exercises reach 22% of businesses, while penetration testing exercises reach 13%. Outside the UK sample, 40% of companies admit they lack adequate cybersecurity infrastructure, and 1 in 5 do not test their software for security vulnerabilities at all.
Measures organizations put in place
The UK government survey covers 2,112 businesses and 1,085 charities, so it shows which security controls the whole economy puts in place.
Security monitoring tools
32%
19%
Cyber security risk assessment
30%
27%
Mock phishing exercises
22%
13%
Vulnerability audits
18%
10%
Penetration testing
13%
7%
Detection-style measures are adopted more widely than testing-style ones, so more organizations watch for an attack than go looking for the weakness that would let one in. And vulnerability audits run ahead of penetration tests, at 18% against 13%, which fits their lower cost and lighter scope. A vulnerability assessment runs vulnerability scans with automated vulnerability scanners and lists potential security weaknesses, but an automated test only reports what it already recognizes.
An audit finds what is exposed – a test proves what an attacker could do with it. The vulnerability analysis in between, done by hand, is what separates the two.
What happens after the report
Finding a flaw is not the same as closing it. Organizations fail to remediate about half of the vulnerabilities uncovered during penetration tests, and 28% say testing has not prevented a breach, which usually points to critical risks left open rather than to a test that missed them.
The other side of that number: enterprises running regular security testing report up to 50% fewer security incidents. A findings list nobody works through does not fix vulnerabilities, so the security improvements come from the remediation and the retest, not from the document. That is where your overall security posture moves.
Industry reports point that security professionals rate structured, continuous testing programs as far more effective at surfacing serious vulnerabilities, and most say they won't act on an automated or AI-generated finding without a human validating it first. The same reports show scheduled, point-in-time testing routinely misses issues that surface between windows. This is another case for continuous coverage over an annual snapshot.
Regulatory compliance as a testing drive
For most teams, the first test is an audit requirement rather than a security decision, and that shapes what gets scoped.
Penetration test frequency required by PCI DSS
At least every 12 months
Organizations that say pen testing matters for regulatory compliance
71%
Information security professionals who perform penetration tests for compliance reasons
75%
Organizations using third-party penetration testers to meet compliance requirements
58%
Vulnerability scan cadence recommended by NIST guidance
Monthly
Third-party testing is the norm because most frameworks expect independence between the team that builds a system and the team that attacks it. Compliance requirements set the floor, not the ceiling. A test scoped only to what an auditor checks leaves the rest of your attack surface unmeasured.
Penetration testing methodologies and standards
Most providers work from a published method rather than inventing one per engagement. The Penetration Testing Execution Standard sets out seven phases, from pre-engagement scoping through exploitation to reporting. The National Institute of Standards and Technology publishes SP 800-115, the technical guide to information security testing that United States federal agencies and many critical infrastructure operators map against.
Ask a provider which penetration testing methodologies they follow, and how the method changes for cloud, API, and AI systems. A method built for a network will under-test an application, and the reverse is also true.
For web and API work specifically, most testers also map findings to the OWASP Web Security Testing Guide, which fills in the application-layer detail that PTES and SP 800-115 only cover at a high level.
Cloud penetration testing statistics
Cloud environments now account for a measurable and costly share of reported breaches, which is why cloud testing belongs in its own scope rather than inside a network test.
of breaches involved public cloud data, at an average cost of $4.68 million. IBM Cost of a Data Breach Report 2025
of breaches involved private cloud data, at an average cost of $3.90 million. IBM Cost of a Data Breach Report 2025
is the average cost of breaches where data was spread across multiple environments — including public and private cloud together — making it the most expensive category and the slowest to identify and contain. IBM Cost of a Data Breach Report 2025
of shadow AI-related breaches occurred in public cloud or multi-environment settings combined. IBM Cost of a Data Breach Report 2025
of cloud-infrastructure secrets leaked in public code repositories were Google Cloud API keys — a reminder that leaked credentials, not just misconfiguration, are a primary way into cloud environments. Verizon Data Breach Investigations Report 2025
Cloud security penetration testing is forecast to grow at a 15.9% compound annual growth rate, the fastest-moving segment of the market.
These figures are why cloud penetration testing has to cover identity and access management alongside storage and workload configuration, rather than treating cloud as just another network segment. Cloud data security depends on who can reach the sensitive data, not on where the servers sit.
How Is Artificial Intelligence Changing Penetration Testing and Defense?
Artificial Intelligence now sits on three sides of a test at once: in the defender’s tooling, in the attacker’s toolkit, and inside the systems under test. Each side has its own figures.
Artificial Intelligence in security tooling
The latest security tools embed AI copilots that automate reconnaissance, and they still miss what a tester finds by hand. A scanner reports a misconfiguration, but it does not chain three low-severity issues into a working path to your customer records. That judgment is why our own engagements stay manual and senior-led.
Over 75% of enterprises will use AI-amplified cybersecurity products for most use cases by 2028, up from under 25% in 2025
Extensive use of security Artificial Intelligence and automation cut 65 days off detection and containment, saving US$1.93 million per breach
IBM Cost of a Data Breach 2026
AI-enabled attacks
IBM’s Cost of a Data Breach Report 2026:
Share of malicious breaches that were AI-enabled
One in four
Rise in AI-driven attacks, led by deepfake impersonation and AI-enabled malware
56%
Average cost of an AI model inversion attack
US$6 million
Shadow AI
Shadow AI is the usage of AI tools staff adopt without approval or oversight.
Shadow AI was involved in 43% of security incidents, up from 20% the previous year
IBM Cost of a Data Breach 2026
Employee use of unsanctioned AI systems rose from 15% to 45% in a single year
Verizon 2026 DBIR
Breaches involving shadow AI cost US$5.39 million on average
IBM Cost of a Data Breach 2026
67% of users access AI services through non-corporate accounts on corporate devices
Verizon
AI governance gaps
IBM’s Cost of a Data Breach Report 2026:
Organizations hit by attacks on their AI models that lacked adequate AI access controls
92%
Breached organizations with no policy for overseeing AI use
More than two-thirds
A conventional web application test will not find prompt injection, unsafe tool use by an agent, or data leaking through model output. Those need a method built for the system under test, which is what AI penetration testing sets out to do.
What Does a Breach Cost When Testing Misses Something?
IBM’s Cost of a Data Breach Report 2026 covers 602 organizations breached between March 2025 and February 2026.
Global average breach cost, up 12% and a record high
US$4.99M
United States average, more than double the global figure
US$11.5M
Healthcare average, costliest sector for 13 consecutive years
US$6.64M
Average where the attack was AI-enabled
US$6 million
Average where shadow AI was involved
US$5.39 million
Saving from extensive security Artificial Intelligence and automation
US$1.93 million
Breach impact by company size (Verizon's 2026 Breach Impact Study): median >$83,000 overall;
- Each engagement concludes with a detailed report covering identified vulnerabilities, risk ratings, and remediation steps.
- SMB $38,000; mid-market $96,000;
- large enterprise $283,000.
Penetration Testing Jobs and Salary Statistics
Demand for penetration testers is one reason testing capacity is hard to build in-house.
Pen testing job openings posted in the United States last year
Over 22,000
Average salary, entry level penetration testers
US$72,823
Average salary, 5 to 9 years of experience
US$110,251
Average salary, seasoned penetration testers
US$124,607
Average United States penetration tester salary
US$90,273
Job listings requiring a bachelor's degree
66%
Hiring ethical hackers in-house means competing at those rates for people who also have to stay current. Many teams keep one or two vulnerability testers internally for routine checks and bring in external security professionals for the deeper, point-in-time work. Ethical hacking also finds more when the tester did not write the code, which is the other argument for going outside.




