What’s Vulnerable › Vulnerabilities
CVE-2026-57130: PraisonAI: IMAP Command Injection via Unsanitized Email Search Parameters
- Severity: high (CVSS 8.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-09-14 · updated 2026-09-15
- Weakness: CWE-20
Description
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.
Affected products
- MervinPraison praisonaiagents: before 1.6.59
References
- https://github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59
- https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-c969-5x3p-vq3v
- https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-c969-5x3p-vq3v
Get alerted when CVE-2026-57130 or the next vulnerability affects your stack