WAF Tuning for Brotli and HTTP/3 Attacks

Updated

8 min read

Flat vector illustration of a glowing shield in front of thin data lines, representing WAF tuning for web traffic
In this article
  1. What the three advisories say
  2. Why a WAF struggles with compressed and QUIC traffic
  3. Tuning steps, in order
  4. What WAF tuning does not fix
  5. Which to pick?
  6. FAQ
  7. Is CVE-2026-111497 a zero-day?
  8. Does a WAF stop a Brotli exploit?
  9. Are the HTTP/3 CVEs remote code execution?
  10. Should I block HTTP/3 entirely?
  11. What the sources do not settle
  12. What a WAF rule set can and cannot see
  13. A checklist for your own stack

WAF tuning for Brotli and HTTP/3 means three things: make the WAF decode the encodings it inspects, decide where QUIC is terminated, and block only what you have a reason to block. As of 25 November 2026, the Brotli advisory CVE-2026-111497 is the one with memory-corruption impact and public proof-of-concept code. The two HTTP/3 (QUIC) CVEs covered here are denial-of-service issues. All three are published with fixed versions, so none of them is a zero-day any more.

What the three advisories say

These are the three advisories we could read. The impact column quotes each publisher.

ComponentIdentifierImpact stated by the publisherAffectedFixed in
Google Brotli decoderCVE-2026-111497Memory corruption; the CIS advisory says it “could allow an unauthenticated remote attacker to trigger memory corruption”Brotli 1.0.3 to 1.2.0Brotli 1.2.1, as cited in the CIS advisory. The advisory names fixed Node.js, .NET and Python releases, but one Node.js release post we read does not list this CVE, so confirm each version with its vendor
quic-go (HTTP/3 library for Go)CVE-2026-40898Denial of service through memory exhaustion in QPACK trailer fieldsBefore 0.59.10.59.1
curl (QUIC receive path)CVE-2026-11352A malicious HTTP/3 server can trigger a remote denial of service against a curl or libcurl clientcurl 8.18.0 to 8.20.0curl 8.21.0 (8.20.1 on the 8.20.x branch)

The Brotli entry is the one that changes a WAF plan. The CIS advisory (MS-ISAC and EI-ISAC advisory 2026-120) reports, in its threat intelligence, that a public proof of concept exists and that exploitation attempts have been reported. According to the CIS advisory, Node.js, Bun, the Python Brotli packages, .NET and brotli4j are among the affected products, and the advisory also lists Envoy and Istio. We could not read an Envoy advisory for this CVE, so treat that entry as unconfirmed. The two HTTP/3 entries are about resource use, not code execution. Their fixes are library upgrades. The curl issue affects only platforms that provide recvmmsg().

Why a WAF struggles with compressed and QUIC traffic

A WAF can only match rules against bytes it can read. A request or response marked Content-Encoding: br arrives compressed. A rule that looks for a string in the body sees noise unless the WAF decodes Brotli first. That creates two separate problems. The first is coverage: many deployments never decode Brotli on the inspection path, so attack strings pass through unseen. The second is risk: the decoder itself is code that runs on hostile input before any rule is applied. A Brotli bug therefore sits in front of the WAF rules, not behind them.

HTTP/3 adds a different limit. It runs over QUIC on UDP, and the traffic is encrypted inside the QUIC connection. A WAF, load balancer or reverse proxy can read HTTP/3 headers and bodies only at the point where QUIC is terminated. If the edge terminates HTTP/3 and passes plain HTTP/1.1 or HTTP/2 to the origin, the WAF sees the request. If one component terminates QUIC and another does not, a rule written for one path can miss the other.

Tuning steps, in order

  1. Map every place Brotli is decoded. List the CDN, reverse proxy, WAF module and application runtime for each hostname. Each one is a separate decoder and a separate patch.
  2. Patch the decoder first. Move Brotli to 1.2.1 or later, and move each runtime to a release its vendor confirms fixes the issue. The CIS advisory lists version numbers, but the Node.js November 2026 security release post does not mention this CVE, so do not take a version number from one source alone. Check the version your container image actually ships, not the one in your package manifest.
  3. Use the mitigation where patching waits. The advisories describe two stopgaps: turn off automatic Brotli decoding in HTTP clients, or reject Brotli-encoded content before the decoder runs. Confirm the exact wording for your product in the vendor text, because the option names differ.
  4. Decide where HTTP/3 is allowed. If a hostname does not need HTTP/3, stop advertising it through the Alt-Svc header. Where the WAF cannot inspect QUIC, blocking UDP 443 for that path forces clients back to TCP, which the WAF can read. Test the fallback in the browsers and API clients you support.
  5. Limit what gets decoded. Set a maximum decoded body size and inspect only the content types you expect. Large decompressed bodies are where resource exhaustion starts.
  6. Watch the numbers after each change. Track 4xx and 5xx rates, WAF block counts and connection resets for 48 hours after a rule or version change. A spike in resets after disabling HTTP/3 is expected; a spike in 5xx is not.

What WAF tuning does not fix

A WAF rule does not patch a decoder. If the Brotli bug is reachable before inspection, a rule that matches the attack bytes may never run. Treat the patch as the fix and the WAF as the layer that reduces exposure while the patch rolls out.

For the two QUIC denial-of-service issues, rate limits and per-connection memory caps help more than signature rules. Those controls limit how much one client can make a server allocate or spend, which matches the resource-use impact the two advisories describe. They do not replace the upgrade to quic-go or curl where you ship them.

Which to pick?

If a CDN or managed edge terminates TLS for you, the decision sits at the edge. Confirm with the provider which Brotli version it runs, whether it decodes request bodies before its WAF rules, and whether HTTP/3 is on for your hostnames. Ask for the answer in writing.

If you run your own services, patch the runtime and the proxy first, then apply the WAF tuning. A Node.js or Python service that decodes Brotli on its own is a target no matter what sits in front of it.

If you have a regulated workload, record the patch date, the mitigation and the owner of each decision. Whether a delay in patching creates a legal duty to report depends on your sector and jurisdiction, so check with counsel before you write the policy.

FAQ

Is CVE-2026-111497 a zero-day?

No. It is a published vulnerability with a fixed version and, according to the CIS advisory, public proof-of-concept code. Its exploitation status changes over time, so check the advisory for the current threat intelligence.

Does a WAF stop a Brotli exploit?

Only if the WAF decodes Brotli before the decoder bug can trigger, and only if the bug is not reachable at that point. Patching the decoder is the reliable fix.

Are the HTTP/3 CVEs remote code execution?

The two HTTP/3 entries in this article are denial-of-service issues in the versions and text the publishers describe. Upgrade the library anyway, because a denial-of-service issue still takes a service down.

Should I block HTTP/3 entirely?

Only where you cannot inspect it or where you do not need it. Clients fall back to TCP when UDP 443 is blocked, but you must test that fallback for the clients you support.

What the sources do not settle

Three gaps remain, and the sources we could read do not close them.

  • Which runtime versions are fixed. The CIS advisory lists Node.js versions 22.23.4, 24.22.1 and 26.12.1. The Node.js security release post of 11 November 2026 lists 22.23.5, 24.22.3 and 26.13.1 and does not mention Brotli or this CVE. Both may be correct for different builds, and we cannot tell which list applies to yours without the vendor’s statement.
  • Whether Envoy is affected. The CIS advisory lists Envoy and Istio. The Envoy security advisory page we tried returned HTTP 404, so the entry stays unconfirmed.
  • Current exploitation. The CIS advisory reports exploitation attempts as of its update on 27 October 2026. We did not find a later primary statement, so the status may have changed.

What a WAF rule set can and cannot see

This section is analysis, not a sourced finding. We did not confirm any product’s inspection behaviour in a primary source. NIST SP 800-41 Revision 1 lists web application firewalls in its table of contents, but we could not read that section, so the points below rest on how the protocols work.

A rule set can see what the inspection point hands it. For compressed bodies, that means decoded bytes only if the WAF has a decoder in its path. For QUIC, that means plain HTTP/3 fields only after the connection is terminated at a point the WAF can read. Anything that happens before that point, including a bug inside a decoder, runs before the rules do. Anything that reaches the origin without passing the inspection point is outside the rules.

Two things a rule set usually cannot judge well are resource limits and the difference between a malformed and a valid stream. A signature that matches a bad string says nothing about how much memory a decoder allocates while it reads the stream. For that reason, limits on connections, memory and CPU are the controls to check for the two QUIC entries, alongside new signatures.

A checklist for your own stack

Use this list to turn the advisories into work items.

  • Record the Brotli version, the HTTP/3 library version and the TLS terminator for each hostname.
  • Write down the point where each request body is decoded and where the WAF rules run. If the two are in different components, note it as a gap.
  • Check the vendor advisory for each product you run and record the vendor’s fixed version, with the date you read it.
  • Decide, per hostname, whether HTTP/3 is needed. Record the decision and the person who made it.
  • Set a body size cap and a connection limit at the edge, and confirm that the cap applies after decoding.
  • Re-check the advisories each week until the open gaps above are closed.

About the author

Equipe Gui Tech

68 articles published

The Gui Tech team researches, verifies and updates every guide with verifiable sources. Enterprise tech, AI and security explained.

All articles

Keep reading