Spring Integration MongoDbMessageStore allow-list API silently loses effect after startup
CVE-2026-59438Published 2 Dec 2026, 07:13 UTC
Real-world risk
0.8/ 10Low
Routine
PreliminaryFrom the CVSS vector only · confidence low
CVSS
6.6
scored by the vendor (CNA), CVSS 3.1
In plain words
No plain-language summary yet. The original description is below.
Original description (from vmware)
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.
Am I affected?
| Product | Affected versions (from the sources) | Fixed in |
|---|---|---|
| Spring IntegrationNiche | >= 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 |
What to do
Update to a fixed version: 7.1.2.1, 7.0.7.1, 6.5.12, 6.4.14, 5.5.23, 7.1.3, 7.0.8.
Why this score
| Factor | Value | Evidence | × |
|---|---|---|---|
| Impact | Full compromiseCode execution or full control of the system or application | From the CVSS vector | 1.00 |
| Attacker position | InternetAnyone on the Internet can reach a typical deployment | From the CVSS vector | 1.00 |
| Privileges needed | HighAdmin or equivalent | From the CVSS vector | 0.20 |
| Victim interaction | NoneNothing | From the CVSS vector | 1.00 |
| Configuration | DefaultOut-of-the-box installs are vulnerable | From the CVSS vector | 1.00 |
| Reliability | HardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bug | From the CVSS vector | 0.45 |
Threat level T1: Nothing known (× 0.85)
The default for a new disclosure
EPSS 1.1% chance of exploitation in 30 days (percentile 65), as of 2026-12-02.
The arithmetic
- Prerequisites multiplied together0.090
- Threat T1: Nothing known0.850
- 10 × impact 1 × prerequisites 0.09 × threat 0.850.765
- Rounded to one decimal between 0.1 and 100.8
Exploitation and evidence timeline
- 2 Dec 2026 Published
- 2 Dec 2026 Risk 0.8 (cvss fallback)
Weakness
CWE-502