Time to exploit is shrinking: how to build an emergency patching process and patch SLAs that keep up
Why public proof-of-concept code, patch diffs and advisories turn into working exploits faster than monthly patch cycles can handle, and how exposure-first triage, an emergency patching process, virtual patching, compensating controls and detection keep the window small.
Summary
- The time between a public advisory and the first exploitation attempts keeps getting shorter: proof-of-concept code, patch diffs and detailed advisories give attackers a head start, and mass scanning finds exposed systems quickly. A patch cycle that runs once a month cannot cover the most dangerous cases.
- Keep normal patch management SLAs for the bulk of findings, but add a separate emergency patching process with clear triggers: exploitation evidence such as a CISA KEV entry, public exploit code, and exposure, meaning internet-facing, loaded at runtime and reachable.
- When a patch cannot ship in time, shrink the window with virtual patching, compensating controls and targeted detection for exploitation attempts, and measure time to mitigate and time to remediate separately so you can see whether the process works.
For a long time, patch management followed a comfortable rhythm. A vendor published an update, the security team rated it, and the fix went out with the next maintenance window, often weeks later. That rhythm assumed that attackers needed time too: time to understand the bug, to write an exploit and to find targets. For a growing share of vulnerabilities, that assumption no longer holds. The time to exploit, the gap between public disclosure and the first real exploitation attempts, can be shorter than the time it takes many organisations to even open a ticket.
This guide explains why the window is shrinking, what that means for your patch management SLA, and how to build an emergency patching process that runs alongside your normal cycle: exposure-first triage, the CISA KEV catalogue, virtual patching and compensating controls, detection for exploitation attempts and the metrics that show whether it works. How to score and rank vulnerabilities in detail with CVSS, EPSS and runtime context is covered in our deep dive on vulnerability prioritization; this article focuses on speed.
Why time to exploit is shrinking
A published CVE is not only a warning for defenders. It is also a starting point for attackers. Several developments make that starting point more useful than it used to be:
- Public proof-of-concept code. Researchers often publish a proof of concept (PoC) soon after an advisory, sometimes on the same day. A PoC is rarely a weaponised exploit, but it removes the hardest part of the work: proving that the bug can be triggered and how.
- Patch diffs. When a vendor ships a fix, the difference between the old and the new version shows exactly which code changed. For open-source projects the diff is public by definition; for closed software, binary diffing tools do the same job. A fix can therefore point attackers to the vulnerable code path.
- Detailed advisories. Good advisories name the affected component, the vulnerable parameter and the conditions. That is what defenders need, and it is also what an attacker needs to write a scanner.
- Mass scanning. Internet-wide scanning is cheap, so exposed systems are found quickly, and exploitation is often automated as well.
- AI-assisted tooling. Code assistants make it easier to read unfamiliar code, understand a diff and adapt a PoC. This lowers the skill needed to move from advisory to working attack.
Most vulnerabilities are never exploited. But the attractive ones, typically in internet-facing products, widely used libraries and edge devices, can be exploited before a monthly patch cycle comes around. Zero-day vulnerabilities are exploited before a fix exists at all; there, detection and compensating controls are the only options until the vendor ships a patch.
What it means for your patch management SLA
Most patch policies define remediation targets by severity. That is fine for the bulk of findings, but severity describes how bad a vulnerability could be, not how likely it is to be used against you this week. A critical score on an internal batch job and the same score on your login gateway receive the same deadline, even though only one of them is likely to be scanned from the internet tonight.
A better patch management SLA has two tracks:
- The standard track handles the large majority of findings with normal timelines, regular maintenance windows and dependency updates.
- The emergency track is reserved for the small number of vulnerabilities that combine exploitation evidence with real exposure. It has its own triggers, its own owner and timelines measured in hours, not weeks.
The following example shows how such tiers can look. The values are examples only, not a recommendation or a legal requirement; set your own based on risk appetite, contracts and obligations, and treat them like an internal SLA.
| Tier | Trigger (example) | Mitigate within | Remediate within |
|---|---|---|---|
| Emergency | Known exploited or public exploit code, and internet-facing and affected component in use | Hours, same day | A few days |
| Urgent | Exploitation evidence, but internal only or behind strong controls | A few days | About two weeks |
| Standard | High or critical severity, no exploitation evidence | Not required | Normal cycle, for example 30 days |
| Hygiene | Everything else | Not required | Next scheduled update |
Note the two clocks: time to mitigate reduces the risk quickly, time to remediate removes it. Tiers also change: a standard finding moves to the emergency track the day a PoC appears or the vulnerability is added to the KEV catalogue.
Exposure-first triage: three questions that decide the track
When a new advisory lands, the first question should not be "what is the score?" but "where are we exposed?". Exposure-first triage answers three questions for each affected system:
1. Is it internet-facing?
A vulnerable component that accepts requests from the internet, directly or through a load balancer or API gateway, is the most likely target. Check your inventory of public endpoints, DNS records, load balancer rules and ingress definitions.
2. Is the affected component loaded at runtime?
A scanner reports a library because it appears in a manifest, lock file or image layer, not because it runs. Process inventories, the versions reported in your telemetry and the deployment history show what actually runs in production. A software bill of materials (SBOM) answers "what did we ship?"; production data answers "what is running?".
3. Is the vulnerable code reachable?
Many vulnerabilities only apply when a specific feature, parser or configuration is used. Compare the conditions in the advisory with your setup, and use traces and request logs to see whether the affected endpoint receives traffic at all.
If you cannot answer a question, treat the answer as "yes" until you can. "Unknown" is the most expensive answer during an emergency, which is why good inventory and telemetry coverage pay off long before the next critical advisory.
Using the CISA KEV catalogue
The Known Exploited Vulnerabilities (KEV) catalogue of the US Cybersecurity and Infrastructure Security Agency (CISA) lists vulnerabilities for which there is reliable evidence of exploitation in the wild. An entry needs an assigned CVE ID, evidence of active exploitation and a clear remediation action, such as a vendor update. Each entry carries the date it was added, a short description, the required action, a due date that applies to US federal agencies under Binding Operational Directive 22-01, and a field that states whether use in ransomware campaigns is known.
For organisations outside the US federal government, the KEV catalogue is not binding, but it is a practical trigger for the emergency track:
- Automate the check. The catalogue is published as JSON and CSV feeds. Compare new entries daily with your inventory of components and versions instead of reading the website by hand.
- Re-check open findings. When a vulnerability you already accepted or scheduled for later is added, it moves up automatically.
- Do not wait for KEV. The catalogue lists confirmed exploitation, so it follows events rather than predicting them. Public exploit code for an internet-facing component is reason enough to start the emergency track.
The emergency patching process step by step
Write the emergency patching process down before you need it. It should feel more like incident response than routine maintenance: one person in charge, a clear scope and a defined end. A compact runbook can look like this:
EMERGENCY PATCHING RUNBOOK
Trigger: exploitation evidence (KEV entry, public exploit, vendor warning)
AND exposure (internet-facing / in use / reachable or unknown)
1. Declare Open an emergency change, name one owner, start the clock
2. Scope List affected services, hosts, images and versions
Answer: internet-facing? loaded? reachable? (unknown = yes)
3. Contain Apply mitigation first: WAF rule, disable feature,
restrict network access, rotate exposed credentials
4. Detect Enable or tune detections for exploitation attempts,
search logs back to the disclosure date
5. Patch Fast-track change approval, test the minimum needed,
roll out exposed systems first, then the rest
6. Verify Confirm the fixed version runs in production everywhere,
re-scan, check that detections stay quiet
7. Close Remove temporary mitigations or give them an expiry date
8. Review Record time to mitigate and time to remediate, fix gaps
in inventory, ownership and telemetry
What makes the runbook work in practice:
- Pre-approved emergency changes. Agree in advance which changes can skip the normal approval board and who signs off. An approval that waits for the weekly meeting defeats the purpose.
- Ownership. Every affected service needs a team that can deploy it today. Services without an owner are the ones that stay vulnerable longest.
- Severity mapping. If exploitation against your own systems is suspected, the emergency change becomes an incident; map it to your incident severity levels and the process described in our guide to incident management.
For a worked example of the check, patch and detect sequence on a specific vulnerability, see our article on PHP2Shell.
When you cannot patch yet: virtual patching and compensating controls
Sometimes the patch does not exist yet, cannot be tested in time or would require a restart that the business cannot accept today. Then the goal is to shrink the window until the real fix ships.
Virtual patching with a WAF
Virtual patching means blocking the exploit path in front of the application instead of in the code. A web application firewall (WAF), a reverse proxy or an API gateway rejects requests that match the attack pattern, for example a specific header, path or parameter value. Keep three limits in mind: rules can be bypassed with variations, they only cover traffic that passes through the WAF, and they tend to stay forever if nobody removes them. Give every virtual patch an owner and an expiry date.
Other compensating controls
- Disable the vulnerable feature through configuration or a feature flag, if the advisory names one.
- Restrict network access: limit an admin interface to a VPN or known address ranges, or take a non-essential system offline.
- Rotate credentials that the vulnerable system holds, if there is any chance they were exposed.
- Runtime protection: runtime application self-protection (RASP) sits inside the application and can block some attack classes, for example injection, at the point of use. It is a useful layer where it is deployed, but not a replacement for the patch.
Document each compensating control in the same ticket as the vulnerability, with the date it was applied and the date it will be reviewed. A mitigation without an expiry quietly turns into a permanent risk acceptance.
Detection for exploitation attempts
Patching and mitigation reduce future risk. Detection answers whether anyone already tried, and succeeded. Because the time to exploit can be shorter than your time to patch, assume the window between disclosure and fix was open and look at it.
- Request patterns: requests to the affected endpoint with the parameters or payloads described in the advisory or PoC, and WAF events that match the new rule.
- Scanning: bursts of requests for the vulnerable path from many sources, often followed by targeted requests from a few.
- Errors after attack traffic: server errors, crashes or unusual SQL error messages right after suspicious requests can show that a payload reached the code.
- Host signals after exploitation: new processes on a web server, a shell started by the application user, privilege escalation, new accounts, cleared logs, unexpected CPU usage from a cryptominer.
- Outbound connections: connections from the affected host to addresses listed as known malicious, a common indicator of compromise.
Search your logs back to the disclosure date. Map detections to MITRE ATT&CK techniques so that you can see which steps of an attack you would notice. If you find a successful exploitation, the emergency patch becomes an incident: contain, investigate and preserve evidence before you clean up.
Measuring the process: mean time to remediate and more
You only know whether your patch management SLA works if you measure it. Track at least these metrics, separately per tier:
| Metric | What it measures | Why it matters |
|---|---|---|
| Time to triage | From advisory or KEV entry to a decision on the track | Shows how fast you recognise relevant vulnerabilities |
| Time to mitigate | From decision to first effective control | The number that matters most when the time to exploit is short |
| Mean time to remediate (MTTR) | From detection to verified fix in production | Shows whether fixes actually ship |
| SLA adherence | Share of findings fixed within the target | Shows whether targets are realistic |
| Open known-exploited findings | Open findings that appear in the KEV catalogue, split by exposure | Target for exposed ones is zero |
| Open mitigations | Virtual patches and exceptions, and how many are past their expiry | Shows hidden technical debt |
Count "fixed" only when the fixed version runs in production. Use the review after each emergency to fix what slowed you down: missing owners, inventory, approvals or telemetry. Too many low-value tickets create the same fatigue as noisy alerts, so the advice on reducing alert fatigue applies here too.
Checklist: emergency patching process
EMERGENCY PATCHING CHECKLIST
Before the next advisory
[ ] Two-track patch SLA defined (standard + emergency) with examples
[ ] Emergency triggers written down (KEV, public exploit, vendor warning)
[ ] Pre-approved emergency change path and named approvers
[ ] Inventory of internet-facing endpoints kept current
[ ] Versions running in production visible per service
[ ] Every service has an owner who can deploy today
[ ] KEV feed compared with inventory automatically
[ ] Access, WAF and host logs collected centrally
During an emergency
[ ] Owner named, clock started
[ ] Affected systems listed: internet-facing / loaded / reachable
[ ] Mitigation applied (WAF rule, feature off, access restricted)
[ ] Detections for exploitation attempts enabled
[ ] Logs searched back to the disclosure date
[ ] Exposed systems patched first, then the rest
[ ] Fixed version verified in production
Afterwards
[ ] Temporary mitigations removed or given an expiry date
[ ] Time to mitigate and time to remediate recorded
[ ] Gaps in inventory, ownership and telemetry fixed
How Obseria helps
Obseria does not patch systems or block attacks. It helps where the process depends on visibility, within what is connected and instrumented:
- Affected dependencies: software composition analysis in Obseria Code Security checks dependencies from npm, PyPI, Maven and Cargo in connected GitHub repositories against known vulnerabilities and shows the affected version, severity and, where available, the fixed version. Obseria does not open pull requests or change your code.
- One list with CVSS and KEV: the central list in vulnerability management shows severity, CVSS, CISA KEV, status and mute per finding. Today this list is filled from a fixed rule set, not evaluated from your live telemetry, so it does not tell you whether a library is loaded or reachable in production, and there are no release gates.
- What runs where: deployment tracking records releases, and the
service.versionon your OpenTelemetry data lets you filter services by version, which helps to verify that a fixed version is actually running. The service catalog shows owner and last deployment per application. - Detecting exploitation attempts: app and API threat detection evaluates access and WAF logs with rules for SQL injection and path traversal attempts, web scanning and server errors under attack traffic. Workload threat detection reports host signals such as new processes, privilege escalation via sudo, new privileged accounts and cleared audit logs, and threat intelligence flags connections to known malicious destinations. All of this is detection only: Obseria is not a WAF or RASP and blocks nothing.
- Searching back: the Cloud SIEM and the security investigator let you search security events for a time range, for example back to the disclosure date. Runtime code analysis reports SQL error signatures and secrets in logs from running services.
- Follow-up: findings can become tasks in case management with priority, due date and assignee, with counters for overdue and unassigned tasks; there are no SLA timers or automatic escalation. Approval workflows can request a decision on an emergency change by e-mail with a deadline, and alerting sends critical findings to your notification channels.
More on Application Security and Security Enterprise, or start a free trial.
Frequently asked questions about time to exploit and emergency patching
What does time to exploit mean?
Time to exploit is the time between the public disclosure of a vulnerability, or the release of a fix, and the first exploitation attempts in the wild. For a zero-day, exploitation starts before disclosure, so the time to exploit is effectively negative.
Do we need an emergency patching process if we already patch monthly?
Yes, if you run internet-facing systems. A monthly cycle is fine for most findings, but the few vulnerabilities that are exploited quickly need a separate path with its own triggers, owner and timelines in hours or days.
What is a reasonable patch management SLA?
There is no universal number. Define tiers by exploitation evidence and exposure, not by severity alone, and set separate targets for mitigation and remediation. Start with targets your teams can meet and tighten them as the process matures.
Is virtual patching with a WAF enough?
No. A WAF rule buys time, but it can be bypassed and only covers traffic that passes through it. Treat it as a temporary control with an expiry date and ship the real fix.
Should we only patch vulnerabilities listed in CISA KEV?
No. KEV lists confirmed exploitation and therefore follows events. Use it as a strong trigger, but also react to public exploit code, vendor warnings and your own exposure. The scoring side is covered in our guide to vulnerability prioritization.