{"data":{"id":"fc66507c-7437-4e49-b31e-ac6953015c64","title":"GHSA-4mr5-g6f9-cfrh: PraisonAI vulnerable to sandbox escape via `print.__self__` builtins module leak in `execute_code` (subprocess mode)","summary":"PraisonAI's `execute_code()` in `praisonaiagents/tools/python_tools.py` (v1.6.37, subprocess sandbox mode) can be fully bypassed. Using `print.__self__` to reach the real `builtins` module, then `vars()` and runtime string construction to obtain `__import__`, lets an attacker run arbitrary OS commands on the host, defeating the sandbox. The bypass survives patches for CVE-2026-39888, CVE-2026-34938 and CVE-2026-40158, and the advisory rates it CVSS 9.9 Critical.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-4mr5-g6f9-cfrh","publishedAt":"2026-05-29T22:30:13.000Z","cveId":"CVE-2026-47392","cweIds":null,"cvssScore":null,"cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["PraisonAI@<= 4.6.39 (fixed: 4.6.40)","praisonaiagents@<= 1.6.39 (fixed: 1.6.40)"],"affectedPackageNames":["praisonai","praisonaiagents"],"affectedPackageRefs":["pypi:praisonaiagents","pypi:praisonai"],"affectedVendors":[],"affectedVendorsRaw":["PraisonAI","praisonaiagents"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00884,"epssCheckedAt":"2026-10-14T18:06:00.235Z","kevDateAdded":null,"advisoryAliases":["GHSA-4mr5-g6f9-cfrh"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-05-29T22:30:13.000Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null}}