{"data":{"id":"fa184984-301f-405b-ba4a-4616f1535fc7","title":"GHSA-qf73-2hrx-xprp: PraisonAI has sandbox escape via exception frame traversal in `execute_code` (subprocess mode)","summary":"The `execute_code()` function in `praisonaiagents.tools.python_tools` defaults to `sandbox_mode=\"sandbox\"`, which runs code in a subprocess with an AST blocklist. The subprocess wrapper's inline `blocked_attrs` set (line 143) omits `__traceback__`, `tb_frame`, `f_back` and `f_builtins`, which the direct-mode list blocks, letting attackers chain them through a caught exception to reach the wrapper's `builtins` and call `exec`. Tested on praisonaiagents 1.5.113 and rated CVSS 9.9 Critical.","solution":"N/A -- no mitigation discussed in source.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-qf73-2hrx-xprp","publishedAt":"2026-04-08T19:17:28.000Z","cveId":"CVE-2026-39888","cweIds":null,"cvssScore":null,"cvssSeverity":"critical","severity":"critical","attackType":["other"],"issueType":"vulnerability","affectedPackages":["praisonaiagents@<= 1.5.114 (fixed: 1.5.115)"],"affectedPackageNames":["praisonaiagents"],"affectedPackageRefs":["pypi:praisonaiagents"],"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.00504,"epssCheckedAt":"2026-11-22T18:08:53.153Z","kevDateAdded":null,"advisoryAliases":["GHSA-qf73-2hrx-xprp"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-04-08T19:17:28.000Z","fixReleasedAt":"2026-04-07T20:43:22.935Z","daysToFix":-1,"fixCheckedAt":"2026-10-29T21:38:33.840Z","capecIds":null,"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.95,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"praisonaiagents","fixedVersion":"1.5.115","matchedVersion":"1.5.115","fixReleasedAt":"2026-04-07T20:43:22.935Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:38:33.693Z"}]}}