The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-35093

CVE-2026-35093: libinput Auth Bypass Vulnerability

CVE-2026-35093 is an authentication bypass flaw in libinput that lets local attackers execute arbitrary code by placing malicious Lua bytecode files. This article covers technical details, affected systems, and mitigation.

Published: April 2, 2026

CVE-2026-35093 Overview

A code injection vulnerability has been identified in libinput, the input device handling library widely used by Linux graphical compositors. The flaw allows a local attacker to bypass security restrictions by placing specially crafted Lua bytecode files in system or user configuration directories. Successful exploitation enables unauthorized code execution with the same privileges as the application using libinput, potentially allowing an attacker to monitor keyboard input and exfiltrate sensitive data to external locations.

Critical Impact

Attackers can execute arbitrary code and intercept keyboard input, enabling keylogging capabilities that could capture passwords, credentials, and other sensitive information.

Affected Products

  • libinput (specific affected versions pending vendor confirmation)
  • Linux graphical compositors utilizing libinput for input handling
  • Desktop environments and display servers that rely on libinput

Discovery Timeline

  • 2026-04-01 - CVE-2026-35093 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-35093

Vulnerability Analysis

This vulnerability stems from improper handling of Lua bytecode files within libinput's configuration processing mechanism. The library processes Lua scripts from configuration directories without adequately validating or restricting the execution of bytecode, creating an opportunity for code injection attacks.

The weakness is classified under CWE-94 (Improper Control of Generation of Code), indicating that the application fails to properly neutralize or restrict code that is dynamically generated or evaluated. An attacker with local access can craft malicious Lua bytecode and place it in directories where libinput searches for configuration files.

Since libinput runs with the permissions of the parent process—typically a graphical compositor like Wayland compositors or X11 display servers—the injected code inherits these elevated privileges. This creates a significant security concern as graphical compositors often have direct access to input devices.

Root Cause

The root cause of this vulnerability is insufficient validation of Lua bytecode files loaded from configuration directories. The libinput library processes these files without properly restricting the capabilities available to the Lua execution environment. By accepting precompiled bytecode rather than just source scripts, the library inadvertently allows attackers to bypass source-level security checks and execute arbitrary operations.

Configuration directories that may be vulnerable include user-level paths such as ~/.config/libinput/ and system-wide paths like /etc/libinput/. Any local user with write access to these directories can potentially exploit this vulnerability.

Attack Vector

The attack requires local access to the target system. An attacker must be able to write files to libinput's configuration directories, either through:

  1. Direct file system access with an unprivileged account that has write permissions to user configuration directories
  2. Exploiting another vulnerability that provides file write capabilities
  3. Social engineering a user to place the malicious file in the appropriate directory

Once the malicious Lua bytecode is in place, it will be executed the next time an application initializes libinput, such as when a user logs into a graphical session. The injected code can then intercept keyboard events, enabling keylogging functionality that captures all user input and potentially transmits it to attacker-controlled infrastructure.

For technical details on the vulnerability mechanism, refer to the GitLab Work Item #1271 and Red Hat Bug Report #2453839.

Detection Methods for CVE-2026-35093

Indicators of Compromise

  • Unexpected or unauthorized .lua or .luac (compiled Lua bytecode) files in /etc/libinput/, ~/.config/libinput/, or similar configuration directories
  • Unusual outbound network connections from graphical compositor processes
  • Unexpected file modifications in libinput configuration directories, particularly files with recent timestamps not associated with legitimate updates
  • Anomalous process behavior from applications using libinput, including spawning child processes or opening network sockets

Detection Strategies

  • Implement file integrity monitoring (FIM) on libinput configuration directories to detect unauthorized file additions or modifications
  • Monitor for suspicious Lua bytecode files using signature-based detection or entropy analysis to identify potentially malicious content
  • Deploy endpoint detection solutions capable of identifying anomalous behavior patterns from input handling processes
  • Audit user access to libinput configuration directories and alert on write operations from non-administrative accounts

Monitoring Recommendations

  • Enable audit logging for file operations in /etc/libinput/ and user-level ~/.config/libinput/ directories
  • Monitor graphical compositor processes for unexpected network activity or data exfiltration attempts
  • Implement real-time alerting for new file creation events in input device configuration paths
  • Review process execution chains to identify any child processes spawned by libinput-consuming applications

How to Mitigate CVE-2026-35093

Immediate Actions Required

  • Restrict write permissions on libinput configuration directories to root or trusted administrators only
  • Audit existing libinput configuration directories for any unauthorized or suspicious Lua files
  • Consider disabling Lua configuration support in libinput if not required for your deployment
  • Implement application whitelisting to prevent execution of unauthorized Lua bytecode

Patch Information

A security patch addressing this vulnerability is expected from the libinput maintainers. Monitor the following resources for patch availability:

  • Red Hat CVE-2026-35093 Advisory
  • libinput GitLab Repository

Once patches are released, prioritize updating libinput packages across all affected systems, particularly those running graphical desktop environments.

Workarounds

  • Remove write permissions for non-root users from libinput configuration directories using: chmod 755 /etc/libinput/ and chown root:root /etc/libinput/
  • If Lua configuration is not required, consider building libinput without Lua support or removing Lua dependencies
  • Implement SELinux or AppArmor policies to restrict libinput's ability to execute arbitrary Lua code or establish network connections
  • Deploy file system access controls (ACLs) to limit which users can modify configuration files in input device directories
bash
# Configuration example
# Restrict permissions on libinput configuration directories
sudo chmod 755 /etc/libinput/
sudo chown root:root /etc/libinput/

# Remove any existing suspicious Lua files (audit first)
sudo find /etc/libinput/ -name "*.lua" -o -name "*.luac" -exec ls -la {} \;

# Set immutable attribute on configuration directory (optional)
sudo chattr +i /etc/libinput/

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeAuth Bypass

  • Vendor/TechLibinput

  • SeverityHIGH

  • CVSS Score8.8

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • Red Hat CVE-2026-35093

  • Red Hat Bug Report #2453839

  • GitLab Work Item #1271
  • Related CVEs
  • CVE-2026-35094: libinput Information Disclosure Flaw
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English