Skip to content
HighVulnerabilityLLM-specific

CVE-2026-57130: PraisonAI IMAP search injection in email tools via LLM-controlled values

Identifier
CVE-2026-57130
Published
Record updated
View JSON
Affected
  • praisonaiagents <= 1.6.48
Fixed in
1.6.59
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.3%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

PraisonAI's praisonaiagents package, before version 1.6.59, interpolates LLM-controlled from_addr, subject, and query values directly into quoted IMAP SEARCH criteria in src/praisonai-agents/praisonaiagents/tools/email_tools.py. 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. The flaw can allow mailbox data access, modification, deletion, or connection disruption.

Mitigation

Fixed in praisonaiagents 1.6.59.