CVE-2026-48824: CWE-770: Allocation of Resources Without Limits or Throttling in axllent mailpit
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.
AI Analysis
Technical Summary
Mailpit versions before 1.30.1 contain a resource exhaustion vulnerability (CWE-770) in four unauthenticated JSON-body API endpoints: PUT /api/v1/messages, DELETE /api/v1/messages, PUT /api/v1/tags, and POST /api/v1/message/{id}/release. Unlike the previously fixed POST /api/v1/send endpoint, these endpoints do not limit the size of the request body, allowing an attacker to send very large JSON payloads (multi-million-element ID slices). This causes the process's resident set size (RSS) memory usage to increase significantly (from ~25 MiB baseline to ~450 MiB per 16 MB request), enabling denial of service via memory exhaustion. Version 1.30.1 contains a patch that addresses this issue.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to cause excessive memory consumption on the Mailpit server by sending large JSON payloads to specific API endpoints. This can lead to denial of service conditions due to resource exhaustion, impacting availability. There is no impact on confidentiality or integrity according to the CVSS vector.
Mitigation Recommendations
A patch is available in Mailpit version 1.30.1 that fixes this vulnerability by adding request body size limits to the affected endpoints. Users should upgrade to version 1.30.1 or later to remediate this issue. No other mitigation guidance is provided or necessary as the vulnerability is fixed in the stated version.
CVE-2026-48824: CWE-770: Allocation of Resources Without Limits or Throttling in axllent mailpit
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.
CVSS v3.1
Score 5.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Mailpit versions before 1.30.1 contain a resource exhaustion vulnerability (CWE-770) in four unauthenticated JSON-body API endpoints: PUT /api/v1/messages, DELETE /api/v1/messages, PUT /api/v1/tags, and POST /api/v1/message/{id}/release. Unlike the previously fixed POST /api/v1/send endpoint, these endpoints do not limit the size of the request body, allowing an attacker to send very large JSON payloads (multi-million-element ID slices). This causes the process's resident set size (RSS) memory usage to increase significantly (from ~25 MiB baseline to ~450 MiB per 16 MB request), enabling denial of service via memory exhaustion. Version 1.30.1 contains a patch that addresses this issue.
Potential Impact
An unauthenticated remote attacker can exploit this vulnerability to cause excessive memory consumption on the Mailpit server by sending large JSON payloads to specific API endpoints. This can lead to denial of service conditions due to resource exhaustion, impacting availability. There is no impact on confidentiality or integrity according to the CVSS vector.
Mitigation Recommendations
A patch is available in Mailpit version 1.30.1 that fixes this vulnerability by adding request body size limits to the affected endpoints. Users should upgrade to version 1.30.1 or later to remediate this issue. No other mitigation guidance is provided or necessary as the vulnerability is fixed in the stated version.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-05-22T20:57:10.977Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a5e3e5e2a4a8d5989464e3e
Added to database: 07/20/2026, 15:27:26 UTC
Last enriched: 07/20/2026, 15:42:28 UTC
Last updated: 07/21/2026, 01:13:36 UTC
Views: 12
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.