# CVE-2026-59351: Predictable Message-ID allows forged responses over the mail transport

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59351 · JSON: https://cvemate.com/vulnerability/CVE-2026-59351/json

## Description

```text
MailSenderConnection correlates a SOAP response to its request solely by matching the request's JavaMail Message-ID against the In-Reply-To header of messages in the store mailbox.
The default Message-ID generated by JavaMail is predictable, so an attacker who can deliver mail to the client's configured store mailbox and predict or observe that value can inject a forged response that the client accepts as the legitimate reply.

 This issue only affects deployments where all the following are true:


 The client uses the optional MailMessageSender transport for request/response calls.
 An attacker can deliver a message to the mailbox configured as the client's storeUri .
 That attacker can predict or observe the Message-ID of a request sent from the same client process.
```

## Signals

- CVSS: 5.9 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
- EPSS: 0.439%, percentile 39.942%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring web services: ≥ 5.0.0, \< 5.0.3.1 \| ≥ 4.1.0, \< 4.1.5 \| ≥ 4.0.0, \< 4.0.20 \| \< 3.1.10 \| ≥ 5.0.0, \< 5.0.4

## References

- <https://spring.io/security/cve-2026-59351>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N&version=3.1>

---

Data as of 2026-12-05T03:54:38.170Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
