What is firewall rule sprawl?

Firewall rule sprawl is the gradual, uncontrolled accumulation of firewall rules — including redundant, shadowed, overly permissive and obsolete ones — that makes a rule base hard to understand and risky to change.

5 min readUpdated June 2026

What rule sprawl looks like

Every firewall starts clean. Over years of projects, incidents and personnel changes, rules pile up: temporary exceptions that were never removed, broad rules added under pressure, duplicates created because no one could find the existing one, and objects that point to systems long since decommissioned.

The result is a rule base that few people fully understand and nobody wants to touch — which is exactly how dangerous rules survive.

What causes firewall rule sprawl

  • Temporary rules added for projects or incidents and never cleaned up
  • Broad any/any rules created under time pressure to 'just make it work'
  • Duplicate rules added because the existing one was hard to find
  • Staff turnover leaving rules without documented owners or intent
  • Fear of breaking production preventing any cleanup

Why rule sprawl is dangerous

Sprawl directly expands your attack surface: overly permissive and forgotten rules create access paths nobody intended. It also degrades performance and makes the rule base so complex that ordinary changes risk unintended consequences.

Critically, sprawl hides risk. When a rule base has hundreds of entries, the two genuinely dangerous rules are easy to miss — buried among the merely untidy ones.

How to clean up rule sprawl safely

  1. Inventory the rules and reconstruct the effective policy
  2. Identify unused, shadowed and redundant rules and objects
  3. Flag overly permissive and any/any rules for tightening
  4. Confirm each candidate is truly unused before removing it
  5. Tighten, consolidate or remove, documenting each change
  6. Re-scan to verify the cleanup and prevent regression

Frequently asked questions

Stop reviewing firewall rules by hand

FirewallScan reads your FortiGate configuration with AI and turns it into prioritized, fixable findings. Book a demo to see it on your own setup.