← Back to Glossary
Glossary

Virtual Patching

Virtual patching is a temporary control — usually a WAF rule, reverse-proxy block or runtime filter — that stops a known exploit path before the vendor fix is installed. It buys time; it doesn't remove the bug.

Why it matters

When a severe CVE drops and the vendor patch has not yet shipped — or when the patch has shipped but your environment cannot apply it fast enough — virtual patching gives you a covering control. The attacker's request is matched at the edge and dropped before it reaches the vulnerable code path. The underlying bug is still present; only the exploit surface is covered.

Common implementations

  • WAF rule — Cloudflare, AWS WAF, Akamai, Imperva, F5, ModSecurity. Signature or pattern-based.
  • Reverse-proxy block — Nginx / Apache location rule that returns 403 on known-bad paths.
  • Runtime application self-protection (RASP) — in-process agent that catches the attack at code execution.
  • Linux runtime shields — eBPF-based runtime filters that catch system-call patterns associated with specific exploits.

Example: Drupal Fail2Install

Blocking /core/install.php at the web server while upgrading Drupal for CVE-2026-132165 is virtual patching. The upstream fix (10.6.22 / 11.3.22 / 11.4.13) still needs to be applied — the location block only prevents the one documented access path. See our Drupal Fail2Install post for the full remediation plan.

What virtual patching is not

It is not a substitute for the vendor fix. Attackers routinely iterate on exploitation paths once a CVE is public; a WAF signature that covered the first proof-of-concept may fail against an obfuscated variant. Virtual patching is a window-covering technique, not a remediation. Audit evidence of "mitigated" should be paired with evidence of the real patch on the way.

Stop finding vulnerabilities manually

TigerStrike uses AI agents to continuously discover, validate, and exploit vulnerabilities across your applications — so your team can focus on fixing what matters.