Skip to content
OpenAdvisories
High · 8.1 CVE-2026-57130 EUVD-2026-77534GHSA-c969-5x3p-vq3vPYSEC-2026-3532

PraisonAI: IMAP Command Injection via Unsanitized Email Search Parameters

Published Sep 14, 2026 · Updated Sep 14, 2026 · Assigned by GitHub_M

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

VendorProductAffectedFixed
MervinPraison praisonaiagents < 1.6.59 —

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI praisonaiagents < 1.6.59 1.6.59 GHSA-c969-5x3p-vq3v

References