{"id":"CVE-2026-57130","published":"2026-09-14T14:28:09Z","modified":"2026-09-14T14:47:00Z","title":"PraisonAI: IMAP Command Injection via Unsanitized Email Search Parameters","vendor":"MervinPraison","product":"praisonaiagents","tier":"tail","description":{"text":"PraisonAI is a multi-agent teams system. Prior to praisonaiagents 1.6.59, src/praisonai-agents/praisonaiagents/tools/email_tools.py interpolates LLM-controlled from_addr, subject, and query values directly into quoted IMAP SEARCH criteria. Embedded quote, backslash, newline, or null characters can escape the intended criterion and alter IMAP operations when search_emails, reply_email, or archive_email is exposed to an agent with configured email credentials, allowing mailbox data access, modification, deletion, or connection disruption. This issue is fixed in praisonaiagents 1.6.59.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.1,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00462,"percentile":0.32104,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-77","name":"Improper Neutralization of Special Elements used in a Command"}],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-c969-5x3p-vq3v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59","tags":["x_refsource_MISC"]},{"url":"https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59","tags":["x_refsource_MISC"]}],"priority":{"score":12.1,"factors":[{"name":"EPSS percentile","points":6.42},{"name":"CVSS severity","points":5.67}]},"vendorSlug":"mervinpraison","affectedVersions":[{"vendor":"MervinPraison","product":"praisonaiagents","versions":["< 1.6.59"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-09-14T14:46:30.550494Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"praisonaiagents","vulnerableRanges":["<1.6.59"],"patched":["1.6.59"],"from":["GHSA-c969-5x3p-vq3v","PYSEC-2026-3532"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-77534","exploited":false,"provenance":"source"}}