Executive brief
AgenticMail, a tool that provides AI agents with email and phone capabilities, contained multiple security vulnerabilities. These flaws could have allowed unauthorized access to agent data, the sending of malicious emails, or the bypass of security controls. An attacker could potentially manipulate database queries or intercept communications due to weak encryption defaults and hard-coded credentials.
Technical details
AgenticMail (@agenticmail/api and @agenticmail/core) suffered from a suite of vulnerabilities including SQL injection (CWE-89) via unvalidated 'having', 'where', and 'order-by' clauses in storage routes. It also contained hard-coded secrets for outbound workers (CWE-798), lacked proper SMTP control-character validation (CWE-20), and defaulted to disabled TLS certificate verification (CWE-319). Additionally, improper access controls allowed for potential cross-agent data reads through comma-join SQL queries. These issues are resolved in @agenticmail/api version 0.9.32 and @agenticmail/core version 0.9.10 by implementing strict identifier validation, fail-closed secret handling, and mandatory TLS verification.
Affected products
- agenticmail @agenticmail/api < 0.9.32
- agenticmail @agenticmail/core < 0.9.10
Timeline
- 2026-05-18: patched: Security hardening patch merged into main repository
- 2026-07-20: disclosed: CVE-2026-47255 published
References
- https://github.com/agenticmail/agenticmail/blob/7b9b05d973676e9f3d097c08b8e649f59bfc15d0/CHANGELOG.md?plain=1
- https://github.com/agenticmail/agenticmail/blob/7b9b05d973676e9f3d097c08b8e649f59bfc15d0/packages/core/src/mail/sender.ts
- https://github.com/agenticmail/agenticmail/commit/1408de543fa3577d8c2d4fdb289c75fe6faafac7
- https://github.com/agenticmail/agenticmail/commit/234b811e426a0743170f3b10bc43419d64330155
- https://github.com/agenticmail/agenticmail/commit/6c70c8254c906f823392d7f5ccee88a5481e7731
- https://github.com/agenticmail/agenticmail/commit/8cb053f2307dd77b7736ffa0d7df04b0ccc3272d
- https://github.com/agenticmail/agenticmail/security/advisories/GHSA-wjjv-3mj2-39hf