Track vulnerabilities like this one.
Sign up free to get alerted when software you use is affected.
9.3
CVE-2026-133528: BeamNG.drive allows malicious mod to run code
CVE-2026-133528 · published 7 days ago
Summary
Versions of BeamNG.drive before 0.40.6 let a specially crafted mod break the game’s protection and execute commands on the computer where the game runs. This happens because the game’s scripting engine fails to check memory limits, letting the mod write to unauthorized areas and load external code. Update the game to version 0.40.6 or later, or remove untrusted mods, to prevent this risk.
What to do
- Update beamng gmbh beamng.drive to version 0.40.6 or later.
Affected software
| Vendor | Product | Affected versions |
|---|---|---|
| beamng gmbh | beamng.drive | < 0.40.6 |
Original advisory text
BeamNG.drive before 0.40.6 LuaJIT FFI Sandbox Escape via JIT Bounds-Check Bypass
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.
Internet-facing
14 days
Internal
At next upgrade
- Not known to be exploited
- Needs hands-on effort to exploit
- Gives an attacker full control
Severity
9.3
Critical
Type
CWE-787Out-of-bounds Write
Timeline
Published20 Nov 2026
Updated26 Nov 2026
First seen20 Nov 2026
Track software like this
Free during beta