Vulnerability Prioritization (Reachability Analysis)
How Safeguard uses call-graph reachability, EPSS, KEV, and asset context to rank CVEs so teams patch what actually matters first.
Vulnerability Prioritization
Many known CVEs sit in code your application never calls. Reachability analysis tells you which CVEs are actually relevant, so your team patches the ones that matter.
Safeguard's prioritization engine combines four signals: reachability, exploitability (EPSS + KEV), asset context, and business context. The result is a single ranked backlog: reachable, exploitable findings in production rise to the top, and findings in code your application never calls move down.
The Signals
1. Reachability
A CVE is "reachable" when your code actually calls the vulnerable function or triggers the vulnerable code path.
Safeguard performs static reachability analysis only:
- Static reachability - builds a call graph from your source, lockfile, and bytecode, and checks whether any path leads to the vulnerable sink.
A vulnerability is classified as:
- Reachable - a real call path exists in your code.
- Conditionally reachable - path exists but requires a feature flag, route, or configuration not currently enabled.
- Unreachable - no call path exists in your compiled code.
- Unknown - the analyzer couldn't decide (e.g., dynamic dispatch, reflection, native code). Marked conservatively as potentially reachable.
2. Exploitability - EPSS and KEV
- EPSS (Exploit Prediction Scoring System) estimates the probability of exploitation within 30 days. Safeguard ingests the daily EPSS feed.
- KEV (CISA Known Exploited Vulnerabilities) lists vulnerabilities observed being exploited in the wild. If a CVE is on KEV, exploitation is not hypothetical.
- Weaponization signal - Safeguard tracks public PoC availability (exploit-db, GitHub PoC repos, Metasploit modules) as an additional exploit-availability signal.
3. Asset Context
A vulnerability in code that only runs in a dev Docker compose file is not the same as a vulnerability in the production API. Each asset carries labels such as:
env: production, staging, dev, sandbox.exposure: internet-facing, internal, air-gapped.data_class: customer PII, PHI, PCI, public.criticality: inferred from asset ownership and business tags.
These labels feed into the prioritization score.
4. Business Context
Via policy you can declare which assets are regulated (PCI, HIPAA, FedRAMP), which handle customer data, and which are on the critical path for revenue. Findings on those assets rank higher.
The Unified Priority Score
Each finding gets a Priority Score from 0-100:
priority = f(
base_severity, // CVSS 3.1 base score
epss_probability, // 0.0 - 1.0
kev_listed, // boolean
poc_available, // boolean
reachability_class, // reachable | conditional | unreachable | unknown
env, // production > staging > dev
exposure, // internet-facing > internal
data_sensitivity, // regulated > public
business_criticality // policy-defined
)The exact weights are configurable per tenant (Settings → Prioritization). Defaults map to the intuitive ordering:
- Reachable + KEV-listed + production → Priority 90-100 (P0).
- Reachable + EPSS > 0.5 + production → Priority 75-89 (P1).
- Reachable + high CVSS + staging → Priority 50-74 (P2).
- Unreachable + any severity → Priority 0-30 (backlog; auto-suppressed in some views).
Where the Noise Reduction Comes From
Each signal takes a different kind of finding out of the urgent queue:
- Reachability filtering moves CVEs in code your application never calls to the backlog.
- Low EPSS demotes CVEs that are unlikely to be exploited.
- Asset-class filtering demotes findings on dev and sandbox assets.
- Deduplication collapses the same issue reported by several scanners into one finding.
How much the queue shrinks depends on your code, languages and environments. The Priority and Reachability columns show the effect on your own findings.
How to View It
Vulnerabilities Tab (ESSCM)
The vulnerabilities table has a Priority column and a Reachability column. Default sort is Priority descending.
Common filters:
reachable:true- only reachable findings.kev:true- only KEV-listed findings.env:production reachable:true kev:true- the P0 backlog.
Griffin Natural Language
Griffin understands the prioritization surface directly:
"Show my P0 findings in production that are reachable."
"Which of last week's new CVEs are reachable and not on KEV?"
"Summarize the top 10 priorities for the payments service."Integrating With Policy
Reachability feeds directly into guardrails. A production policy might say:
- id: no-reachable-kev-in-prod
condition: |
env == "production"
AND any(vulnerabilities,
reachability_class in ["reachable", "conditional"]
AND kev == true
)
effect: blockSee Guardrails & Enforcement for the full policy language.
When Reachability Doesn't Help
Reachability is not a silver bullet. It's weakest when:
- Code executes dynamically via reflection, eval, or unsafe dispatch. Safeguard marks these as
unknownand does not suppress them. - Vulnerabilities are data-driven (e.g., accepts a malicious input even though the function is unreachable by static analysis).
- The vulnerable code path runs only under specific configurations that the analyzer cannot enumerate.
For these cases, rely on the other signals (KEV, EPSS, asset context) and conservative defaults.
Auto-Fix and Griffin Integration
Once a finding is prioritized, Griffin can:
- Propose a minimum-risk upgrade that resolves the vulnerability.
- Generate a safe-downgrade when a patched version doesn't yet exist.
- Explain why a finding was de-prioritized (essential for exception reviews).
- Auto-open PRs for the top-N priorities on a schedule.
See Auto-Fix.
Related
- Continuous Scanning - how findings get detected.
- Vulnerabilities - the ESSCM vulnerabilities UI.
- Auto-Fix - how Griffin remediates prioritized findings.
- Guardrails & Enforcement - enforcing policies on reachable findings.
- AI Models: Griffin, Safeguard's security model, and how it powers prioritization.
Continuous Scanning
Safeguard re-evaluates every asset against new vulnerabilities, and new policy rules continuously - not just at build time.
Software Composition Analysis (SCA)
Find and prioritize known vulnerabilities and license risks across your full dependency graph, with reachability-aware triage and a single findings model.