CVE-2026-59351: Predictable Message-ID allows forged responses over the mail transport
Vulnerability summary
CVE-2026-59351 is a medium (CVSS 5.9) vulnerability in spring spring web services. EPSS estimates a 0.44% chance of exploitation in the next 30 days, higher than 39.9% of scored vulnerabilities.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-12-2026PublishedVulnerability first disclosed.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS trend
Probability
0.44%
Chance of exploitation in the next 30 days
Percentile
40%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeNo weakness data has been published for this record.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Spring1 product
- 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
1 vendor · 1 product