Description
A flaw was found in libinput. A local attacker who can place a specially crafted Lua bytecode file in certain system or user configuration directories can bypass security restrictions. This allows the attacker to run unauthorized code with the same permissions as the program using libinput, such as a graphical compositor. This could lead to the attacker monitoring keyboard input and sending that information to an external location.
Problem types
Improper Control of Generation of Code ('Code Injection')
Product status
Timeline
| 2026-04-01: | Reported to Red Hat. |
| 2026-04-01: | Made public. |
Credits
Red Hat would like to thank Koen Tange (monokles.eu) for reporting this issue.
References
access.redhat.com/security/cve/CVE-2026-35093
bugzilla.redhat.com/show_bug.cgi?id=2453839 (RHBZ#2453839)
gitlab.freedesktop.org/libinput/libinput/-/work_items/1271