CVE-2026-133528: Vulnerability in BeamNG GmbH BeamNG.drive
Critical. BeamNG.drive before 0.40.6 contains an out-of-bounds write vulnerability because JIT-compiled LuaJIT traces omit FFI array bounds checks, letting untrusted Lua escape the sandbox. Attackers supplying a malicious mod can JIT-compile an FFI store loop, write out of range using a tostring() address leak, re-enable ffi.load, and run commands as the game user.
CWE-787
- Exploitation
- None confirmed
- Severity
- 9.3 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-7wxf-w2p5-7pvr
- Vector
- CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H
- Weakness
- CWE-787
- Published
- 20 Nov 2026
- Last change
- 25 Nov 2026
Affected products
Affected versions and the first fixed release
- BeamNG GmbH BeamNG.drive Before 0.40.6. Fixed in 0.40.6
Advisories
Vendor and security advisories
- store.steampowered.com/news/app/284160/view/681890829846973542
- github.com/drbloop2000/BeamNG-Drive-RCE
- vulncheck.com/advisories/beamng-drive-before-0.40.6-luajit-ffi-sandbox-escape-via-jit-b...
Related
- BeamNG.drive vulnerabilities Recent advisories, watch this product