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

- Severity: High 8.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-18T14:25:03.000Z
- Modified: 2026-09-15T14:45:28.563Z
- Also known as: GHSA-c969-5x3p-vq3v, PYSEC-2026-3532
- Weaknesses: CWE-20, CWE-77
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- MervinPraison praisonaiagents: < 1.6.59
- praisonaiagents (PyPI): before 1.6.59

## Every score

- GitHub_M: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`
- PyPA Advisory Database: CVSS:3.1 8.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-c969-5x3p-vq3v> (exploit, web)
- <https://github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59>
- <https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59>
- <https://github.com/MervinPraison/PraisonAI> (package)
- <https://pypi.org/project/praisonaiagents> (package)
- <https://github.com/advisories/GHSA-c969-5x3p-vq3v> (advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-57130> (advisory)

## Sources

- CVE List: [CVE-2026-57130](https://www.cve.org/CVERecord?id=CVE-2026-57130), CVE Terms of Use, modified 2026-09-14
- GitHub Advisory Database: [GHSA-c969-5x3p-vq3v](https://github.com/advisories/GHSA-c969-5x3p-vq3v), CC-BY-4.0, modified 2026-07-23
- NVD: [CVE-2026-57130](https://nvd.nist.gov/vuln/detail/CVE-2026-57130), Public domain, modified 2026-09-15
- PyPA Advisory Database: [PYSEC-2026-3532](https://osv.dev/vulnerability/PYSEC-2026-3532), CC-BY-4.0, modified 2026-07-23

---

Page: https://cve.day/CVE-2026-57130 · Whole record: https://cve.day/CVE-2026-57130.json · Rebuilt by cve.day 2026-11-25T22:59:38.284Z
