A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-34444

CVE-2026-34444: Lupa Python Library RCE Vulnerability

CVE-2026-34444 is a remote code execution flaw in Lupa that allows attackers to bypass attribute_filter restrictions via getattr/setattr. This post covers technical details, affected versions, impact, and mitigation.

Published: April 10, 2026

CVE-2026-34444 Overview

CVE-2026-34444 is an authorization bypass vulnerability in Lupa, a Python library that integrates Lua or LuaJIT2 runtimes into CPython. In versions 2.6 and earlier, the attribute_filter security mechanism is not consistently applied when attributes are accessed through built-in functions like getattr and setattr. This inconsistency allows attackers to bypass intended attribute access restrictions and ultimately achieve arbitrary code execution within the affected application.

Critical Impact

Attackers can bypass Lupa's attribute_filter security mechanism to access restricted attributes and execute arbitrary code in applications using Lupa for Lua/Python interoperability.

Affected Products

  • Lupa versions 2.6 and earlier
  • Applications using Lupa for Lua/LuaJIT2 integration with CPython
  • Python environments with Lupa dependencies

Discovery Timeline

  • 2026-04-06 - CVE CVE-2026-34444 published to NVD
  • 2026-04-07 - Last updated in NVD database

Technical Details for CVE-2026-34444

Vulnerability Analysis

The vulnerability resides in Lupa's attribute access control mechanism. Lupa provides an attribute_filter feature that allows developers to restrict which Python object attributes can be accessed from Lua code. This is a critical security boundary when embedding Lua scripting capabilities in Python applications, particularly when executing untrusted Lua scripts.

The root issue is that the attribute_filter validation is not consistently enforced across all attribute access pathways. While direct attribute access may be properly filtered, the built-in functions getattr and setattr bypass this security check. This creates a window for attackers to access attributes that should be protected, potentially leading to arbitrary code execution by accessing dangerous methods or modifying critical object state.

This vulnerability is classified under CWE-284 (Improper Access Control), reflecting the failure to properly enforce access restrictions on protected resources.

Root Cause

The root cause is an inconsistent implementation of the attribute_filter security control. When Lua code uses built-in Python functions like getattr() and setattr() to access or modify object attributes, Lupa fails to invoke the configured attribute filter. This creates two distinct code paths for attribute access: one that enforces the filter (direct attribute access) and one that bypasses it (built-in function access).

Attack Vector

The attack is network-accessible since applications using Lupa often process Lua scripts from external sources. An attacker can craft malicious Lua code that uses getattr or setattr to:

  1. Access restricted methods on Python objects exposed to Lua
  2. Modify protected attributes to alter application behavior
  3. Chain access to dangerous methods like __class__, __bases__, or __subclasses__ to traverse the Python object hierarchy
  4. Ultimately execute arbitrary Python code by reaching system-level functionality

The attack requires no authentication or user interaction when the vulnerable application accepts and executes Lua scripts from untrusted sources.

Detection Methods for CVE-2026-34444

Indicators of Compromise

  • Unexpected Lua script execution patterns attempting to access getattr or setattr functions
  • Application logs showing attribute access to protected or sensitive Python object attributes
  • Anomalous process spawning or file system activity originating from Python processes running Lupa
  • Evidence of Python object hierarchy traversal via __class__, __bases__, or __subclasses__ attributes

Detection Strategies

  • Audit Lua scripts processed by the application for usage of getattr and setattr built-in functions
  • Implement logging around attribute access operations in Lupa-integrated applications
  • Monitor for suspicious Python object attribute access patterns that indicate filter bypass attempts
  • Deploy runtime application self-protection (RASP) to detect code execution anomalies

Monitoring Recommendations

  • Enable verbose logging for Lupa attribute access operations during security assessments
  • Implement alerting on any Lua scripts attempting to access Python introspection attributes
  • Monitor application behavior for signs of sandbox escape or unauthorized code execution
  • Review application logs for error messages related to attribute access denials followed by successful access

How to Mitigate CVE-2026-34444

Immediate Actions Required

  • Upgrade Lupa to the latest patched version that addresses the attribute filter bypass
  • Audit all Lua scripts executed by your application for potential exploitation attempts
  • Consider disabling Lua script execution from untrusted sources until patching is complete
  • Review and restrict the Python objects exposed to Lua scripts to minimize attack surface

Patch Information

A security patch is available through the GitHub Security Advisory. Users should upgrade to the patched version of Lupa as soon as possible. Review the advisory for specific version information and upgrade instructions.

Workarounds

  • Implement an additional validation layer that sanitizes Lua scripts before execution, blocking usage of getattr and setattr
  • Restrict the Python objects exposed to Lua to only include explicitly safe objects with no dangerous methods accessible
  • Run Lupa-based applications in isolated environments with minimal system privileges to limit the impact of code execution
  • Consider using process-level sandboxing (containers, seccomp) to contain potential exploitation

For environments unable to immediately upgrade, implement strict input validation on all Lua scripts and consider temporarily disabling Lua script execution from external sources. Consult the GitHub Security Advisory for additional mitigation guidance.

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechN/A

  • SeverityHIGH

  • CVSS Score7.9

  • EPSS Probability0.07%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/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
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-284
  • Technical References
  • GitHub Security Advisory
  • Latest CVEs
  • CVE-2026-9813: FlowIntel SSRF Vulnerability

  • CVE-2026-4377: D-Link DWR-X1820 Auth Bypass Vulnerability

  • CVE-2026-47074: ex_aws_sns Auth Bypass Vulnerability

  • CVE-2026-46241: Linux Kernel Use-After-Free Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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