Subscribe to the Non-Human & AI Identity Journal
Home FAQ Cyber Security How do teams know whether a vulnerable dependency…
Cyber Security

How do teams know whether a vulnerable dependency is actually risky?

← Back to all FAQ
By NHI Mgmt Group Editorial Team Updated August 2, 2026 Domain: Cyber Security

Teams should test whether the vulnerable function is reachable from real application flows. If the code path cannot be invoked with application data, the finding may still exist, but the exploitability is lower and should be documented differently. Reachability evidence is far more defensible than counting raw CVEs alone.

Why This Matters for Security Teams

Risk decisions change when a dependency is merely present versus actually reachable. A scanner can identify a vulnerable package, but that does not prove an attacker can drive the vulnerable code path with application input. Security teams that treat every CVE as equally exploitable create noise, inflate backlog pressure, and distract engineering from the dependencies that can truly affect confidentiality, integrity, or availability.

This matters because reachability is not just a triage convenience. It changes how findings are prioritised, how exceptions are documented, and how remediation effort is justified to product owners and auditors. The control mindset in the NIST Cybersecurity Framework 2.0 is useful here: identify what is in scope, understand exposure, and then focus protection and response on the assets and pathways that matter most.

Teams also get this wrong when they assume dependency presence equals exploit path. In practice, many security teams encounter the real risk only after an incident review or a late-stage pen test, rather than through intentional reachability analysis.

How It Works in Practice

Reachability analysis asks a practical question: can the vulnerable function actually be invoked in the deployed application, under realistic conditions, with inputs an attacker could influence? That means tracing execution from user-facing or machine-facing entry points through routing, library calls, feature flags, configuration states, and exception handling. A vulnerability in a package that ships inside the image is not automatically a live issue if the affected class, method, or code path is never called.

Good teams combine several evidence sources rather than relying on a single scanner result:

  • Static analysis to identify whether the vulnerable symbol is imported or referenced.
  • Call graph or dependency path analysis to determine whether execution can reach the vulnerable routine.
  • Runtime telemetry, tracing, or test harnesses to confirm whether the path is exercised in production-like conditions.
  • Configuration review to check whether the risky feature is disabled, gated, or only present in non-production modes.

That evidence should be recorded alongside the finding. If the code is reachable only in an administrative workflow, internal batch job, or rare fallback path, the risk is different from a public unauthenticated endpoint. The documentation should say so clearly, because exception handling, compensating controls, and remediation timelines all depend on that distinction. For control mapping, the NIST SP 800-53 Rev 5 Security and Privacy Controls provides a strong basis for documenting vulnerability management, system boundary understanding, and control effectiveness.

In mature pipelines, reachability checks are often paired with software composition analysis, SBOM review, and targeted test cases that try to reach the vulnerable library call. This is especially important in microservices and build-heavy environments where the same package may exist in many services but be reachable in only a few. These controls tend to break down when applications are highly dynamic, rely on runtime code generation, or expose behaviour only through opaque third-party integrations because execution paths become harder to prove with static evidence alone.

Common Variations and Edge Cases

Tighter reachability testing often increases analysis overhead, requiring organisations to balance better prioritisation against slower triage and more engineering involvement. That tradeoff is real, especially when teams need fast decisions during incident response or mass vulnerability disclosures.

Current guidance suggests treating reachability as one input to risk, not the only one. A non-reachable vulnerability may still matter if it affects a widely shared library, creates future exposure through configuration drift, or can be activated by a small code change. Best practice is evolving around this point, and there is no universal standard for how much proof is enough. Some organisations accept static proof of non-reachability; others require runtime validation for high-severity issues.

Edge cases include dead code that can become live after a feature release, admin-only paths that are protected today but may be exposed later, and libraries that are unreachable in the application layer but callable through build tooling, background workers, or embedded scripts. Teams should also be careful not to confuse “not observed yet” with “not reachable.” If the analysis depends on assumptions about configuration, version pinning, or service topology, those assumptions should be explicit and reviewed when the environment changes.

In practice, the best answer is a documented, evidence-based risk call: vulnerable, reachable and exploitable; vulnerable but constrained; or vulnerable but currently not reachable, with conditions for that assessment to remain valid.

Standards & Framework Alignment

This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.

NIST CSF 2.0 and NIST SP 800-53 Rev 5 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
NIST CSF 2.0ID.RA-1Reachability analysis is part of understanding actual software risk exposure.
NIST SP 800-53 Rev 5RA-5Vulnerability scanning must be followed by impact analysis to judge exploitability.

Document which vulnerabilities are reachable and adjust remediation urgency accordingly.

NHIMG Editorial Note
Reviewed and updated by the NHIMG editorial team on August 2, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org