Safeguard
Security Guides•

Patch or mitigate a zero-day first? A decision table

Patch, mitigate or isolate when a zero-day lands? A decision table based on fix availability, exposure, exploitation status and how risky the change is.

Safeguard Security Team
3 min read

Patch first when a tested fix exists and the change is low risk. Mitigate first when no fix exists, when testing would take too long for an internet-facing system, or when the patch could break something critical. In most cases you do both in sequence: mitigate now, patch as soon as it is safe.

The four inputs

Four facts drive the choice.

First, is a fix available? If not, mitigation is the only move. Second, is the system exposed to untrusted networks? Exposure raises urgency. Third, is exploitation reported? NIST describes patching as preventive maintenance, and a confirmed attack turns it from routine into urgent. Fourth, how risky is the change? A kernel update on a clustered database is not the same as bumping a library in a stateless service.

Decision table

Fix availableExposed to internetExploitation reportedSuggested move
YesYesYesMitigate in minutes, patch within hours
YesYesNoPatch on the fast track, mitigate if it will slip
YesNoYesPatch on the fast track
YesNoNoPatch in the next scheduled window
NoYesYesMitigate or remove from exposure now, watch for the fix
NoYesNoMitigate, watch for the fix
NoNoAnyRestrict access, watch for the fix

The table is a starting point. Your own change policy and the vendor's guidance win when they conflict with it.

What counts as a mitigation

Common mitigations include disabling the vulnerable feature, blocking a path or port, restricting access to a trusted network, and virtual patching with a web application firewall rule. OWASP defines a virtual patch as a policy enforcement layer that prevents exploitation of a known vulnerability, and it also warns that such rules do not fix the flaw and can be evaded. Track them and remove them once the real fix is in.

For longer reading on the options, see four patching scenarios and emergency mitigation when no patch exists yet.

When patching is the wrong first step

Patching straight into production without a test can cause an outage that is worse than the vulnerability. If you must go fast, use a small pilot group first. If the system is fragile, a mitigation buys time to test properly. Always keep a rollback path, which is covered in a rollback plan for emergency patches.

Where Safeguard fits

Safeguard's autonomous remediation can open fix pull requests for dependency updates. It is off by default, and every category starts on Manual, so a person approves each change. Policies and gates can then block builds that still contain the vulnerable version.

Try it yourself

Click through it at your own pace, or open it full screen.

Look for which findings already have a fixed version available.

Quick check

Is mitigating a substitute for patching?

No. A mitigation reduces the chance of exploitation while you prepare the fix. Plan to remove it once the patch is verified.

What if the patch needs a reboot we cannot afford?

Mitigate first, schedule the reboot in the earliest safe window, and record the exception with an expiry date.

Sources

Last reviewed: 19 October 2026.

Never miss an update

Weekly insights on software supply chain security, delivered to your inbox.

Self-healing security runs on Safeguard.

Your first fix PR is minutes away.

No sales call required, even your agent can complete the purchase over MCP.