Spring Integration JdbcMessageStore Allow-List Bypass Leading to Unsafe Deserialization

HIGH | NOVEMBER 19, 2026 | CVE-2026-59383

Description

The fix for CVE-2026-59307 introduced a regression in JdbcMessageStore. When the store is configured as a <bean> or via @Bean, the Spring container populates properties (including addAllowedPatterns()) before invoking the BeanClassLoaderAware callback. setBeanClassLoader() then replaces the deserializer with a new, empty AllowListDeserializingConverter and rebinds the message row mapper to it, discarding the previously registered allowed patterns. Since an empty allow-list permits all types, the store deserializes any class present on the classpath from the INT_MESSAGE.MESSAGE_CONTENT column, silently defeating the allow-list the operator configured.

Applications are affected if they use JdbcMessageStore with an allow-list of deserializable types configured through addAllowedPatterns() on a Spring-managed bean, and an attacker is able to write to the message store table.

Affected Spring Products and Versions

Spring Integration:

  • 7.1.0 - 7.1.2
  • 7.0.0 - 7.0.7
  • 6.5.0 - 6.5.11
  • 6.4.0 - 6.4.13

Mitigation

Users of affected versions should upgrade to the corresponding fixed version.
Fix versionAvailability
7.1.3OSS
7.1.2.1Enterprise Support Only
7.0.8OSS
7.0.7.1Enterprise Support Only
6.5.12Enterprise Support Only
6.4.14Enterprise Support Only

Users of affected versions who cannot upgrade can configure the JdbcMessageStore with an explicit deserializer via setDeserializer(), providing an AllowListDeserializingConverter with the required allowed patterns, so that setBeanClassLoader() does not replace it. Restricting write access to the message store tables to the application only further reduces the risk.

Credit

This vulnerability was discovered and responsibly reported by Scott Frederick at HeroDevs.

History

  • 2026-11-19: Initial vulnerability report published.

Get ahead

VMware offers training and certification to turbo-charge your progress.

Learn more

Get support

TrueSource Spring Enterprise offers support and binaries for OpenJDK™, Spring, and Apache Tomcat® in one simple subscription.

Learn more

Upcoming events

Check out all the upcoming events in the Spring community.

View all