Spring Integration JdbcMessageStore Allow-List Bypass Leading to Unsafe Deserialization
- CVE-2026-59383
- GHSA-x769-8cmx-5r9v
- EUVD-2026-140879
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.
Text from the CVE.org record.
Affected
Spring Spring Integration
- from 7.1.0 to before 7.1.2.1
- from 7.0.0 to before 7.0.7.1
- from 6.5.0 to before 6.5.12
- from 6.4.0 to before 6.4.14
- from 7.1.0 to before 7.1.3
- from 7.0.0 to before 7.0.8
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.