6.2.3 Code review before release
Before bespoke and custom software is released to production or to customers, it must be reviewed to find and fix possible coding vulnerabilities, such that: reviews confirm the code follows secure coding guidelines; reviews look for vulnerabilities that are already known as well as newly emerging ones; and suitable fixes are made before release. It applies to all entities. Applicability: the review requirement covers every piece of custom and bespoke software, whether public facing or internal, within the development lifecycle; public-facing web applications additionally fall under Requirement 6.4; reviews may be manual, automated or both. Objective under the customized approach: coding vulnerabilities in bespoke and custom software cannot be used to exploit it.
Source: PCI DSS v4.0.1, 6.2.3. The statement above is our statement of the clause, read from the published text and cited so you can check it against the official text, not the instrument verbatim. Open PCI DSS v4.0.1 in the compliance library.
Version 4.0.1 is the active version; 4.0 has been retired. Appendix A1 applies only to multi-tenant service providers, A2 only to card-present POS POI terminals that still use SSL or early TLS, and A3 only when a payment brand or acquirer requires it. Which requirements apply to you follows your validation type.
These are the artefacts auditors commonly ask for on this requirement, our guidance rather than text from the standard. Your assessor decides what is sufficient in your context, and asks for samples across the period when a report covers one.
system holds itEvidence a system already holds
- Pull request or merge request records showing review before merge to the release branch · Source control / CI pipeline
- Static analysis scan results for recent releases with findings tracked to closure · Vulnerability scanner / patch tooling
periodic reviewEvidence produced at each review
- Secure coding guideline document used as the review baseline · Source control / CI pipeline
- Sample of released changes traced to completed reviews and fixed findings · Source control / CI pipeline
governing documentDocuments that govern the control
- Code review procedure referencing the secure coding guidelines in force · Policy repository / GRC workspace
First move
Common gaps auditors find
- Branch protection allows direct commits to main without review
- High-severity static analysis findings released with no documented fix or exception
- Reviews check functionality only and do not consider emerging vulnerability classes
Do this for your whole sheet
Paste the rows you run your controls from and get this mapping for every control at once, with the periodic-review ones flagged and a first move per row. No account for the first run.
Build my evidence sheet6.2.2 Annual secure software training for developers · 6.2.3.1 Manual code review independence and approval