← CVE Intelligence

CVE-2026-34444

Lupa has a Sandbox escape and RCE due to incomplete attribute_filter enforcement in getattr / setattr PUBLISHED

Description (CNA)

Lupa integrates the runtimes of Lua or LuaJIT2 into CPython. In 2.6 and earlier, attribute_filter is not consistently applied when attributes are accessed through built-in functions like getattr and setattr. This allows an attacker to bypass the intended restrictions and eventually achieve arbitrary code execution.

Affected (CNA)

Vendor / productVersions
scoder / lupaaffected <= 2.6

CWE

CWE-284, CWE-639

References

ADP enrichment

CISA-ADP

No English description supplied.

No references supplied.

redhat-SADP

A flaw was found in Lupa, a tool that integrates Lua or LuaJIT2 runtimes into CPython. An attacker can exploit this vulnerability by bypassing attribute filtering mechanisms when accessing attributes through built-in functions like `getattr` and `setattr`. This inconsistency in applying security restrictions can allow an attacker to execute arbitrary code, potentially compromising the system.