{
  "id": "CVE-2026-57130",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-57130",
  "published_at": "2026-09-14T14:28:09.634Z",
  "title": "PraisonAI: IMAP Command Injection via Unsanitized Email Search Parameters",
  "vendor": "MervinPraison",
  "product": "praisonaiagents",
  "cvss": {
    "score": 8.1,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-20",
  "cvss_by_source": {
    "cna": 8.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "MervinPraison",
        "product": "praisonaiagents",
        "ranges": [
          "\u003c 1.6.59"
        ],
        "fixed_in": [
          "1.6.59"
        ]
      }
    ],
    "upgrade": [
      "Upgrade praisonaiagents to 1.6.59 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/MervinPraison/PraisonAI/security/advisories/GHSA-c969-5x3p-vq3v"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/MervinPraison/PraisonAI/commit/b4270173d4123fb1ee8910588f0896668ee21b59"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/MervinPraison/PraisonAI/releases/tag/v4.6.59"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
