RV.3 Analyze root causes

RV.3 requires your team to trace each released vulnerability to its root cause, look for patterns over time, remove similar flaws and change the SDLC so the cause does not return. This page covers what an assessor checks, what evidence passes and what the work costs.

On this page

What RV.3 root cause analysis asks your team to prove

A vulnerability has been found and fixed in released software, and the question RV.3 asks is whether your team learned anything from it. Practice RV.3 in SP 800-218 (SSDF version 1.1, published February 3, 2022) has four tasks. RV.3.1 asks you to analyze each identified vulnerability to determine its root cause. RV.3.2 asks you to look across root causes over time for patterns, such as a secure coding practice that is not followed consistently. RV.3.3 asks you to review the software for similar vulnerabilities so that a whole class of flaws is eradicated, not only the one reported. RV.3.4 asks you to review the SDLC and update it where appropriate so the root cause is less likely to recur. Together these tasks form the feedback loop of the framework: findings from released software flow back into how software is designed, coded, reviewed and released.

The risk this section addresses is repetition. A team that fixes each report in isolation can ship the same class of flaw release after release, for example an injection pattern copied between services or an authorization check left out of a new endpoint. Each fix looks correct on its own, so the pattern stays hidden. An assessor reviewing RV.3 will usually ask for records that show the link between a vulnerability, its root cause, the other places the cause appeared and the process change that followed. Before you accept the task as met, confirm with your own engineering and security leads which of these records already exist and who owns the decision to change the SDLC.

The usual obstacles are predictable. Root causes are often recorded as free text in a ticket comment, so they cannot be counted or compared. Vulnerability records, code changes and fixed-version tickets are not linked, so no one can show which fixes covered which classes. SDLC changes, such as a new lint rule, a required review step or an updated coding standard, are made in a meeting and never written back to the process record. SP 800-218 is outcome-based and is not a checklist, so your organization decides how to meet each task based on risk, cost, feasibility and applicability. That decision should be written down, including why a given change was or was not made, because the reasoning is part of the evidence.

How the RV.3 feedback loop runs from one vulnerability to an SDLC change

The loop starts with a confirmed vulnerability and its RV.1 and RV.2 records, then moves through root cause analysis (RV.3.1), pattern review across past findings (RV.3.2), a class-wide search and fix (RV.3.3) and an SDLC review (RV.3.4). Each hand-off should leave a dated record, such as a root cause note, a pattern report, a list of fixed instances and a change to the SDLC procedure. The feedback arrow returns those changes to secure development practices, so the next vulnerability is handled under the updated process. When you review the loop, check that each step produces a record you can show an assessor and that the SDLC change is actually adopted.

The RV.3 loop, with the task ID and record produced at each step.

How an assessor tests RV.3 root cause analysis

This table walks through each RV.3 task, the test approach an assessor is likely to take, the evidence they will ask for and the findings that appear most often. Read it as a guide to preparing records, and confirm the assessor's method with the framework owner or the assessment scope document before relying on it.

TaskLikely test approachEvidence requestedCommon findings
RV.3.1 Determine root causes of identified vulnerabilitiesSelect a sample of recent vulnerabilities from the tracker and check that each has a root cause field completed and reasoned, not copied from the title.Vulnerability records with a documented root cause, the analysis notes and the link from the report to the fix commit or change.Root cause recorded as the symptom, such as 'SQL injection' with no explanation of the coding gap or missing review step that allowed it.
RV.3.2 Analyze root causes over time for patternsPull root cause data across several releases or reporting periods and check whether someone reviewed it for recurring causes, such as a secure coding practice not followed consistently.Trend reports or periodic review minutes, the categories used for root causes and the decisions taken from the review.Root causes captured but never aggregated, no pattern review across releases, or categories changed so often that trends cannot be compared.
RV.3.3 Search for similar vulnerabilities to eradicate a classFor a sample of root causes, check that a class-wide search was run in the codebase or dependencies and that matches were triaged and fixed.Search queries or scanner rules used, the scan output, the list of affected components and the tickets that fixed the remaining instances.Fix applied only to the reported location, no record that the wider codebase was searched, or search results left untriaged without a stated reason.
RV.3.4 Review and update the SDLC to prevent recurrenceTrace a sample of SDLC changes such as new review checklists, CI rules or training back to a named root cause and check that the change is in effect.Change records or pull requests linked to root cause IDs, updated process documents with version history and evidence the new control runs in the pipeline.SDLC changes made without a linked record, process documents updated but not adopted by teams, or no statement on whether a change was considered and rejected.
Sampling across all four tasksAssessors commonly pick recent vulnerabilities, then follow each one through root cause, pattern review, class-wide search and SDLC change to confirm the chain holds.A single list that links each sampled vulnerability ID to its root cause, pattern review entry, class search and SDLC change, if any.Gaps appear where the chain breaks, for example a root cause recorded but no SDLC decision made and no note explaining why none was needed.
Scope and method confirmationThe SSDF is outcome-based, so the test method depends on the assessment scope and the organization's risk decisions. No official test procedure is supplied for RV.3 here.The assessment scope document, the organization's stated approach to each task and any agreed sampling rules.Assessors and organizations interpret tasks differently, which causes disputes late in the process when scope was never agreed in writing.

How to set up root cause analysis for each vulnerability

This sequence turns vulnerability closure into a feedback loop: every confirmed vulnerability gets a recorded cause, causes are reviewed for patterns, similar flaws are searched and fixed across the codebase, and the SDLC is updated where a cause keeps recurring. The output at each step is a record, review entry or change ticket that an assessor can trace.

  1. Define the root cause taxonomy and required fields

    The security lead, with engineering leads from each product team, writes a root cause taxonomy: a short, fixed list of cause categories such as missing input validation, misused cryptography, insecure dependency selection, access control gaps, and secure coding practices not followed. Each category gets a definition and one or two examples drawn from your own codebase. The taxonomy is then built into the vulnerability record template as required fields: root cause category, affected component, the secure coding practice or SDLC step involved, and the analyst's name. The step is complete when the taxonomy document is approved and the record template has been changed in your tracker. Ask vendors and your own team whether the tracker can enforce these fields rather than relying on memory.

  2. Require root cause analysis before closure

    Configure the vulnerability workflow so a finding cannot move to closed until the root cause fields are filled in and a short analysis note is attached. The note should explain how the flaw was introduced, why existing checks did not catch it, and whether the same cause could exist elsewhere. Analysis is performed by the engineer who fixed the issue with review from the security team, and it is done for every vulnerability in released software, not only severe ones. The step produces closed records that all carry a cause. Check that reopened findings retain their original analysis and that the workflow blocks bulk closure without it. If your tracker is open source, DefectDojo can hold findings and imported scanner results, so confirm which custom fields it supports in your version before you rely on it.

  3. Set a recurring pattern review by cause and component

    At a regular interval your organization chooses, the security lead and product owners review closed vulnerabilities grouped by root cause category, affected component and the secure coding practice involved. The aim is to spot a practice not being followed consistently, such as the same class of input handling defect appearing in several services. Attendees record the groupings reviewed, the patterns identified, and any decision to investigate further. The output is a review minutes entry with a list of patterns and owners for each follow-up. Filtering exports from your tracker make the grouping repeatable, and the minutes give an assessor evidence that the review occurred and was acted on.

  4. Define the search and fix procedure for a vulnerability class

    When a pattern or a single serious root cause is confirmed, the security team writes a search brief describing the vulnerable code pattern, the languages and repositories in scope, and the test that will show the flaw is gone. Static analysis is a practical starting point: Semgrep Community Edition supports many languages and can run in CI/CD pipelines with custom rules that match the pattern, so the team can search all repositories for the same flaw class. Each match is triaged, fixed through the normal change process, and linked back to the originating vulnerability record. The step is done when the search brief, the rule or query used, and a list of fixed and dismissed matches are stored together. Confirm the language coverage for your stack in the vendor documentation before assuming it applies.

  5. Route SDLC gaps into change tickets

    For each root cause that recurred or that points to a process weakness, the security lead and the process owner decide whether the SDLC needs to change. Typical changes include a new code review checklist item, a required CI check, a protected branch rule, a secure coding training update, or a change to how dependencies are approved. The decision is recorded as an SDLC change ticket that names the root cause it addresses, the owner, the planned change and how its effect will be verified. For example, if a missing authorization check recurred in three services, a ticket might add a required review step for endpoints that change access. Protected branch settings in GitLab Community Edition can enforce merge and push restrictions that support such changes, so confirm the configuration against your own branch policy. The output is a closed change ticket or a documented decision not to change the process, with the reason.

  6. Verify SDLC changes against later findings

    After an SDLC change is deployed, the security lead checks whether vulnerabilities with the same root cause category continue to appear in later reviews. The check uses the same grouping as the pattern review, so results are comparable over time. If the cause persists, the team reopens the change ticket and records what was tried and what will be tried next. The step produces a verification note on each change ticket and a dated entry in the pattern review minutes. This closes the feedback loop the SSDF describes. Ask your assessor or auditor how they expect this evidence to be presented, since the form of evidence is the organization's decision under the framework's outcome-based approach.

Evidence that shows root causes were analyzed over time

RV.3 is judged on the trail, not on a single fix. The artifacts below connect each vulnerability to its root cause, the patterns that emerge across releases, the class-wide sweep that follows, and the SDLC change that closes the loop. Keep them linked by identifier so an assessor can follow one vulnerability from report to process change.

Completed root cause records

Each confirmed vulnerability should have a record that names its root cause, such as a missing input validation step, a skipped code review or an unpinned dependency, and links to the vulnerability ID, the affected release and the fix. This is the RV.3.1 evidence. Check that records are written for every vulnerability in scope, not only the high-severity ones, and that the set of records is exported on a dated schedule so the population can be reconciled with the tracker. Confirm with your assessor how they want the population defined.

SP 800-218 text

Pattern review reports

A periodic report groups root causes across time periods and shows which secure coding practices are not followed consistently, which is the RV.3.2 question. Illustrative example: three findings in different services trace to the same unchecked deserialization call, which points to a training or library gap rather than a one-off error. Keep each report dated, state the period it covers and retain prior versions so trends can be shown. Set the review cadence and the period length from your own risk decisions and confirm them with the assessor.

Class-wide search results and fixes

When a root cause is found, the organization should search the codebase for other instances of the same weakness and record what it found and fixed. This is the RV.3.3 evidence. Save the search queries or rule configurations, the repositories covered and the results, along with the merge requests that eradicated each instance. Scanners such as Semgrep Community Edition can run custom rules against the search, and a dated rule file plus scan output makes the sweep repeatable. Ask the assessor whether they expect a rule file, a manual review record or both.

Semgrep language support

SDLC change records tied to root causes

Where a review of the SDLC shows that a process step should change, the change record should name the root cause that triggered it, the step affected and the date it took effect. This is the RV.3.4 evidence. Protected branch settings, required reviewers and pipeline gates are common examples of controls that get updated. Export the relevant configuration on a dated basis, such as after each change window, so the record shows both the decision and the state of the control. Confirm with your assessor what counts as a process change in your environment.

GitLab protected branches

Taxonomy and review procedure

The procedure defines how root causes are classified, who performs the analysis, what triggers a pattern review and how class-wide searches are scoped. Without it, the other records cannot be compared. Keep one controlled version with an owner, an approval date and a revision history, and reference the version number in every root cause record. Review the taxonomy on a schedule set by your own risk decisions, and tell the assessor when it changed so earlier records can be read against the version in force at the time.

Vulnerability tracker exports

A dated export from the vulnerability management system shows that findings, duplicates and linked root causes were tracked over time. DefectDojo imports and reimports findings from many scanner formats and deduplicates them, which helps keep one vulnerability ID tied to one root cause record across tools. Export the finding history on a fixed schedule and keep the export with the tool version and configuration in effect. Confirm with the assessor which fields must be present in the export for the population to be tested.

DefectDojo supported tools

Which open-source tools can support RV.3 evidence

Root cause analysis starts with a reliable record of what was found, where and when. DefectDojo can serve as that record. Its open source edition imports and reimports findings from more than 500 security tool report formats through the user interface or API, and it offers a generic findings import for anything else. It deduplicates findings using per-tool hashcode fields, so repeated reports of the same flaw collapse into one tracked item. That history is what RV.3.2 needs when reviewing patterns over time.

  • Import history: Reimports keep a trail of which scans reported each finding and when, which supports the pattern review in RV.3.2.
  • Deduplication: Hashcode settings determine whether two reports count as one flaw, so the team should document the configuration it uses.
  • Custom fields: Teams can record fields such as affected component or suspected cause in their own workflow, but should confirm in the documentation which fields exist in the edition they run.
  • Reporting exports: Export and reporting options let the team pull a list of findings by component or date for review.
  • Generic import: Findings from manual reviews or custom tests can enter through the generic format, which keeps internal sources in the same record.

The team must still write the root cause analysis for each vulnerability, the pattern review and the record of SDLC changes. Confirm current import formats and field options in the DefectDojo supported tools documentation before you commit to a workflow.

What meeting RV.3 costs in money and effort

This table compares the main cost components of meeting RV.3, who is paid for each, whether it is one-time or recurring, what pushes it up or down and what to request in a written quote. Most RV.3 cost sits in people's time for root cause analysis, pattern review and SDLC changes, not in tool licenses. Use the last column to build a quote request before you compare partners.

Cost componentOne-time or recurringWhat drives it up or downWhat to ask for in a quote
Tooling and licensesRecurring (hosting and administration); license fees can be zeroDefectDojo, GitLab Community Edition and Semgrep Community Edition are open source, so spend moves to hosting, storage, upgrades and admin timeItemized list of hosting, backup, upgrade and admin hours, with any commercial add-ons named
Engineering time for root cause analysis per vulnerabilityRecurring, per findingNumber of findings, quality of the original report, and whether developers have the context to trace the defect to its originNamed deliverable per finding, such as a written root cause note, and the staff roles who will do the work
Pattern review time per cycleRecurring, per review cycleLength of history kept in the tracker, how consistently findings are tagged by cause, and how often the review runsAgreed review cadence, the data sources reviewed and the written output of each review
Class-wide search and fix workMixed: initial sweep is one-time, repeats are recurringBreadth of the vulnerability class, codebase size, and whether scanning rules exist to find similar defects automaticallyScope of the search (repositories, services, languages), rule authoring included or not, and the fix verification method
SDLC process change workOne-time for the change, recurring for enforcementNumber of teams affected, how much review tooling must change, and how much training is neededNamed changes to the SDLC, the teams covered and how each change will be verified as adopted
Evidence upkeepRecurringHow many RV.3 tasks you evidence, how records are stored, and whether tracker data is linked to commits and ticketsEvidence list mapped to each RV.3 task, retention period and who maintains the records
External testing or reviewRecurring or per engagementApplication complexity, the number of releases in scope and whether an outside party reviews the root cause analysisFixed scope, named deliverables, retest terms and the dates agreed in writing before work starts
Auditor or assessor sampling effortRecurring, per assessment cycleNumber of sampled findings, how easily records can be retrieved and whether the root cause chain is documented end to endNot a partner charge. Confirm with your assessor which records they will sample and in what format

Who does what for RV.3: your team, a partner and the auditor

Your organization owns RV.3 in full. SP 800-218 describes the SSDF as outcome-based, so the choice of how each RV.3 task is met belongs to you, based on your risk, cost, feasibility and applicability. Your people make the root cause calls, decide which patterns matter, approve the classes of vulnerability you will search for and change the SDLC when a root cause recurs. Any decision to accept a residual risk rather than fix a root cause also sits with you and needs a named approver.

  • Root cause judgment: Engineers who know the codebase classify each finding's root cause (for example, a missing input validation step or an unreviewed dependency) and sign off the classification.
  • Pattern review decisions: Your security lead decides how often to review root causes over time (RV.3.2) and which recurring practice gaps count as a pattern.
  • Class-wide search scope: Your team defines which vulnerability classes to hunt across the codebase (RV.3.3) and decides which repositories are in scope.
  • SDLC ownership: Your process owners decide and record SDLC updates that reduce recurrence (RV.3.4), such as new review gates or updated secure coding training.
  • Risk acceptance approval: Any decision not to remediate a root cause is approved by an accountable owner and recorded with the reasoning.

Before an assessment, check that every root cause decision has a named owner and a dated record, not only a ticket comment.

Where RV.3 programs usually fall short and how to close each gap

RV.3 asks for more than fixing the flaw in front of you. The gaps below tend to appear after a fix ships, when the root cause, the pattern and the process change are never connected to one another or recorded. Each card names the closure step and the evidence an assessor would expect to see.

Root cause written as the symptom

A record that says "SQL error on the login form" describes what happened, not why it happened. Under RV.3.1, the analysis should name the underlying coding or process failure, such as unparameterized query construction or missing input validation at a trust boundary. Check that each vulnerability record names a specific failure mode and the code path or control where it occurred, and that a reviewer who did not work on the fix can follow the reasoning.

No pattern review across releases

Individual fixes can look closed while the same cause keeps producing new findings. RV.3.2 asks the organization to review root causes over time and identify patterns, such as a secure coding practice not being followed consistently across teams. Close this gap by tagging each root cause with a shared category and reviewing the tag counts on a fixed cadence. Evidence is the periodic review record and the decisions it produced.

Class-wide searches never run

Fixing one instance leaves identical code in other repositories, services and branches. RV.3.3 expects a review for similar vulnerabilities so that a whole class is eradicated rather than one instance. Run a documented search across all repositories using the root cause pattern, record the hits, and triage each one. Evidence is the search query, its scope, the list of affected repositories and the fix or accepted-risk record for each.

SDLC changes without a root cause link

Teams often update a template, add a linter rule or change a review checklist, but nobody records which root cause the change addresses. RV.3.4 asks whether the SDLC should be updated to prevent or reduce the likelihood of the cause recurring. Link every process change to the root cause ID that triggered it, and note how the team will know the change worked. Evidence is the change record that cites the root cause and a later check showing whether the cause recurred.

Records scattered across tools

Scanner output, tickets, pull requests and review notes often sit in separate systems with no shared identifier, so an assessor cannot trace a finding from detection to fix to process change. Assign one identifier per vulnerability and carry it into every linked record. Tools such as DefectDojo can deduplicate imported findings using per-tool hashcode fields, which helps keep one finding from appearing as several. Confirm each tool's identifier and import behavior in your own environment before relying on it.

Risk acceptance replacing SDLC fixes

Accepting a risk for a known vulnerability is a valid RV.2 decision, but using it repeatedly for the same root cause means the process never changes. Set a rule that any accepted risk tied to a recurring root cause triggers a review under RV.3.4 and a record of whether an SDLC change is needed. Evidence is the acceptance record with its root cause tag, the review outcome and any process update it led to.

How much work RV.3 takes and whether we can do it ourselves

Can a small team handle RV.3 root cause analysis in-house?

Yes in principle. RV.3 does not require a large security function, but a small team can only sustain it if the number of released vulnerabilities is manageable and someone has time to review them each cycle. The four tasks, RV.3.1 through RV.3.4, cover analyzing each vulnerability's root cause, looking for patterns over time, searching for similar flaws across the code and reviewing the SDLC. Each one needs a named person with the time and authority to act. If the release volume or the team's capacity is already stretched, the work tends to slip first, so decide early who owns it and how many hours per month that owner can give.

What drives the effort of RV.3 the most?

Three factors drive most of the effort. The first is the number of vulnerabilities that reach RV.3 in a given period. The second is the number of repositories and products, since each one needs its own review for similar flaws. The third is the maturity of existing records. If vulnerability findings are tracked consistently with a known cause, a pattern review is a query and a discussion. If findings sit in email threads, spreadsheets or tickets with no root cause field, the first effort goes into reconstructing history before any pattern can be seen. Ask your team to measure these three numbers before estimating anything.

How long does it take to get RV.3 ready?

The honest answer depends on the current state of your records and tooling, so no reliable duration can be given without looking at them. A team with consistent findings data, a tool that deduplicates results and a defined SDLC review step will start faster than one that needs to design a taxonomy and backfill history. Confirm the timeline through a scoped assessment that inventories repositories, finding sources, record fields and the people who will own each task. A written scope with deliverables and dates should come out of that assessment, not a guess made before it.

What does RV.3 need from our own staff?

RV.3 needs more from your staff than from any outside party, because the organization owns its controls and its SDLC. The main requirements are:

  • Named owners for RV.3 and for each product or repository in scope
  • Read access to source repositories, build pipelines and vulnerability records
  • Agreement on a root cause taxonomy, so that causes such as a missed input validation step are recorded the same way across teams
  • Decision-makers who approve changes to the SDLC that result from a review

Without these, outside help can prepare analysis, but the decisions and the SDLC changes still have to be made internally.

Can a partner run the pattern review for us?

A partner such as DeployOpen can help run the pattern review, scanning repositories for similar flaws, setting up finding deduplication and preparing the analysis, but the organization still owns the conclusions and the SDLC changes. DeployOpen plans, implements and documents self-hosted platforms in your own infrastructure, and it runs security testing, so it can support the technical side of RV.3. It does not issue audit reports or attestations. Any independent assessment of your SSDF conformance comes from a separate assessor. Ask for the review method and the handover format in writing before work begins.

What should we ask for in a written quote for RV.3 work?

Ask for a quote that is tied to a written scope, not a general day rate. It should list the repositories and products included, the finding sources to be imported, the number of root cause reviews expected and the SDLC areas to be reviewed. It should name the deliverables, such as a root cause register, a pattern report and proposed SDLC changes, and say which items are one-time and which recur, such as ongoing review cycles or retainers. Ask what the client must provide, what is excluded, how changes to scope are priced and what happens if records need reconstruction. DeployOpen does not publish a price list, and a quote follows from the agreed scope.

Which tools help us reduce the manual work in RV.3?

Tooling reduces manual work mostly in the record-keeping and detection steps. DefectDojo can import and reimport findings from many security tool report formats and deduplicates them using per-tool hashcode fields, which gives a consistent record for pattern review. Semgrep Community Edition can run in CI/CD pipelines to scan repositories continuously for code patterns that match a known cause. GitLab protected branches help show that the SDLC change you agree on is enforced, not just documented. Confirm each tool's fit with your languages, licensing and deployment model before adopting it, since tooling alone does not decide root causes.

How DeployOpen scopes and prepares RV.3 evidence

DeployOpen works on RV.3 Analyze root causes as part of a fixed-scope engagement inside your own infrastructure. The work produces root cause records, pattern reviews, class-level fixes and SDLC change evidence that your organization owns and your assessors can review.

How we scope

  • Agree in writing which products, repositories and vulnerability records fall under the RV.3 root cause review
  • Confirm which RV.3 tasks the scope covers, including pattern analysis over time and SDLC review
  • Name the systems that hold findings, such as the tracker, scanners and code hosting, and who has access
  • Set deliverables, timelines and responsibilities before work starts so your team knows what it must provide

How we build

  • Configure a self-hosted findings tracker to import scanner output and deduplicate repeated findings
  • Set up protected branches and review rules in your code hosting so SDLC changes leave an auditable trail
  • Add static analysis rules to CI/CD pipelines to check for recurring insecure patterns identified in root cause reviews
  • Test the configured tooling so records of root cause and pattern analysis are complete and retrievable

How we hand over

  • Deliver root cause records mapped to each vulnerability, with the analysis your team reviewed and approved
  • Document the pattern review method, its cadence and the owner responsible for each recurring finding
  • Provide SDLC change records showing which process updates followed each root cause and how they were verified
  • Explain to your compliance and security teams which evidence supports RV.3 and which decisions remain theirs

How we support

  • Offer ongoing support, upgrades and continuous testing as a retainer after the initial scope closes
  • Help your team rerun pattern reviews as new vulnerabilities and scanner data arrive
  • Retest fixes to classes of vulnerability when the SDLC changes are applied
  • Confirm with your independent assessor what evidence format and retention period they expect before handover

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.