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
Published: 2026-08-27
Score: 8 High
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

References
History

Fri, 28 Aug 2026 07:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-502
CWE-613

Fri, 28 Aug 2026 06:45:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Integration
Vendors & Products Spring
Spring spring Integration

Thu, 27 Aug 2026 18:00:00 +0000

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'}


Subscriptions

Spring Spring Integration
cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-08-27T17:58:02.683Z

Reserved: 2026-07-04T18:13:46.709Z

Link: CVE-2026-59307

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-27T20:17:57.103

Modified: 2026-08-27T20:17:57.103

Link: CVE-2026-59307

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-28T07:00:12Z

Weaknesses
  • CWE-502

    Deserialization of Untrusted Data

  • CWE-613

    Insufficient Session Expiration