Skip to content

Spring Integration

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?

ProductAffected 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.87.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

FactorValueEvidence×
ImpactFull compromiseCode execution or full control of the system or applicationFrom the CVSS vector1.00
Attacker positionInternetAnyone on the Internet can reach a typical deploymentFrom the CVSS vector1.00
Privileges neededHighAdmin or equivalentFrom the CVSS vector0.20
Victim interactionNoneNothingFrom the CVSS vector1.00
ConfigurationDefaultOut-of-the-box installs are vulnerableFrom the CVSS vector1.00
ReliabilityHardNarrow race, needs an extra info leak, needs a man-in-the-middle position, or must be chained with another bugFrom the CVSS vector0.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
  1. Prerequisites multiplied together0.090
  2. Threat T1: Nothing known0.850
  3. 10 × impact 1 × prerequisites 0.09 × threat 0.850.765
  4. Rounded to one decimal between 0.1 and 100.8

How the score works

Exploitation and evidence timeline

  1. 2 Dec 2026 Published
  2. 2 Dec 2026 Risk 0.8 (cvss fallback)

Weakness

CWE-502

References

Get alerts for Spring Integration

Free email or text alerts when a vulnerability in Spring Integration reaches risk 8 or higher. Nothing else.