{"id":"CVE-2026-59351","aliases":["EUVD-2026-141032","GHSA-975j-6969-6f45"],"status":"published","title":"Predictable Message-ID allows forged responses over the mail transport","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.\nThe 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.\n\n This issue only affects deployments where all the following are true:\n\n \n The client uses the optional MailMessageSender transport for request/response calls. \n An attacker can deliver a message to the mailbox configured as the client's storeUri . \n That attacker can predict or observe the Message-ID of a request sent from the same client process.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-12-04","score":0.00439,"percentile":0.39942,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2026-12-02T07:09:38Z","modified":"2026-12-02T19:26:40Z","products":[{"vendor":"spring","product":"spring web services"}],"references":[{"url":"https://spring.io/security/cve-2026-59351"},{"url":"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\u0026version=3.1"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-59351"},{"url":"https://github.com/advisories/GHSA-975j-6969-6f45"}],"sources":{"cve":[{"id":"CVE-2026-59351","title":"Predictable Message-ID allows forged responses over the mail transport","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.\nThe 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.\n\n This issue only affects deployments where all the following are true:\n\n \n The client uses the optional MailMessageSender transport for request/response calls. \n An attacker can deliver a message to the mailbox configured as the client's storeUri . \n That attacker can predict or observe the Message-ID of a request sent from the same client process.","status":"published","published":"2026-12-02T07:09:38.913Z","modified":"2026-12-02T07:09:38.913Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"cna"}],"updated_at":"2026-12-02T07:31:24.108495Z"}],"euvd":[{"id":"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.\nThe 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.\n\n This issue only affects deployments where all the following are true:\n\n \n The client uses the optional MailMessageSender transport for request/response calls. \n An attacker can deliver a message to the mailbox configured as the client's storeUri . \n That attacker can predict or observe the Message-ID of a request sent from the same client process.","status":"published","published":"2026-12-02T07:09:38Z","modified":"2026-12-02T07:09:38Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-12-02T12:24:36.352974Z"}],"ghsa":[{"id":"GHSA-975j-6969-6f45","title":"MailSenderConnection correlates a SOAP response to its request solely by matching the request's...","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.\nThe 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.\n\n This issue only affects deployments where all the following are true:\n\n \n The client uses the optional MailMessageSender transport for request/response calls. \n An attacker can deliver a message to the mailbox configured as the client's storeUri . \n That attacker can predict or observe the Message-ID of a request sent from the same client process.","status":"published","published":"2026-12-02T09:30:31Z","modified":"2026-12-02T09:30:42Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-12-02T09:35:48.125087Z"}],"nvd":[{"id":"CVE-2026-59351","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.\nThe 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.\n\n This issue only affects deployments where all the following are true:\n\n \n The client uses the optional MailMessageSender transport for request/response calls. \n An attacker can deliver a message to the mailbox configured as the client's storeUri . \n That attacker can predict or observe the Message-ID of a request sent from the same client process.","status":"published","published":"2026-12-02T08:17:40.11Z","modified":"2026-12-02T19:26:40.093Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"secondary"}],"updated_at":"2026-12-02T08:22:34.214829Z"}]}}
