Lettermint Node.js SDK leaks email properties to unintended recipients when client instance is reused
Impact
Email properties (such as to, subject, html, text, and attachments) are not reset between sends when a single client instance is reused across multiple .send() calls. This can cause properties from a previous send to leak into a subsequent one, potentially delivering content or recipient addresses to unintended parties. Applications sending emails to different recipients in sequence — such as transactional flows like password resets or notifications — are affected.
Patches
Yes, the issue has been patched. Users should upgrade to v1.5.1 or later.
Workarounds
If upgrading immediately is not possible, instantiate a new client for each send:
const client = new Lettermint({ apiKey: process.env.LETTERMINT_API_KEY });
await client.email.to('...').subject('...').html('...').send();
This ensures no state is carried over between sends.
Czego dotyczy
Kliknij technologię, aby zobaczyć wszystkie dotyczące jej podatności.
| Platforma | Paczka | Podatne wersje | Poprawka w wersji |
|---|---|---|---|
| Paczka npm | lettermint | < 1.5.1 | 1.5.1 |
Odnośniki
- https://github.com/lettermint/lettermint-node/security/advisories/GHSA-49pc-8936-wvfp
- https://nvd.nist.gov/vuln/detail/CVE-2026-27492
- https://github.com/lettermint/lettermint-node/commit/24a17acbc2429c5eb30391f9df3dc0ea7aaf4de1
- https://github.com/lettermint/lettermint-node
- https://github.com/lettermint/lettermint-node/blob/main/CHANGELOG.md#151-2026-02-20
- Wektor CVSS
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N- Słabość (CWE)
CWE-488- Platforma
- npm
- Paczka
lettermint- Ujawniono
- 20.02.2026
- Aktualizacja
- 11.10.2026 10:22
Źródła i licencje
OSV / GitHub Advisory Database - GHSA-49pc-8936-wvfp - CC BY 4.0
Historia podatności: lettermint
Wszystkie opisane podatności tej paczki (Paczka npm), od najnowszej. Widać, czy to jednorazowa wpadka, czy paczka, której trzeba pilnować.
To jedyna znana podatność tej paczki.
Dowiedz się, które podatności dotyczą Twojej aplikacji
Po podłączeniu integracji DockRay i włączeniu raportowania oprogramowania DockRay porównuje zgłoszone wersje komponentów ze znanymi podatnościami i powiadamia o potwierdzonych dopasowaniach. Zakres zależy od obsługiwanej technologii i dostępnych biuletynów.