CVE-2026-59307

Deserialization allow-list silently bypassed: setBeanClassLoader replaces deserializer but mapper keeps stale reference

Published Aug 27, 2026 CVSS 3.1 · 8 High EPSS < 1% KEV · Not listed
Description
An operator who calls JdbcMessageStore.addAllowedPatterns(...) to restrict deserialization receives no protection at all when the store is a Spring-managed bean.
Spring Integration 7.1.0
Spring Integration 7.0.0 - 7.0.5
Spring Integration 6.5.0 - 6.5.10
Spring Integration 6.4.0 - 6.4.12

Analysis

AI-generated

Technical impact

A flaw in Spring Integration allows an operator who calls JdbcMessageStore.addAllowedPatterns(...) to set a deserialization allow‑list to be silently bypassed when the store is managed as a Spring bean. The issue occurs because the setBeanClassLoader operation replaces the deserializer in use, while the underlying Jackson mapper retains a stale reference, leaving the object deserialization unchecked. The result is that an attacker who can control the allowed patterns can supply malicious data that will be deserialized and executed with the application’s privileges.

Affected Systems

Spring Integration versions 7.1.0, 7.0.0 through 7.0.5, 6.5.0 through 6.5.10, and 6.4.0 through 6.4.12 are affected. The vulnerability is present in the JdbcMessageStore component of these releases.

Risk and Exploitability

The vulnerability carries a CVSS 8.0 score and is not listed in the CISA KEV catalog. EPSS data is not available. The likely attack vector requires an authenticated operator who can invoke addAllowedPatterns to manipulate the allow‑list; once a malicious pattern is inserted, the stale deserializer permits arbitrary code execution during deserialization.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to the latest Spring Integration release that is not affected by CVE-2026-59307.
  • If a patch cannot be applied immediately, remove or disable the JdbcMessageStore component or restrict its exposure so that no operator can call addAllowedPatterns.
  • Implement alternative deserialization safeguards, such as switching to a safer deserializer or enforcing stricter type validation, to prevent the exploitation of the stale deserializer vulnerability.

Generated by OpenCVE AI on August 28, 2026 at 06:48 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Integration
CPEs cpe:2.3:a:vmware:spring_integration:*:*:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_integration:7.1.0:-:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_integration:7.1.0:milestone1:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_integration:7.1.0:milestone2:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_integration:7.1.0:milestone3:*:*:*:*:*:*
cpe:2.3:a:vmware:spring_integration:7.1.0:rc1:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Integration
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-502
CWE-613
Type Values Removed Values Added
First Time appeared Spring
Spring spring Integration
Vendors & Products Spring
Spring spring Integration
Type Values Removed Values Added
Description An operator who calls JdbcMessageStore.addAllowedPatterns(...) to restrict deserialization receives no protection at all when the store is a Spring-managed bean. Spring Integration 7.1.0 Spring Integration 7.0.0 - 7.0.5 Spring Integration 6.5.0 - 6.5.10 Spring Integration 6.4.0 - 6.4.12
Title Deserialization allow-list silently bypassed: setBeanClassLoader replaces deserializer but mapper keeps stale reference
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H'}

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

  • CWE-613

    Insufficient Session Expiration

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Aug 29, 2026, 3:55 AM
Reserved
Jul 4, 2026, 6:13 PM
Status
Analyzed
Published
Aug 27, 2026, 8:17 PM
Modified
Aug 31, 2026, 6:09 PM