PraisonAI: IMAP Command Injection via Unsanitized Email Search Parameters
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| MervinPraison | praisonaiagents | before 1.6.59 | 1.6.59 | Patch available | CNA |
| — | praisonaiagents (PyPI) | before 1.6.59 | 1.6.59 | Patch available | GHSA-c969-5x3p-vq3v |
- praisonaiagents VendorMervinPraison Affected before 1.6.59 Fixed in 1.6.59 Patch available CNA
- praisonaiagents (PyPI) Vendor— Affected before 1.6.59 Fixed in 1.6.59 Patch available GHSA-c969-5x3p-vq3v
Remediation
- Fix · CNA praisonaiagents (MervinPraison) Fixed in 1.6.59
- Fix · GHSA-c969-5x3p-vq3v praisonaiagents (PyPI) Fixed in 1.6.59 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-57130
- 2026-10-03 Alias added: GHSA-c969-5x3p-vq3v
References
More MervinPraison vulnerabilities
- TI-2026-79619 Missing authentication in PraisonAI AgentOS exposes agent chat CVSS 3.1CRITICAL 9.8
- TI-2026-71236 Missing access control in PraisonAI AgentTeam exposes agent endpoints CVSS 3.1CRITICAL 9.8
- TI-2026-44052 PraisonAI before 1.6.78 Remote Code Execution via CodeAgent CVSS 4.0CRITICAL 10.0
- TI-2026-41123 praisonai-platform 0.1.4 still boots on the hardcoded JWT secret dev-secret-change-me (default-open production guard) CVSS 3.1CRITICAL 9.8
- TI-2026-41122 praisonai-platform: default JWT signing secret 'dev-secret-change-me' enables token forgery CVSS 3.1CRITICAL 9.8
- TI-2026-41118 PraisonAI MCPServer exposes unauthenticated HTTP tools/call CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-57130 · CVE Program
- CVE-2026-57130 · NVD
- FIRST EPSS
- GHSA-c969-5x3p-vq3v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences