{"id":"CVE-2026-48824","published":"2026-07-20T15:02:52Z","modified":"2026-07-20T19:07:58Z","title":"Mailpit: Sibling-endpoint memory-exhaustion DoS via unbounded JSON body on /api/v1/messages, /api/v1/tags, and…","vendor":"axllent","product":"mailpit","tier":"tail","description":{"text":"Mailpit is an email testing tool and API for developers. Prior to version 1.30.1, the fix for GHSA-fpxj-m5q8-fphw (CVE-2026-45710, \"Mailpit: Set a default 50MB p/m limit to prevent DoS via unlimited SMTP DATA and /api/v1/send body sizes\") wrapped only `POST /api/v1/send` with `http.MaxBytesReader`. The four other Mailpit JSON-body API endpoints  `PUT /api/v1/messages` (SetReadStatus), `DELETE /api/v1/messages` (DeleteMessages), `PUT /api/v1/tags` (SetMessageTags), and `POST /api/v1/message/{id}/release` (ReleaseMessage)  still call `json.NewDecoder(r.Body)` directly with no body-size cap and remain reachable unauthenticated in the default `docker run axllent/mailpit:latest` deploy. An unauthenticated remote attacker can post a multi-million-element `IDs` slice and drive RSS from ~25 MiB baseline to ~450 MiB per 16 MB request body. Repeating across multiple connections accumulates the same per-request amplification per process. Version 1.30.1 contains a patch.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00541,"percentile":0.46429,"provenance":"source"},"cwes":[{"id":"CWE-770","name":"Allocation of Resources Without Limits or Throttling"}],"references":[{"url":"https://github.com/axllent/mailpit/security/advisories/GHSA-28pq-6qxg-wg5r","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/axllent/mailpit/releases/tag/v1.30.1","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":9.29},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"axllent","affectedVersions":[{"vendor":"axllent","product":"mailpit","versions":["< 1.30.1"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-20T19:01:37.901255Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/axllent/mailpit","vulnerableRanges":["<1.30.1"],"patched":["1.30.1"],"from":["GHSA-28pq-6qxg-wg5r","GO-2026-5868"],"provenance":"source"}],"summary":{"text":"Mailpit, an email testing tool and API for developers, has an unbounded JSON body parsing flaw in the endpoints PUT /api/v1/messages, DELETE /api/v1/messages, PUT /api/v1/tags, and POST /api/v1/message/{id}/release, which lack the body-size cap applied only to POST /api/v1/send. An unauthenticated remote attacker with network access to a default deployment can send oversized request bodies, such as a multi-million-element IDs slice, to drive memory consumption up substantially per request, and repeating across connections accumulates the effect.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:06Z"},"euvd":{"id":"EUVD-2026-45973","exploited":false,"provenance":"source"}}