<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://vulnerability.circl.lu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Fri, 09 Oct 2026 21:22:44 +0000</lastBuildDate>
    <item>
      <title>PYSEC-2026-3504 — PraisonAI SandlockSandbox falls back to unrestricted subprocess execution when Landlock is unavailable</title>
      <link>https://vulnerability.circl.lu/vuln/pysec-2026-3504</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: praisonai&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;`praisonai.sandbox.SandlockSandbox` is documented and implemented as the kernel-enforced sandbox backend for untrusted code. Its `SandboxConfig.native()` path lets callers configure allowed filesystem paths and `network=False`.&lt;/p&gt;
&lt;p&gt;On systems where the optional `sandlock` module imports but reports that Landlock is unavailable, `SandlockSandbox.execute()` and `run_command()` do not fail closed. They silently fall back to `SubprocessSandbox(self.config)`.&lt;/p&gt;
&lt;p&gt;That fallback keeps the same high-level native policy object but does not enforce the native filesystem or network boundary during code execution. A sandboxed payload can read files outside the configured allowed path and open network connections despite `network=False`.&lt;/p&gt;
&lt;p&gt;## Technical Details&lt;/p&gt;
&lt;p&gt;`SandboxConfig.native()` creates a restricted native policy and records caller-provided writable paths plus the requested network posture:&lt;/p&gt;
&lt;p&gt;```python
return cls(
    sandbox_type=&amp;#34;native&amp;#34;,
    working_dir=os.getcwd(),
    security_policy=SecurityPolicy(
        allow_network=network,
        allow_file_write=True,
        allow_subprocess=True,
        allowed_paths=resolved_paths,
    ),
    metadata={&amp;#34;writable_paths&amp;#34;: resolved_paths, &amp;#34;network&amp;#34;: network},
)
```&lt;/p&gt;
&lt;p&gt;`SandlockSandbox` builds the intended kernel policy with Landlock-backed filesystem allowlisting and network denial:&lt;/p&gt;
&lt;p&gt;```python
policy = Policy(
    fs_readable=allowed_read_paths,
    fs_writable=allowed_write_paths,
    net_allow_hosts=[] if not limits.network_enab…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; PyPI: praisonai&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;`praisonai.sandbox.SandlockSandbox` is documented and implemented as the kernel-enforced sandbox backend for untrusted code. Its `SandboxConfig.native()` path lets callers configure allowed filesystem paths and `network=False`.&lt;/p&gt;
&lt;p&gt;On systems where the optional `sandlock` module imports but reports that Landlock is unavailable, `SandlockSandbox.execute()` and `run_command()` do not fail closed. They silently fall back to `SubprocessSandbox(self.config)`.&lt;/p&gt;
&lt;p&gt;That fallback keeps the same high-level native policy object but does not enforce the native filesystem or network boundary during code execution. A sandboxed payload can read files outside the configured allowed path and open network connections despite `network=False`.&lt;/p&gt;
&lt;p&gt;## Technical Details&lt;/p&gt;
&lt;p&gt;`SandboxConfig.native()` creates a restricted native policy and records caller-provided writable paths plus the requested network posture:&lt;/p&gt;
&lt;p&gt;```python
return cls(
    sandbox_type=&amp;#34;native&amp;#34;,
    working_dir=os.getcwd(),
    security_policy=SecurityPolicy(
        allow_network=network,
        allow_file_write=True,
        allow_subprocess=True,
        allowed_paths=resolved_paths,
    ),
    metadata={&amp;#34;writable_paths&amp;#34;: resolved_paths, &amp;#34;network&amp;#34;: network},
)
```&lt;/p&gt;
&lt;p&gt;`SandlockSandbox` builds the intended kernel policy with Landlock-backed filesystem allowlisting and network denial:&lt;/p&gt;
&lt;p&gt;```python
policy = Policy(
    fs_readable=allowed_read_paths,
    fs_writable=allowed_write_paths,
    net_allow_hosts=[] if not limits.network_enab…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://vulnerability.circl.lu/vuln/pysec-2026-3504</guid>
    </item>
  </channel>
</rss>
