<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-13T03:30:06.166603+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/brew-omnara-cve-2026-34444</id>
    <title>BREW-omnara-CVE-2026-34444 — Lupa has a Sandbox escape and RCE due to incomplete attribute_filter enforcement in getattr / setattr</title>
    <updated>2026-10-13T03:30:06.168985+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Homebrew: omnara</p>
<p>### Summary
The `attribute_filter` in the Lupa library is intended to restrict access to sensitive Python attributes when exposing objects to Lua.</p>
<p>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.</p>
<p>### Details
The `attribute_filter` is meant to block access to attributes such as `__class__`, `__mro__`, and similar internal properties.</p>
<p>In practice, it only applies to direct attribute access:
- `obj.attr` → filtered
- `getattr(obj, "attr")` → not filtered
Because of this inconsistency, it’s possible to bypass the filter entirely, if access to the Python builtins is granted to Lua code.</p>
<p>An attacker can use getattr to-
- Access `__class__`
- Walk the `__mro__` chain
- Call `__subclasses__()`
- Iterate over available classes
- Find a function that exposes `__globals__`
- Retrieve something like `os.system`</p>
<p>At that point, arbitrary command execution becomes straightforward.</p>
<p>This effectively breaks the security boundary that `attribute_filter` is expected to enforce.</p>
<p>### PoC
The following example shows how the filter can be bypassed to execute `os.system`:'
```
import lupa
from lupa import LuaRuntime</p>
<p>def protected_attribute_filter(obj, attr_name, is_setting):
    if isinstance(attr_name, str) and attr_name.startswith('_'):
        raise AttributeError(f"Access to '{attr_name}' is forbidde…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/brew-omnara-cve-2026-34444"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/cve-2026-34444</id>
    <title>CVE-2026-34444 — Lupa has a Sandbox escape and RCE due to incomplete attribute_filter enforcement in getattr / setattr</title>
    <updated>2026-10-13T03:30:06.169062+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> scoder lupa, Red Hat Satellite 6.18, Red Hat OpenShift AI (RHOAI)</p>
<p>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.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/cve-2026-34444"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-69v7-xpr6-6gjm</id>
    <title>GHSA-69v7-xpr6-6gjm — Lupa has a Sandbox escape and RCE due to incomplete attribute_filter enforcement in getattr / setattr</title>
    <updated>2026-10-13T03:30:06.169107+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> PyPI: lupa</p>
<p>### Summary
The `attribute_filter` in the Lupa library is intended to restrict access to sensitive Python attributes when exposing objects to Lua.</p>
<p>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.</p>
<p>### Details
The `attribute_filter` is meant to block access to attributes such as `__class__`, `__mro__`, and similar internal properties.</p>
<p>In practice, it only applies to direct attribute access:
- `obj.attr` → filtered
- `getattr(obj, "attr")` → not filtered
Because of this inconsistency, it’s possible to bypass the filter entirely, if access to the Python builtins is granted to Lua code.</p>
<p>An attacker can use getattr to-
- Access `__class__`
- Walk the `__mro__` chain
- Call `__subclasses__()`
- Iterate over available classes
- Find a function that exposes `__globals__`
- Retrieve something like `os.system`</p>
<p>At that point, arbitrary command execution becomes straightforward.</p>
<p>This effectively breaks the security boundary that `attribute_filter` is expected to enforce.</p>
<p>### PoC
The following example shows how the filter can be bypassed to execute `os.system`:'
```
import lupa
from lupa import LuaRuntime</p>
<p>def protected_attribute_filter(obj, attr_name, is_setting):
    if isinstance(attr_name, str) and attr_name.startswith('_'):
        raise AttributeError(f"Access to '{attr_name}' is forbidde…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-69v7-xpr6-6gjm"/>
  </entry>
</feed>
