CVE-2026-59405: Spring Integration XMPP Connection Factory Allows STARTTLS Stripping Due to Insecure Default Security Mode

Published Dec 2, 2026
·
Updated

The XmppConnectionFactoryBean in Spring Integration XMPP builds an XMPPTCPConnectionConfiguration without setting a security mode, so Smack's default of SecurityMode.ifpossible applies. TLS is then negotiated only if the server advertises STARTTLS. Because the STARTTLS feature is advertised in the cleartext stream-features stanza, an on-path attacker can remove it, and the client silently continues without encryption. The configured credentials (or the SCRAM exchange) and all later message traffic are then sent in plaintext, which lets the attacker steal credentials and read and inject XMPP messages that the integration flow treats as legitimate.

Applications are affected if they use XmppConnectionFactoryBean to create the XMPP connection, rather than supplying their own XMPPTCPConnectionConfiguration , and an attacker can actively interpose on the network path to the XMPP server.

Affected Software

1 affected component
VMware Spring Integration XMPP

Event History

Dec 2, 2026
CVE Published
via MITRE·07:11 AM
Data Sourced
via MITRE·07:11 AM
DescriptionSeverity

Frequently Asked Questions

1

Which deployments are affected?

Applications are affected when they use XmppConnectionFactoryBean to create the XMPP connection. Applications that supply their own XMPPTCPConnectionConfiguration are not identified as affected by this condition.

2

What must an attacker be able to do to exploit this?

The attacker must actively interpose on the network path between the application and the XMPP server. They can remove the STARTTLS advertisement from the cleartext stream-features stanza, causing the client to continue without encryption.

3

What is exposed if the connection is downgraded to plaintext?

Configured credentials or the SCRAM exchange, along with subsequent XMPP message traffic, can be sent in plaintext. An on-path attacker can steal credentials and read or inject messages that the integration flow accepts as legitimate.

4

How can a deployment avoid the insecure default behavior?

Supply an XMPPTCPConnectionConfiguration rather than relying on XmppConnectionFactoryBean to create the connection. The affected factory bean does not set a security mode and therefore uses Smack's SecurityMode.ifpossible default.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203