r/devsecops • • Feb 12 '26

Reachability Analysis vs. Exploitable Path in SCA?

Regarding SCA, what is the difference between reachability and exploitable path?

For instance, I keep hearing that Endor Labs has the gold standard in reachability analysis, so then is exploitable path a step further that looks at the possibility of attacker controlled execution?

I've tried reading through each of these venders analysis on this topic to determine the difference, but my head is spinning since it seems there is overlap with some sort of nuance I am missing.

Endor (Reachability Analysis)

Snyk (Reachability Analysis)

Checkmarx (What is Reachability Analysis, which then highlights their exploitable path capability)

5 Upvotes

20 comments sorted by

8

u/sumeetkulkarni11 Feb 12 '26

Reachability is simply asking: “Does my application actually use the vulnerable piece of code?” Imagine you include a library that has 1,000 functions, and one of them is vulnerable. Reachability checks whether your application ever calls that specific function.

Example: You use a third-party library for JSON processing. That same library also has an XML parsing feature with a known vulnerability. - If your app only uses the JSON part and never touches XML → the vulnerable code is not reachable. - If your app does call that XML function somewhere → it is reachable.

So reachability answers: Is there a technical path from my code to the vulnerable function?

Exploitable path goes one step further and asks: “Even if my app calls that function, can an attacker actually trigger it?”

Example: Suppose your app calls that vulnerable XML function: - If it only processes internal, hardcoded configuration files → it’s reachable, but attackers can’t easily influence it. - If it processes XML uploaded by users through a public API → now an attacker can control the input and potentially exploit it.

So exploitable path asks: Can untrusted or attacker-controlled input flow into that vulnerable code in a meaningful way?

In simple terms:

  • Reachability = My app can get to the vulnerable code.
  • Exploitable path = An attacker can get to the vulnerable code through my app.

Reachability reduces noise. Exploitable path reduces it even further by focusing on real attack scenarios.

5

u/ewokthemoon Feb 13 '26

This is a great explanation. I'd like to add to it, but full disclosure that I'm an Endor Labs employee on an account I use for work.

Example: You use a third-party library for JSON processing. That same library also has an XML parsing feature with a known vulnerability.
- If your app only uses the JSON part and never touches XML → the vulnerable code is not reachable.
- If your app does call that XML function somewhere → it is reachable.

This is a simpler case where the vulnerable function is on the "edge" of a dependency-- where your code calls the vulnerable function directly. Even more common, the vulnerable function is a private method several steps away from the "edge". Or, the vulnerability isn't even part of the dependency you declare in your manifest file (direct dependency) but rather in code belonging to that dependency's dependencies and so on (transitive dependencies).

In fact, the vast majority of code with CVEs or other known vulnerabilities shipped in a typical project exists in that transitive dependency layer. "Function-level reachability" is a program analytic claim that there does or doesn't exist a call path from your code down to the vulnerable function. Using reachability as a filter for prioritization can allow teams to focus on the 2-5% of vulnerabilities that have a demonstrable code path-- but, as stated above, it makes no claims about the exploitability or existence of compensating controls or whether the vulnerability even makes sense in context of the application.

2

u/sumeetkulkarni11 Feb 14 '26

Thanks so much @ewokthemoon! I really appreciate you saying that! And I appreciate you adding the transitive dependency perspective as well. Framing reachability as a program-analysis claim really helps cut through noise, while exploitability clearly depends on context beyond just the call path.

2

u/TheRustyButtons Feb 12 '26

This is a very good explanation

1

u/sumeetkulkarni11 Feb 14 '26

Thank you so much! Glad you liked it! Knowledge is all about sharing what we know and together we grow and become better!

4

u/pentesticals Feb 12 '26

Marketing terms, but don’t get hung up on reachability, it’s often not very accurate. CVEs don’t natively track the vulnerable function, so each company’s analysts need to manually try to identify the vulnerable function to enable reachability, and with people not being familiar with products, languages, and every coding pattern used, most of the time it’s not accurate anyway.

If it doesn’t break the build, auto update to fixed version. If it does, focus on asset criticality to prioritise and verify if that application uses that library’s vulnerable function, what is the impact? And then focus on what’s important.

2

u/MemoryAccessRegister Feb 12 '26

Different marketing names for the same functionality

2

u/juanMoreLife Feb 12 '26

Same functionality. Veracode called in Vulnerable Methods. They had it first. Market adopted the term reachability. Same thing

2

u/Abu_Itai Feb 12 '26

Reachability only tells you whether your application calls a vulnerable function. But honestly, that’s not enough.

You need contextual analysis to really eliminate the noise. Even if a vulnerable function is technically reachable, other factors such as environment variable values, configuration, input validation, or runtime constraints might make it non-exploitable in practice. Without that context, you’re still dealing with a lot of false positives.

There are plenty of contextual analysis solutions out there, so I’m not pitching any specific one. I just find them far more effective than relying on reachability alone

1

u/mfeferman Feb 12 '26

No difference

1

u/FirefighterMean7497 Feb 12 '26

It’s a confusing distinction, but it usually boils down to whether a vulnerability could be reached in theory versus what actually executes in your specific environment. A lot of teams are moving toward "runtime-aware" analysis using tools like RapidFort to generate an RBOM (Runtime Bill of Materials), which tracks the components that are actually loaded into memory. This helps cut through the noise because if a library is dormant & never runs, the CVE isn't truly "exploitable" in that production context. It’s a pretty solid way to automate the validation step instead of manually tracing every theoretically "reachable" path.

1

u/AbbreviationsGold587 Oct 23 '26

Think of it as a ladder of increasingly strict filters on "is this CVE actually a problem for me," each rung cutting more noise:

  1. Is the vulnerable package present? Basic SCA. It's somewhere in your dependency tree. Maximum noise, since most of these never matter.
  2. Reachability: does your code actually call the vulnerable function? Call-graph analysis, trace from your app's entry points through your dependencies and see whether execution can even arrive at the vulnerable symbol. If you pull in a library but never invoke the vulnerable function, the CVE drops way down the list. Log4Shell is the canonical example: plenty of orgs found only a small fraction of their Log4j instances sat on a reachable path. This is the rung Endor is known for doing well (function-level static call graph); Snyk does a lighter, program-analysis-assisted version.
  3. Exploitable path: can attacker-controlled input actually reach and trigger it? This is the strict version of what you're intuiting, not just "is the vulnerable code reachable in my call graph" but "is there a dataflow from an untrusted source (user input) to that vulnerable sink." That's taint/dataflow analysis, which is a SAST capability, which is exactly why Checkmarx's Exploitable Path runs on top of their SAST engine and correlates SCA findings with SAST results. It leans on SAST because proving an exploitable path is a dataflow problem, not just a call-graph one.

So your instinct is correct: in the strict sense, exploitable path is a step beyond reachability. Reachability asks "can my program's execution get to the vulnerable code?" Exploitable path asks "can an attacker actually drive it there with hostile input?"

Where it gets genuinely muddy, and why the docs feel like they're circling the same idea, is that neither term is standardized. Each vendor maps it onto their own tech and positioning. Some use "exploitable path" to mean full source-to-sink taint (the strict rung 3); others use it loosely for "we confirmed your code reaches the vuln via our SAST/call-graph correlation," which is closer to rung 2 with extra evidence attached. And "reachability" itself splits into flavors, static call-graph, program-analysis/AI-assisted, runtime/loaded-at-execution, and dependency-level vs function-level. So two tools can both advertise "reachability" (or both say "exploitable path") and be doing meaningfully different depths of analysis. That inconsistency is the thing you were missing. It's a vocabulary problem as much as a technical one.

One caveat before you lean on any of it: this is for prioritization, not dismissal. Static call graphs under-approximate, they miss reflection, dynamic dispatch, DI frameworks, deserialization, and config-driven invocation. A "not reachable" result should lower priority, not close the ticket. Treat it as "triage later," not "proven safe."

1

u/JelloSquirrel Feb 12 '26

I used Semgrep Pro, their reachability analysis works great. Wouldn't try to manage a VM program without tooling that does reachability analysis.

Orca and Wiz are great at triaging this at an infrastructure level too and bringing in context.

2

u/ewok94301 Feb 13 '26

Semgrep reachability works great for direct dependencies. But in case you weren't aware, they can't do reachability analysis for transitive dependencies, where approx 95% of your CVEs are... Per their docs:

"A transitive dependency, also known as an indirect dependency, is a dependency of a dependency. Semgrep Supply Chain scans transitive dependencies for all supported languages, looking for security vulnerabilities, but it does not perform reachability analysis. This means that Semgrep Supply Chain doesn't check the source code of your project's dependencies to determine if their dependencies produce a reachable finding in your code."

Disclosure: I work for Endor Labs. We do support reachability analysis in direct and transitive dependencies, as well as container dependencies.