{"data":{"id":"2d6f5da9-6bc6-410c-a73d-f51664f4e1d2","title":"GHSA-r4f2-3m54-pp7q: PraisonAI Has Sandbox Escape via shell=True and Bypassable Blocklist in SubprocessSandbox","summary":"In PraisonAI, `SubprocessSandbox` runs commands through `subprocess.run()` with `shell=True` and blocks dangerous commands only by string-pattern matching. The blocklist omits `sh` and `bash`, so in STRICT mode a call such as `sh -c 'id'` escapes the sandbox, and blocked commands like curl, wget, nc and ssh become reachable. Combined with agent prompt injection, an attacker could reach the network, filesystem and cloud metadata services. The source reports testing on praisonai==4.5.87.","solution":"The source suggests replacing `shell=True` with `shell=False` and passing `shlex.split(command)` to `subprocess.run()`. It does not state a fixed version.","labels":["security"],"sourceUrl":"https://github.com/advisories/GHSA-r4f2-3m54-pp7q","publishedAt":"2026-04-01T23:26:01.000Z","cveId":"CVE-2026-34955","cweIds":null,"cvssScore":null,"cvssSeverity":"high","severity":"high","attackType":["other"],"issueType":"vulnerability","affectedPackages":["praisonai@<= 4.5.96 (fixed: 4.5.97)"],"affectedPackageNames":["praisonai"],"affectedPackageRefs":["pypi:praisonai"],"affectedVendors":[],"affectedVendorsRaw":["PraisonAI"],"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.0039,"epssCheckedAt":"2026-11-20T12:09:58.312Z","kevDateAdded":null,"advisoryAliases":["GHSA-r4f2-3m54-pp7q"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":true,"disclosureDate":"2026-04-01T23:26:01.000Z","fixReleasedAt":"2026-03-31T15:23:59.885Z","daysToFix":-1,"fixCheckedAt":"2026-10-29T21:39:00.916Z","capecIds":null,"crossRefCount":0,"attackSophistication":"trivial","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":null,"fixes":[{"ecosystem":"pypi","name":"praisonai","fixedVersion":"4.5.97","matchedVersion":"4.5.97","fixReleasedAt":"2026-03-31T15:23:59.885Z","daysToFix":-1,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:39:00.764Z"}]}}