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

Published Sep 10, 2026
·
Updated

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.

Affected Software

1 affected component
Open Information Security Foundation Suricata>8.0.0<8.0.5

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Suricata to a version that resolves this vulnerability.

    Fixed in 8.0.5
  2. Configuration

    As a workaround, disable `security.lua.allow-rules` unless Lua rules are required.

    Suricata (Lua engine) security.lua.allow-rules = false
  3. Compensating control

    If Lua scripts/rules are not required, avoid loading affected Lua rules/scripts, because the bypass may require an affected Lua script/rule to be loaded.

Event History

Sep 10, 2026
CVE Published
via MITRE·09:42 PM
Data Sourced
via MITRE·09:42 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Suricata versions starting with 8.0.0 and before 8.0.5 are affected when an affected Lua script or rule is loaded. Deployments that do not load Lua rules are not exposed through this issue.

2

What must an attacker control or provide to exploit this?

An affected Lua script or rule must be loaded, and it must register an excessive number of flow variables. The issue can corrupt Lua detection state, potentially bypassing the restricted Lua sandbox.

3

Can this cause an availability impact as well as a sandbox bypass?

Yes. Registering excessive flow variables may also cause Suricata to crash.

4

What should be done if upgrading is not immediately possible?

Disable security.lua.allow-rules unless Lua rules are required. This prevents Lua rules from being loaded as a workaround.

5

What version fixes the issue?

Version 8.0.5 contains the fix.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203