CVE-2026-47255: @agenticmail/api AgenticMail API/storage And Outbound Relay Vulnerability

HIGH
Advisory Identifier: GHSA-wjjv-3mj2-39hf
Advisory Summary

CVE-2026-47255 is a HIGH agenticmail api/storage and outbound relay vulnerability (CWE-319: Cleartext Transmission of Sensitive Information) affecting @agenticmail/api libraries in the npm ecosystem. The issue involves agenticmail api/storage and outbound relay hardening fixes. Remediation is available by upgrading affected packages to version 0.9.32, 0.9.10.

CVE-2026-47255 at a Glance

CVE Identifier CVE-2026-47255
GHSA Identifier GHSA-wjjv-3mj2-39hf
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-319: Cleartext Transmission of Sensitive Information
Affected Product @agenticmail/api
Package Ecosystem npm
Published Date
Last Updated

How to Fix CVE-2026-47255

To remediate this vulnerability, upgrade all affected @agenticmail/api dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

@agenticmail/api fixed: 0.9.32
npm install @agenticmail/api@0.9.32
@agenticmail/core fixed: 0.9.10
npm install @agenticmail/core@0.9.10
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls @agenticmail/api

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-47255, inspect your project dependencies using npm:

npm ls @agenticmail/api

Analyze the terminal output to locate any version of @agenticmail/api in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.32), your application is affected.

Note: The npm ls @agenticmail/api command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-319: Cleartext Transmission of Sensitive Information, where the product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors. In @agenticmail/api, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

The current upstream main branch at commit 7e0206d was reviewed, and the fix-first patch set was rebased on 2026-05-18. The patches cover: validated and bound inactive-agent hour filtering; storage SQL identifier validation; metadata-backed ownership checks for raw storage SQL; blocking direct storage metadata access through raw SQL; fail-closed outbound worker secret handling; SMTP envelope/header control-character validation before command construction; and TLS certificate verification as the default for MailSender with an explicit opt-out for local development. Validation completed locally with targeted API/Core security tests plus API/Core builds. The security patch branch was not published publicly because te repository's SECURITY.md asks reporters not to open public vulnerability issues.

CVE-2026-47255 Affected @agenticmail/api Versions

2 component(s)
Fixed Versions:
0.9.320.9.10
Product / Package Ecosystem Affected Versions Fixed Version
@agenticmail/api
npm
< 0.9.32
0.9.32
@agenticmail/core
npm
< 0.9.10
0.9.10

References

Frequently Asked Questions

What is CVE-2026-47255?
CVE-2026-47255 is a security vulnerability in @agenticmail/api involving AgenticMail API/storage and outbound relay hardening fixes under CWE-319: Cleartext Transmission of Sensitive Information.
Which @agenticmail/api versions are affected?
Affected versions include releases prior to 0.9.32, 0.9.10 across affected packages: @agenticmail/api, @agenticmail/core.
What version fixes CVE-2026-47255?
Upgrading to 0.9.32, 0.9.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is @agenticmail/api affected?
Yes, @agenticmail/api is affected in releases prior to 0.9.32. Upgrade your dependency to 0.9.32 or later.
Is @agenticmail/core affected?
Yes, @agenticmail/core is affected in releases prior to 0.9.10. Upgrade your dependency to 0.9.10 or later.
What CWE is associated with CVE-2026-47255?
CVE-2026-47255 is classified under CWE-319: Cleartext Transmission of Sensitive Information (The product transmits sensitive or security-critical data in cleartext in a communication channel that can be sniffed by unauthorized actors.).
How can I check npm dependencies for CVE-2026-47255?
Run the dependency tree command: 'npm ls @agenticmail/api'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-wjjv-3mj2-39hf",
  "modified" : "2026-05-29T19:23:29Z",
  "published" : "2026-05-29T19:23:29Z",
  "aliases" : [ "CVE-2026-47255" ],
  "summary" : "AgenticMail API/storage and outbound relay hardening fixes",
  "details" : "The current upstream main branch at commit 7e0206d was reviewed, and the fix-first patch set was rebased on 2026-05-18. The patches cover: validated and bound inactive-agent hour filtering; storage SQL identifier validation; metadata-backed ownership checks for raw storage SQL; blocking direct storage metadata access through raw SQL; fail-closed outbound worker secret handling; SMTP envelope/header control-character validation before command construction; and TLS certificate verification as the default for MailSender with an explicit opt-out for local development. Validation completed locally with targeted API/Core security tests plus API/Core builds. The security patch branch was not published publicly because te repository's SECURITY.md asks reporters not to open public vulnerability issues.",
  "severity" : [ ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@agenticmail/api"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.32"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.9.31"
    }
  }, {
    "package" : {
      "ecosystem" : "npm",
      "name" : "@agenticmail/core"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.9.10"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 0.9.9"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/agenticmail/agenticmail/security/advisories/GHSA-wjjv-3mj2-39hf"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agenticmail/agenticmail/commit/1408de543fa3577d8c2d4fdb289c75fe6faafac7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agenticmail/agenticmail/commit/234b811e426a0743170f3b10bc43419d64330155"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agenticmail/agenticmail/commit/6c70c8254c906f823392d7f5ccee88a5481e7731"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agenticmail/agenticmail/commit/8cb053f2307dd77b7736ffa0d7df04b0ccc3272d"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/agenticmail/agenticmail"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agenticmail/agenticmail/blob/7b9b05d973676e9f3d097c08b8e649f59bfc15d0/CHANGELOG.md?plain=1#L1842"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/agenticmail/agenticmail/blob/7b9b05d973676e9f3d097c08b8e649f59bfc15d0/packages/core/src/mail/sender.ts#L33"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-284", "CWE-319", "CWE-798", "CWE-89" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-29T19:23:29Z",
    "nvd_published_at" : null
  }
}