Description
PraisonAI is a multi-agent teams system. From version 4.5.110 to before version 4.6.61, 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. 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). 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. This issue has been patched in version 4.6.61.
Published: 2026-10-23
Score: 8.8 High
EPSS: n/a
KEV: No
Impact: Privilege Escalation via Unrestricted Sandbox
Action: Update Immediately
AI Analysis

Impact

PraisonAI’s SandlockSandbox normally relies on the Landlock kernel feature to enforce filesystem and network restrictions on untrusted code. When the Landlock module is missing or reports that it is unavailable, the sandbox’s execute() method falls back silently to a SubprocessSandbox that does not apply the native policy. As a result, code that is intended to run in a restricted environment can read files outside the allowed path and open network connections even when the sandbox configuration specifies network access is disabled. This flaw allows an attacker to gain unauthorized read and network capabilities from within sandboxed code, creating a path to data exfiltration, lateral movement, or command‑and‑control communication. The weakness is consistent with Improper Authorization (CWE‑266), Improper Access Control (CWE‑668), and Failure to Validate Permissions (CWE‑693).

Affected Systems

The vulnerability applies to PraisonAI versions from 4.5.110 through 4.6.60 inclusive. Any deployment that uses the SandlockSandbox on a system that lacks supported Landlock support is vulnerable, regardless of operating system vendor.

Risk and Exploitability

With a CVSS score of 8.8 the issue is classified as high severity. EPSS data is not available, so the current exploitation likelihood is uncertain, and the vulnerability is not listed in the CISA KEV catalog. The most probable attack vector involves an attacker injecting or directing untrusted code to run under the SandlockSandbox interface on a kernel without Landlock, thereby exploiting the silent fallback. The resulting privilege escalation can expose internal files and enable outbound communication from within the sandbox, providing an attacker with significant data theft or remote control opportunities.

Generated by OpenCVE AI on October 23, 2026 at 14:05 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade PraisonAI to release 4.6.61 or later, where the Landlock fallback has been removed and sandbox enforcement is strict.
  • Verify that the kernel Landlock module is compiled, loaded, and functioning before invoking SandlockSandbox; avoid using the sandbox on kernels lacking Landlock support.
  • If an upgrade cannot be applied immediately, replace SandlockSandbox with a more restrictive sandbox implementation or enforce file and network limits at the container or host level, ensuring that any execution path outside the intended policy is blocked.

Generated by OpenCVE AI on October 23, 2026 at 14:05 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-6jcq-6546-qrrw PraisonAI SandlockSandbox falls back to unrestricted subprocess execution when Landlock is unavailable
History

Fri, 23 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
First Time appeared Mervinpraison
Mervinpraison praisonai
Vendors & Products Mervinpraison
Mervinpraison praisonai

Fri, 23 Oct 2026 12:30:00 +0000

Type Values Removed Values Added
Description PraisonAI is a multi-agent teams system. From version 4.5.110 to before version 4.6.61, 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. 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). 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. This issue has been patched in version 4.6.61.
Title PraisonAI SandlockSandbox falls back to unrestricted subprocess execution when Landlock is unavailable
Weaknesses CWE-266
CWE-668
CWE-693
References
Metrics cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


Subscriptions

Mervinpraison Praisonai
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-23T12:07:55.583Z

Reserved: 2026-06-24T01:45:48.697Z

Link: CVE-2026-57144

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Deferred

Published: 2026-10-23T13:17:11.370

Modified: 2026-10-23T13:17:11.490

Link: CVE-2026-57144

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-23T14:15:07Z

Weaknesses
  • CWE-266

    Incorrect Privilege Assignment

  • CWE-668

    Exposure of Resource to Wrong Sphere

  • CWE-693

    Protection Mechanism Failure