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

- Priority: **Routine**
- Reason: Not severe (CVSS 2.2, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-02
- Record: https://cvemate.com/vulnerability/CVE-2026-59405 · JSON: https://cvemate.com/vulnerability/CVE-2026-59405/json

## Description

```text
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.
```

## Signals

- CVSS: 2.2 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N
- EPSS: 0.305%, percentile 25.041%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- spring spring integration: ≥ 7.1.0, \< 7.1.2.1 \| ≥ 7.0.0, \< 7.0.7.1 \| ≥ 6.5.0, \< 6.5.12 \| ≥ 6.4.0, \< 6.4.14 \| \< 5.5.23 \| ≥ 7.1.0, \< 7.1.3 \| ≥ 7.0.0, \< 7.0.8

## References

- <https://spring.io/security/cve-2026-59405>
- <https://nvd.nist.gov/vuln-metrics/cvss/v3-calculator?vector=AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:N/A:N&version=3.1>

---

Data as of 2026-12-05T03:48:26.497Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
