What’s Vulnerable › Vulnerabilities

CVE-2026-59322: EmbeddedHeadersJsonMessageMapper default gives wire peer full control of MessageHeaders

Description

The EmbeddedHeadersJsonMessageMapper defaults to an overly permissive header parsing posture in its constructor. When decodeNativeFormat processes raw byte payloads, it deserializes embedded JSON headers into a plain Map and constructs a GenericMessage with MutableMessageHeaders without sanitizing or filtering untrusted header names by default. 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 Spring Integration 5.5.21 and earlier

Affected products

How to fix

Upgrade to a fixed version: Spring Integration 5.5.22, 6.4.13, 6.5.11, 7.0.5.1. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-59322 or the next vulnerability affects your stack