Join our Newsletter — 33% off our NHI Course
Home FAQ Cyber Security What do teams get wrong when they rely…
Cyber Security

What do teams get wrong when they rely on mitigation instead of upgrading vulnerable dependencies?

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

Teams often assume a workaround is equivalent to remediation, but mitigations usually narrow one attack path rather than remove the flaw. That creates residual risk if the workaround is misconfigured, bypassed, or only applied in part of the environment. A dependency audit is essential so teams can find every product, service, or container that still links to the vulnerable library.

Where mitigation falls short of real remediation

mitigation can be a useful stopgap, but it is not the same as removing the vulnerable component. The main mistake is treating a compensating control as if it closes the flaw everywhere, when in practice it often protects only one application path, one deployment pattern, or one environment. That leaves exposure behind for any unaddressed instance.

Teams also underestimate how fragile partial fixes are. A workaround may depend on perfect configuration, a specific network boundary, or a narrow policy rule, and those assumptions tend to break as systems change. If the vulnerable dependency is still present, the organisation is still carrying the defect, even if the blast radius has been reduced.

Why dependency inventory is part of the fix

Upgrading the dependency works only when teams can find every place it is used. That means auditing products, services, build pipelines, and container images, because the same library can appear in multiple layers and remain invisible to the team that owns the exposed application. Without that inventory, mitigation can become a false sense of closure.

For teams managing software at scale, the hard part is often not the upgrade itself but the discovery problem. A dependency may be embedded indirectly through a framework, pinned in a lockfile, or bundled into an image that gets reused downstream. The remediation question is therefore not just “can we block the exploit?” but “have we actually removed the vulnerable version from circulation?”

NHIMG’s Ultimate Guide to NHIs is useful here because it frames the broader inventory and lifecycle discipline that teams need when secrets, credentials, and other security dependencies are spread across many systems.

Risk and Threat Considerations

Mitigation reduces exposure, but it leaves a live dependency that can still be reached through misconfiguration, shadow deployments, or an overlooked integration. The result is fragmented protection, which is especially dangerous when one vulnerable package is reused across multiple products or containers.

Failure mechanism: The control only covers the known path, while other instances keep loading the vulnerable library, or the workaround is bypassed when configuration drifts, a feature flag changes, or a new deployment skips the compensating rule.

Impact: Attackers do not need the mitigation to fail everywhere, only in one reachable instance. That can preserve exploitation potential, delay incident response, and turn a supposedly fixed issue into a recurring exposure across the estate.

Standards & Framework Alignment

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

CIS Controls v8 and NIST CSF 2.0 set the governance and control requirements practitioners need to meet.

FrameworkControl / ReferenceRelevance
CIS Controls v8CIS Control 4 — Secure Configuration of Enterprise Assets and SoftwareMitigation vs upgrade hinges on hardened software configuration and asset coverage.
CIS Control 7 — Continuous Vulnerability ManagementThe question is about remediating vulnerable dependencies rather than leaving them in place.
CIS Control 2 — Inventory and Control of Software AssetsFinding every product, service, and container using the library is a software inventory problem.
Recommendation — Harden and track software configurations so compensating controls stay consistent across every deployment. Prioritise identification and replacement of vulnerable dependencies over relying on workarounds alone. Maintain a complete software inventory so vulnerable dependencies can be located and upgraded everywhere.
NIST CSF 2.0PR.IP-12 — Vulnerability Management PlanThe issue is whether the vulnerability is actually removed versus temporarily suppressed.
ID.AM-2 — Software, Hardware, Data, and Service InventoriesDependency audits depend on knowing where software components and services are deployed.
PR.DS-6 — Integrity and Availability MechanismsLeaving a vulnerable dependency in place preserves integrity and availability risk.
Recommendation — Use a vulnerability management plan that drives full remediation, not just compensating controls. Keep software and service inventories current enough to trace vulnerable dependencies to every consumer. Remove vulnerable components rather than depending solely on partial protection mechanisms.

Practitioner Guidance

What to verify: Treat “mitigated” as provisional until you can prove the vulnerable dependency has been identified in every build artifact, runtime image, and deployed service. If the same package is present in more than one estate, verify that the workaround is consistently applied in all of them.

Decision rule: If the dependency is externally reachable, internet-facing, or shared across multiple products, prioritise upgrade and replacement over long-lived mitigation. Use the workaround only as a bridge when the upgrade path is blocked by compatibility, testing, or release timing.

Common mistake: Teams stop after protecting the most obvious application and miss indirect consumers, especially container images, downstream services, and older releases that are still in production.

Practitioner takeaway: Mitigation is valuable when it buys time, but remediation is what ends the dependency on the vulnerable code. The stronger your inventory, the faster you can tell the difference.

Deepen Your Knowledge

Sign up to our weekly newsletter — get 33% off our NHI Foundation Level Course

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