CVE-2026-34938: Vulnerability in Praisonaiagents

Critical. execute_code() in praisonai-agents runs attacker-controlled Python inside a three-layer sandbox that can be fully bypassed by passing a str subclass with an overridden startswith() method to the _safe_getattr wrapper, achieving arbitrary OS command execution on the host.

PyPI, CWE-693

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-6vh2-h83c-9294
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-693
Published
1 Apr 2026
Last change
16 Nov 2026
Ecosystem
PyPI

Affected products

Affected versions and the first fixed release

  • Praisonaiagents Before 1.5.90. Fixed in 1.5.90

Affected packages

Vulnerable version ranges and fixed releases

  • praisonaiagents PyPI, Affected through 1.5.89. Fixed in 1.5.90

Advisories

Vendor and security advisories

Related