# CVE-2026-48824: Mailpit: Sibling-endpoint memory-exhaustion DoS via unbounded JSON body on /api/v1/messages, /api/v1/tags, and /api/v1/message/{id}/release (incomplete fix of GHSA-fpxj-m5q8-fphw)

- Severity: Medium 5.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.42%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-01T20:56:10.000Z
- Modified: 2026-10-24T20:10:00.137Z
- Also known as: GHSA-28pq-6qxg-wg5r, GO-2026-5868
- Weaknesses: CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- axllent mailpit: < 1.30.1; before 1.30.1
- github.com/axllent/mailpit (Go): before 1.30.1

## Every score

- GitHub_M: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- GitHub: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`

## References

- <https://github.com/axllent/mailpit/security/advisories/GHSA-28pq-6qxg-wg5r> (exploit, advisory, vendor-advisory, web)
- <https://github.com/axllent/mailpit/releases/tag/v1.30.1> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-48824> (advisory)
- <https://github.com/axllent/mailpit> (package)

## Sources

- CVE List: [CVE-2026-48824](https://www.cve.org/CVERecord?id=CVE-2026-48824), CVE Terms of Use, modified 2026-07-20
- GitHub Advisory Database: [GHSA-28pq-6qxg-wg5r](https://github.com/advisories/GHSA-28pq-6qxg-wg5r), CC-BY-4.0, modified 2026-09-02
- Go Vulnerability Database: [GO-2026-5868](https://pkg.go.dev/vuln/GO-2026-5868), CC-BY-4.0, modified 2026-07-07
- NVD: [CVE-2026-48824](https://nvd.nist.gov/vuln/detail/CVE-2026-48824), Public domain, modified 2026-10-24

---

Page: https://cve.day/CVE-2026-48824 · Whole record: https://cve.day/CVE-2026-48824.json · Rebuilt by cve.day 2026-11-25T22:59:29.241Z
