CVE-2026-45770 Suricata lua: excessive flow variable registration can bypass sandbox

High 7.5 Published Updated

Attackers can bypass Suricata's Lua sandbox and cause crashes by registering excessive flow variables in loaded Lua rules.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2026-45770?

CVE-2026-45770 is a high-severity vulnerability in Oisf Suricata, published on 10 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Suricata is a network Intrusion Detection System, Intrusion Prevention System and Network Security Monitoring engine. Starting in version 8.0.0 and prior to version 8.0.5, a Lua rule that registers too many flow variables can corrupt Lua detection state and may bypass Suricata's restricted Lua sandbox. This requires an affected Lua script/rule to be loaded. Excessive flow variables being registered may also cause Suricata to crash. Version 8.0.5 contains a fix. As a workaround, disable `security.lua.allow-rules` unless Lua rules are required.

Weakness: CWE-787, CWE-693

Which versions are affected by CVE-2026-45770?

It affects 1 product.

Products include Oisf Suricata.

How do I fix CVE-2026-45770?

Upgrade to a fixed version.

Is CVE-2026-45770 being exploited?

There is no known exploitation of CVE-2026-45770 in the wild and no public exploit code.

All Oisf Suricata vulnerabilities

Sources

Also known as DEBIAN-CVE-2026-45770, GHSA-653j-cc95-vj4c, UBUNTU-CVE-2026-45770.

Is CVE-2026-45770 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free