Advisory

GHSA-49pc-8936-wvfp

Also known as: CVE-2026-27492

Summary

Lettermint Node.js SDK leaks email properties to unintended recipients when client instance is reused

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-02-20 21:14 UTC
Modified
2026-02-23 22:53 UTC

Affected packages and fixes

lettermint

npm · All systems

Affected

  • introduced 0, fixed 1.5.1 (semver)

Fixed versions

1.5.1

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences