{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-57130","id":"CVE-2026-57130","title":"PraisonAI: IMAP Command Injection via Unsanitized Email Search Parameters","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_e","descriptionLong":"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.","published":"2026-09-14T14:28:09.634Z","updated":"2026-10-28T02:31:02.200057286Z","reserved":"2026-06-24T00:33:17.708Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["MervinPraison praisonaiagents"],"affectedProducts":[{"vendor":"MervinPraison","product":"praisonaiagents","defaultStatus":null,"versions":[{"version":"< 1.6.59","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"praisonaiagents","purl":"pkg:pypi/praisonaiagents","ranges":["<1.6.59"],"fixed":["1.6.59"],"advisory":"GHSA-c969-5x3p-vq3v"}],"cwes":["CWE-20","CWE-77"],"aliases":["GHSA-c969-5x3p-vq3v","PYSEC-2026-3532"],"references":[{"url":"https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-c969-5x3p-vq3v","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59","tags":["x_refsource_MISC","fix"]},{"url":"https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/57xxx/CVE-2026-57130.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57130","tags":["advisory"]},{"url":"https://github.com/MervinPraison/PraisonAI","tags":["package"]},{"url":"https://pypi.org/project/praisonaiagents","tags":["package"]},{"url":"https://github.com/advisories/GHSA-c969-5x3p-vq3v","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total"},"epss":0.00462,"epssPercentile":0.40828,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-57130","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-57130","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-57130","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-c969-5x3p-vq3v","ok":true,"note":"GHSA-c969-5x3p-vq3v"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-57130","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}