LiveActive security incident?Get immediate response
CVE Record

CVE-2026-34444: Lupa has a Sandbox escape and RCE due to incomplete attribute_filter enforcement in getattr / setattr

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.

HighCVSS 8.1Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

Lupa is a Python package that embeds Lua. In version 2.6 and earlier, its sandbox restrictions can be bypassed through normal attribute access helpers, which may let an attacker escape intended limits and run code. This is high impact where untrusted Lua code is accepted.

Executive priority

Prioritize remediation for internet-facing or multi-tenant systems that execute Lua through Lupa. Treat this as urgent where the sandbox is a security boundary, because successful exploitation can become remote code execution.

Technical view

The issue is incomplete enforcement of Lupa's attribute_filter for getattr and setattr-style access. That weakens object access controls in the Python-Lua boundary and can lead to sandbox escape and arbitrary code execution. The CVSS 3.1 score is 8.1 with high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is most likely in services that use scoder Lupa <= 2.6 to run untrusted or semi-trusted Lua/LuaJIT code inside CPython. Applications using Lupa only for fully trusted internal scripts have lower practical risk but should still update.

Exploitation context

The bundle does not show CISA KEV listing or confirmed active exploitation. The CVSS vector is network reachable with no privileges or user interaction, but high attack complexity, suggesting exploitation depends on application-specific access to Lupa sandboxed execution.

Researcher notes

Affected product evidence names scoder Lupa <= 2.6. The public bundle attributes the weakness to inconsistent attribute_filter enforcement through getattr and setattr. No exploit status, proof-of-concept, or precise fixed upstream version is included here.

Mitigation direction

  • Inventory Python environments for scoder Lupa and identify versions <= 2.6.
  • Check upstream GHSA and distro advisories for the fixed package version.
  • Apply vendor-provided updates where available, including relevant Red Hat errata.
  • Avoid running untrusted Lua through Lupa until remediated or strongly isolated.
  • Review sandbox assumptions around attribute_filter use in affected applications.

Validation and detection

  • Confirm installed Lupa versions in production, CI, containers, and build lockfiles.
  • Identify code paths that execute user-supplied or tenant-controlled Lua.
  • Verify updated packages are deployed and old runtime images are retired.
  • Review dependency scanners for CVE-2026-34444 coverage and suppressions.
  • Confirm no application logic relies on attribute_filter as the only trust boundary.
Prepared
Confidence
medium
Sources
7

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · medium confidence lookup

CWE-284: Authorization and privilege behavior lookup

Authorization weaknesses can support privilege escalation and valid-account review, depending on exploit path. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-639: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cwe · low confidence lookup

CWE-914: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
description · low confidence lookup

Execution behavior lookup

The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
description · low confidence lookup

Privilege behavior lookup

The CVE wording references privilege impact, so privilege escalation and authorization behavior review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-34444 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.1 (3.1)
Known Exploited
No
Published

Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

2CVSS vectors
5Timeline events
2ADP providers
6Source links

SSVC decision data

CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: partial

CVSS vector scores

2 official scores

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.1CVSS 3.1HighCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H2.25.9redhat-SADP
7.9CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:HGitHub_M

Vulnerability scoring details

Base CVSS 4.0 score

7.9High
CVSS 4.0 vector shape for CVE-2026-34444Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Vulnerability timeline

Timeline events are normalized from CVE metadata, CNA source timelines, ADP timelines, and KEV metadata when present.

  1. CVE reservedCVE Program

    The CVE ID was reserved by the assigning CNA.

  2. ADP timelineredhat-SADP

    Made public.

  3. CVE publishedCVE Program

    The CVE record was published.

  4. ADP timelineredhat-SADP

    Reported to Red Hat.

  5. CVE updatedCVE Program

    The CVE record metadata indicates this as the latest update time.

ADP provider summaries

CISA-ADPCISA ADP Vulnrichment
other:ssvc
redhat-SADPlupa: Lupa: Arbitrary Code Execution due to inconsistent attribute filtering
other:Red Hat severity ratingcvssV3_1
  • 2026-04-06T16:02:58.221Z: Reported to Red Hat.
  • 2026-04-06T15:30:30.525Z: Made public.

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
scoderlupa<= 2.6Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-284 · source CWE mapping

Improper Access Control

Improper Access Control represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-639 · source CWE mapping

Authorization Bypass Through User-Controlled Key

Authorization Bypass Through User-Controlled Key represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.

CWE-914 · source CWE mapping

Improper Control of Dynamically-Identified Variables

Improper Control of Dynamically-Identified Variables represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.