CVE-2026-59438
MEDIUM 6.6CVSS 3.1Spring Integration MongoDbMessageStore allow-list API silently loses effect after startup
MongoDbMessageStore exposes an addAllowedPatterns() API that restricts which classes may be deserialized from stored ErrorMessage payloads. Its Javadoc does not state that it must be called before the store is initialized. The allow-list is copied by value into the internal converter only once, when the store is initialized. If addAllowedPatterns() is called after initialization, the new patterns are never applied. Because an empty allow-list permits every class, the store continues to deserialize arbitrary classes while the application believes it is restricted.
An attacker who can influence the serialized bytes stored in the backing MongoDB collection can cause an arbitrary Java class to be deserialized, which may lead to remote code execution through a gadget chain. Applications that configure the allow-list before the store is initialized are not affected.
- Published
- 2 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security@vmware.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-502
- Sources
- NVDJSONCVE ListJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security@vmware.com (Secondary) | CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| CVE List | vmware | CVSS 3.1 | MEDIUM 6.6 | CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: total |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | Spring | Spring Integration | >= 7.1.0, < 7.1.2.1; >= 7.0.0, < 7.0.7.1; >= 6.5.0, < 6.5.12; >= 6.4.0, < 6.4.14; < 5.5.23; >= 7.1.0, < 7.1.3; >= 7.0.0, < 7.0.8 | 7.1.2.1, 7.0.7.1, 6.5.12, 6.4.14, 5.5.23, 7.1.3, 7.0.8 |
References
- https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H&version=3.1
- https://spring.io/security/cve-2026-59438
History
- 3 Dec 2026 06:07 UTC · NVD: updated (other details)
- 3 Dec 2026 05:06 UTC · CVE List: updated (other details)
- 2 Dec 2026 19:36 UTC · NVD: status Received → Awaiting Analysis
- 2 Dec 2026 15:18 UTC · CVE List: updated (other details)
- 2 Dec 2026 15:18 UTC · NVD: updated (other details)
- 2 Dec 2026 08:19 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 07:42 UTC · CVE List: first stored (published 2 Dec 2026)