{"data":{"id":"5338efe5-1566-45a8-8eb4-2e6ba2a3c5b0","title":"CVE-2026-40111: PraisonAIAgents is a multi-agent teams system. Prior to 1.5.128, he memory hooks executor in praisonaiagents passes a…","summary":"PraisonAIAgents, prior to 1.5.128, passes a user-controlled command string directly to subprocess.run() with shell=True in the memory hooks executor at src/praisonai-agents/praisonaiagents/memory/hooks.py, with no sanitization, so /bin/sh interprets shell metacharacters. Two attack surfaces exist: the pre_run_command and post_run_command hook event types, and the .praisonai/hooks.json lifecycle configuration, where BEFORE_TOOL and AFTER_TOOL hooks fire automatically. An agent that gains file-write access through prompt injection can overwrite hooks.json and run its payload silently at later lifecycle events.","solution":"Fixed in 1.5.128.","labels":["security"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-40111","publishedAt":"2026-04-09T22:16:34.560Z","cveId":"CVE-2026-40111","cweIds":["CWE-78"],"cvssScore":null,"cvssSeverity":null,"severity":"critical","attackType":["prompt_injection","other"],"issueType":"vulnerability","affectedPackages":["praisonaiagents@<= 1.5.126 (fixed: 1.5.128)"],"affectedPackageNames":["praisonaiagents"],"affectedPackageRefs":["pypi:praisonaiagents"],"affectedVendors":[],"affectedVendorsRaw":["PraisonAIAgents"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":"PraisonAIAgents command injection in memory hooks executor via shell=True","headlinePromptVersion":"h1","cvssVector":null,"attackVector":null,"attackComplexity":null,"privilegesRequired":null,"userInteraction":null,"exploitMaturity":"unknown","epssScore":0.00238,"epssCheckedAt":"2026-11-23T06:09:16.258Z","kevDateAdded":null,"advisoryAliases":["GHSA-v7px-3835-7gjx"],"affectedPackagesSource":"ghsa","affectedPackagesCheckedAt":"2026-10-10T03:49:38.133Z","patchAvailable":true,"disclosureDate":"2026-04-09T22:16:34.560Z","fixReleasedAt":"2026-04-09T09:58:36.407Z","daysToFix":0,"fixCheckedAt":"2026-10-29T21:38:22.664Z","capecIds":["CAPEC-88"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity","availability"],"aiComponentTargeted":"agent","llmSpecific":false,"classifierConfidence":0.9,"researchCategory":null,"atlasIds":["AML.T0051"],"fixes":[{"ecosystem":"pypi","name":"praisonaiagents","fixedVersion":"1.5.128","matchedVersion":"1.5.128","fixReleasedAt":"2026-04-09T09:58:36.407Z","daysToFix":0,"match":"ecosystem","source":"registry","status":"found","checkedAt":"2026-10-29T21:38:22.517Z"}]}}