SCA: security update for github.com/axllent/mailpit (GHSA-fpxj-m5q8-fphw)

high Tenable Self-Hosted Container Security Plugin ID 442147

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- Mailpit is an email testing tool and API for developers. Prior to version 1.30.0, the Mailpit SMTP server
has a Server.MaxSize int field that controls the maximum allowed DATA payload size, but the field is never
assigned anywhere outside test code, leaving it at Go's zero value (0 ⇒ "no limit"). The same applies to
the HTTP /api/v1/send endpoint, whose request body is decoded with json.NewDecoder(r.Body) and no
http.MaxBytesReader. Because Mailpit's default listeners bind [::]:1025 (SMTP) and [::]:8025 (HTTP), with
no authentication required on either, a single network-reachable attacker can push an arbitrarily large
message into Mailpit and watch RAM consumption spike with a ~7-10× amplification factor (raw frame →
enmime envelope tree → search-text index → zstd-encoded write to SQLite). Repeating the attack — or
running it concurrently from multiple connections — drives the process to OOM-kill. Version 1.30.0
contains a patch. (CVE-2026-45713)

Solution

Update the github.com/axllent/mailpit library and its related packages to version 1.30.0 or later.

See Also

https://github.com/advisories/GHSA-fpxj-m5q8-fphw

Plugin Details

Severity: High

ID: 442147

Version: Revision 1.5

Type: Local

Family: SCA Checks

Published: 5/19/2026

Updated: 7/21/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 3

Percentile: 23.71

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 5.8

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:C

CVSS Score Source: CVE-2026-45713

CVSS v3

Risk Factor: High

Base Score: 7.5

Temporal Score: 6.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 5/19/2026

Vulnerability Publication Date: 5/14/2026

Reference Information

CVE: CVE-2026-45713