EnvMap GitHub

CVE-2026-59438

Spring Integration MongoDbMessageStore allow-list API silently loses effect after startup

EPSS 1.1%Awaiting Analysis

Description

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.

In the words of the organisation that published it (vmware).

Severity

  • 6.6 Medium · CVSS 3.1 from security@vmware.com · CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected

  • Spring Integration: from 7.1.0 before 7.1.2.1; from 7.0.0 before 7.0.7.1; from 6.5.0 before 6.5.12; from 6.4.0 before 6.4.14

as the publisher (vmware) lists them.

Likelihood of exploitation

FIRST's EPSS gives a 1.08% chance of exploitation in the next 30 days, higher than 66% of all CVEs (as of 4 December 2026).

Weakness

CWE-502

References

Record

Published08:17 UTC, 2 December 2026
Last changed05:19 UTC, 3 December 2026
NVD statusAwaiting Analysis
Published byvmware

CVE-2026-59438 on NVD · on CVE.org · Security Briefing

Follow it

Add the feed to a feed reader and new items arrive there as they are published, with no account here and no email.

Add to Feedly Add to Inoreader

Any other reader: paste https://envmap.tech/security/feed.xml

Where this comes from

Nothing here is written by an AI, summarised or rewritten: a headline is its newsroom's own and opens its story. A description is in the words of the organisation that published the CVE; a score says whose it is, NVD's or the publisher's; a CVE nobody has scored yet says so. A CVE that is rejected comes off every list. When a source does not answer, the page keeps the last answer it gave and says since when.

How to read it

EnvMap is a free, open-source DevOps control plane that you run yourself; its Security page brings your scanners' findings into one place. See what it does.