Spring Integration XMPP Connection Factory Allows STARTTLS Stripping Due to Insecure Default Security Mode

Summary

CVECVE-2026-59405
StatePUBLISHED
Assignervmware
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-02 08:17:44 UTC
Updated2026-12-02 19:26:40 UTC
DescriptionThe 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.

Risk And Classification

Primary CVSS: v3.1 2.2 LOW from [email protected]

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary2.2LOWCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
3.1CNACVSS2.2LOWCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Spring Spring Integration affected 7.1.0 7.1.2.1 semver Not specified
CNA Spring Spring Integration affected 7.0.0 7.0.7.1 semver Not specified
CNA Spring Spring Integration affected 6.5.0 6.5.12 semver Not specified
CNA Spring Spring Integration affected 6.4.0 6.4.14 semver Not specified
CNA Spring Spring Integration affected 5.5.23 semver Not specified
CNA Spring Spring Integration affected 7.1.0 7.1.3 OSS Not specified
CNA Spring Spring Integration affected 7.0.0 7.0.8 OSS Not specified

References

ReferenceSourceLinkTags
nvd.nist.gov/vuln-metrics/cvss/v3-calculator [email protected] nvd.nist.gov
spring.io/security/cve-2026-59405 [email protected] spring.io
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report