CVE-2026-59351 PUBLISHED

Predictable Message-ID allows forged responses over the mail transport

Assigner: vmware
Reserved: 04.07.2026 Published: 02.12.2026 Updated: 02.12.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS Score: 5.9

Product Status

Vendor Spring
Product Spring Web Services
Versions
  • affected from 5.0.0 to 5.0.3.1 (excl.)
  • affected from 4.1.0 to 4.1.5 (excl.)
  • affected from 4.0.0 to 4.0.20 (excl.)
  • affected from 0 to 3.1.10 (excl.)
  • affected from 5.0.0 to 5.0.4 (excl.)

References