Predictable Message-ID allows forged responses over the mail transport
- CVE-2026-59351
- GHSA-975j-6969-6f45
- EUVD-2026-141032
Description
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.
Text from the CVE.org record.
Affected
Spring Spring Web Services
- from 5.0.0 to before 5.0.3.1
- from 4.1.0 to before 4.1.5
- from 4.0.0 to before 4.0.20
- before 3.1.10
- from 5.0.0 to before 5.0.4
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.