What a retest is
A pentest retest is the step where the tester comes back to check your fixes. After the original report, your engineers fix the findings. The tester then repeats the reproduction steps for each one against the updated system and records what happened.
The output is short: a status and a date for every finding, with a line of evidence. It answers one question, "are the reported problems really fixed?". Engineers believe a fix works because the code changed. A retest confirms it by attacking the fix.
What it covers and what it does not
A retest is scoped to the findings, not to the application.
Normally included:
- Repeating the original proof of concept for each finding.
- Trying close variants. If one endpoint lacked an ownership check, the tester tries its neighbors. If one parameter allowed injection, the tester tries the parameter next to it.
- Checking that the fix did not just move the problem, for example a check added in the web interface while the API still accepts the request.
- Recording a status for every finding, including those that were not fixed.
Normally not included:
- Features released since the original test.
- Parts of the system where nothing was reported.
- A fresh attempt to chain weaknesses across the whole scope.
How results are reported
Each finding gets exactly one status. Here is an invented example.
| Finding | Severity | Retest result | Evidence |
|---|---|---|---|
| Stored cross-site scripting in the comment field | High | Fixed | The test marker is now displayed as plain text |
| Admin API accepts a token signed with the wrong algorithm | High | Fixed | The forged token is rejected with 401 |
| SQL injection in the report filter | High | Partially fixed | The status parameter is safe, the sort parameter is still injectable |
| Session cookie sent without the Secure flag | Low | Not fixed | Cookie attributes unchanged |
| Old TLS versions enabled on a legacy host | Low | Risk accepted | Host is due to be shut down, decision recorded by the client's security lead |
Two results need care. "Partially fixed" must say which part remains. "Risk accepted" is a business decision made by the client, so the report should name who made it and why.
When to do it
Retest soon after fixes ship, while the original test is still a fair description of the system. If months pass, the application has changed so much that a retest of old findings says little, and a new test makes more sense.
Check the terms before you sign. Some providers include one round of retesting within a set window, and others charge for it.
With automated testing, a retest can run as soon as a fix is deployed or a ticket changes state. Cloudgrip's Hydra attacks again after a fix is merged, so the fix is checked against the new build straight away.
Why auditors and customers ask for it
Outside readers want two things: proof that serious findings were fixed, and proof that someone other than the developer checked.
PCI DSS, the payment card standard, states this directly. Requirement 11.4.4 says exploitable vulnerabilities found during penetration testing must be corrected, and testing must be repeated to verify the corrections.
Customers usually see the result through a penetration test attestation letter. The line that states the retest date and what was verified is one of the first things a security reviewer looks for.
How it differs from a new pentest and from regression testing
A new pentest looks for unknown weaknesses across the scope. A retest checks known ones. A clean retest does not mean the system has no flaws. It means the reported flaws are closed.
A regression test is an automated check your own team keeps in its test suite so that a fixed bug does not return in a later release. It complements a retest. The best outcome of a finding is both: the tester confirms the fix once, and a permanent test in your pipeline keeps it fixed.