Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. lupa
  4. ›
  5. CVE-2026-34444

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

April 7, 2026 (updated May 6, 2026)

The attribute_filter in the Lupa library is intended to restrict access to sensitive Python attributes when exposing objects to Lua.

However, the 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.

References

  • github.com/advisories/GHSA-69v7-xpr6-6gjm
  • github.com/scoder/lupa
  • github.com/scoder/lupa/security/advisories/GHSA-69v7-xpr6-6gjm
  • nvd.nist.gov/vuln/detail/CVE-2026-34444

Code Behaviors & Features

Detect and mitigate CVE-2026-34444 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 2.6

Solution

Unfortunately, there is no solution available yet.

Impact 10 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-284: Improper Access Control
  • CWE-693: Protection Mechanism Failure

Source file

pypi/lupa/CVE-2026-34444.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:18:21 +0000.