alternatives to

Cloudflare WAF

Web application firewall that filters traffic at Cloudflare's edge in front of a site. A closed product from Cloudflare.

SafeLine, Anubis, BunkerWeb and more. 7 alternatives to Cloudflare WAF, in Go, Python, C++. Compare fit, licence, stars and the latest signed release.

Side by side

7 open source alternatives to Cloudflare WAF
ToolFitStarsLicenceTermsSelf-hostedLanguageLatestLast push
SafeLineFull replacement23kGPL-3.0Open sourceYesGov9.4.72026-11-23
AnubisPartial24kMITOpen sourceYesGov1.28.22026-11-23
BunkerWebPartial11kAGPL-3.0Open sourceYesPythonv1.6.182026-11-20
ModSecurityPartial9.9kApache-2.0Open sourceYesC++v3.0.172026-11-18
CorazaPartial4kApache-2.0Open sourceYesGov3.8.12026-11-22
OWASP CRSPartial3.4kApache-2.0Open sourceYesPythonv4.30.02026-11-23
open-appsecPartial1.8kApache-2.0Open sourceYesC++1.1.362026-09-06

Every alternative

Language
Licence
Fit
Deploy with

7 alternatives

SafeLineFull replacement

SafeLine is a self-hosted WAF(Web Application Firewall) / reverse proxy to protect your web apps from attacks and exploits.

Reverse proxy WAF with a web console, rate limiting and bot challenges, in front of your own sites.

Language
Go
Licence
GPL-3.0
Stars
23k
Latest
v9.4.7
Last push
2026-11-23
AnubisPartial

Weighs the soul of incoming HTTP requests to stop AI crawlers

Only the bot challenge: a proof-of-work check in front of a site to keep scrapers out.

Language
Go
Licence
MIT
Stars
24k
Latest
v1.28.2
Last push
2026-11-23
BunkerWebPartial

🛡️ Open-source and cloud-native Web Application Firewall (WAF)

Web application firewall in front of your own sites, without the CDN.

Language
Python
Licence
AGPL-3.0
Stars
11k
Latest
v1.6.18
Last push
2026-11-20
ModSecurityPartial

ModSecurity is an open source, cross platform web application firewall (WAF) engine for Apache, IIS and Nginx. It has a robust event-based programming language which provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring, logging and real-time analysis.

WAF engine for nginx, Apache and IIS on your own servers, used with a rule set such as the OWASP CRS.

Language
C++
Licence
Apache-2.0
Stars
9.9k
Latest
v3.0.17
Last push
2026-11-18
CorazaPartial

OWASP Coraza WAF is a golang modsecurity compatible web application firewall library

WAF library in Go, compatible with ModSecurity rules, embedded in Caddy, Envoy or your own proxy.

Language
Go
Licence
Apache-2.0
Stars
4k
Latest
v3.8.1
Last push
2026-11-22
OWASP CRSPartial

OWASP CRS (Official Repository)

Open rule set of generic attack detection that runs on ModSecurity or Coraza, with no managed rule updates.

Language
Python
Licence
Apache-2.0
Stars
3.4k
Latest
v4.30.0
Last push
2026-11-23
open-appsecPartial

open-appsec is a machine learning security engine that preemptively and automatically prevents threats against Web Application & APIs. This repo include the main code and logic.

Machine-learning WAF for NGINX, Kubernetes ingress and API gateways, without a CDN.

Language
C++
Licence
Apache-2.0
Stars
1.8k
Latest
1.1.36
Last push
2026-09-06

Head to head

About Cloudflare WAF

Vendor
Cloudflare

Cloudflare WAF website ↗