Home › CVE › Vulnerabilities
CVE-2026-59351 — Spring Web Services
One of 7 Spring Web Services vulnerabilities published together by NVD: our article covers all of them.
VulnerabilitiesSummary
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.
Severity breakdown
Medium · 5.9
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- no
- Scope
- stays within the vulnerable component
- Impact
- high on integrity, none on confidentiality and availability
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Spring Web Services | ≥ 5.0.0, < 5.0.3.1 | 5.0.3.1 |
| ≥ 4.1.0, < 4.1.5 | 4.1.5 | |
| ≥ 4.0.0, < 4.0.20 | 4.0.20 | |
| < 3.1.10 | 3.1.10 | |
| ≥ 5.0.0, < 5.0.4 | 5.0.4 |
References by type
Other references
Affected
- Spring Web Services
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-59351?
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.
How severe is CVE-2026-59351?
CVE-2026-59351 has a CVSS 3.1 base score of 5.9 (medium), from the CNA (vmware.com). An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-59351 being exploited?
Not as far as is known: CVE-2026-59351 is not in CISA's Known Exploited Vulnerabilities catalog as of December 3, 2026. EPSS estimates a 0.4% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-59351?
Spring Web Services ≥ 5.0.0, < 5.0.3.1 (fixed in 5.0.3.1); Spring Web Services ≥ 4.1.0, < 4.1.5 (fixed in 4.1.5); Spring Web Services ≥ 4.0.0, < 4.0.20 (fixed in 4.0.20); Spring Web Services < 3.1.10 (fixed in 3.1.10); and more, listed on this page.
How do I fix CVE-2026-59351?
Update to a fixed release: Spring Web Services 5.0.3.1; Spring Web Services 4.1.5; Spring Web Services 4.0.20.