Live threats

All CVEs / BeamNG GmbH

CVE-2026-133528BeamNG GmbH BeamNG.drive

Sandbox Escape and Remote Code Execution in BeamNG.drive via LuaJIT FFI Bounds…

Critical 9.3 Recent

Priority
62
CVSS 4.0
9.3
EPSS
—
Auth required
Yes
Published
Nov 20, 2026
Updated
Nov 25, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-787
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

BeamNG.drive before 0.40.6 contains an out-of-bounds write vulnerability in JIT-compiled LuaJIT traces that omit FFI array bounds checks. An attacker 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 execute commands as the game user.

AI-generated summary (Claude) based on NVD and CISA data. Not reviewed yet: check the details in the vendor advisory.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

Patch available · fixed versions: 0.40.6

Update BeamNG.drive to version 0.40.6 or later to apply the sandbox escape vulnerability fix.

Vendor advisory · store.steampowered.com ↗

AI-generated from public data; not reviewed.

  1. Apply the vendor's security update for BeamNG.drive.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.