Skip to content
cloudgrip

$ man vulnerability-scanning-vs-penetration-testing

//Offensive testing

What is the difference between vulnerability scanning and penetration testing?

A vulnerability scan is an automated check that lists known weaknesses a system may have. A penetration test is an authorized attack that proves which weaknesses can actually be exploited and what an attacker would gain. They answer different questions.

  • Offensive testing
  • 3 min read
  • updated Nov 11, 2026

The short answer

A vulnerability scan asks "what might be wrong here?". A penetration test asks "what can an attacker actually do here?". The scan is broad, fast and automated, and produces a list of possibilities. The test is deeper and produces proof.

What a vulnerability scanner does

A scanner works from a catalog. It connects to each system, identifies the software and its version, and compares what it sees with a database of known problems, most of them published as CVE entries. It also checks for common misconfigurations such as default passwords or weak encryption settings.

Its strength is coverage: it can check thousands of machines overnight and again next week.

Its weaknesses follow from how it works.

  • False positives. A version number can look vulnerable when the fix was applied without changing the version, or when the vulnerable feature is switched off.
  • No context. It rates each item alone. It cannot say that two medium issues combine into a serious one.
  • Blind to your own logic. It knows published flaws in common software. It does not know that in your application, a customer should never see another customer's invoices.

What a penetration test does

A penetration tester starts where the scanner stops. The tester may run scanners too, but treats the output as leads. Each lead is tried. What works is taken further: chained with other weaknesses, used to move deeper, and followed until its real impact is clear.

The tester also looks for things no catalog contains: broken access control, flawed business rules, unsafe workflows. Every finding in the report comes with a proof of concept that an engineer can repeat.

The cost is time: a traditional test covers a limited scope for a limited window.

Side by side

Vulnerability scan Penetration test
Question answered Which known weaknesses may be present What can be exploited, and with what result
Method Automated matching against a catalog Active attack guided by reasoning
Finds Missing patches, known flaws, misconfigurations Those, plus authorization and logic flaws and attack chains
Result A long list ranked by generic severity A shorter list of proven findings with evidence
Typical rhythm Weekly or monthly, or continuous Yearly or per release

An invented web shop shows the difference.

The scan reports that a JavaScript library is two versions behind, that a response header is missing, and that the server supports an old encryption protocol. All three are true, and none of them lets anyone steal anything today.

The penetration test logs in as a customer and changes the order number in the address of the "download invoice" page. Another customer's invoice appears. The response is a normal page with a normal success code, so the scanner had no reason to flag it.

When to use each

  • Scan continuously across everything you run, and use the results to drive patching. See vulnerability management.
  • Pentest the systems that hold valuable data or carry customer trust, before major releases and after significant changes.

Compliance frameworks usually treat them as separate duties. PCI DSS, the payment card standard, requires regular vulnerability scans and, as a distinct requirement, penetration tests. Passing one does not satisfy the other.

The line between the two is moving. Automated and AI-driven testing can now attempt exploitation, not only detection, which makes it possible to run something closer to a penetration test at the rhythm of a scan. Cloudgrip's Hydra takes this approach and drops any finding its agents could not exploit and replay from a clean session. This is the idea behind continuous penetration testing.

Common misunderstandings

  • "We scan every week, so we do not need a pentest." Scans do not find flaws in your own access control or business rules.
  • "A clean scan means we are secure." It means no known, catalogued issue was detected on the systems scanned.
  • "An automated pentest is just a scan with a new name." Sometimes it is. The way to tell is whether each finding comes with a working exploit or only a suspicion.

See what an attacker would find.

Give us a URL and two test logins. If there’s something to find, your first exploited findings land within 24 hours.

You talk to the people who build Hydra and Cerberus. No sales script.

or write to founders@cloudgrip.ai