Vulnerability · Published Sep 14, 2026 · Assigned by GitHub_M

CVE-2026-57130PraisonAI: IMAP Command Injection via Unsanitized Email Search Parameters

High 8.1

In plain English

A high-severity improper input validation in praisonaiagents from MervinPraison. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 40% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)0.5%top 59.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official 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 packages & fixed versions

EcosystemPackageFixed inAdvisory
PyPIpraisonaiagents1.6.59GHSA-c969-5x3p-vq3v
PyPIpraisonaiagents1.6.59PYSEC-2026-3532

Affected products (as reported)

VendorProductVersions
MervinPraison praisonaiagents < 1.6.59

Weakness: CWE-20, CWE-77 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

References