**Description**
Prosody checked whether server-to-server communication was enabled only for the host named in the stream header. After a remote server authenticated to a permitted host, it could deliver stanzas to another local virtual host on the same stream even when that second host had mod_s2s disabled with modules_disabled = {"s2s"}.
**Affected configurations**
Multi-host deployments that disable s2s for only some virtual hosts or components are affected. A single-host deployment that disables s2s everywhere is not affected by the cross-host delivery issue.
**Mitigation**
Operators who cannot upgrade immediately should avoid relying on per-host mod_s2s disablement for security boundaries. If a host must not accept server-to-server traffic, isolate it on a separate Prosody instance or use a module such as mod_firewall to reject traffic.
**Fixes**
Stanzas and dialback results addressed to a host without mod_s2s now close the stream with policy-violation. Commits: 33d9a7d2cbc4 (mod_dialback), ff9472b07769 (stanza_router).
**Attribution**
The issue was identified in an external security review.
**Description** Prosody checked whether server-to-server communication was enabled only for the host named in the stream header. After a remote server authenticated to a permitted host, it could deliver stanzas to another local virtual host on the same stream even when that second host had mod_s2s disabled with modules_disabled = {"s2s"}. **Affected configurations** Multi-host deployments that disable s2s for only some virtual hosts or components are affected. A single-host deployment that disables s2s everywhere is not affected by the cross-host delivery issue. **Mitigation** Operators who cannot upgrade immediately should avoid relying on per-host mod_s2s disablement for security boundaries. If a host must not accept server-to-server traffic, isolate it on a separate Prosody instance or use a module such as mod_firewall to reject traffic. **Fixes** Stanzas and dialback results addressed to a host without mod_s2s now close the stream with policy-violation. Commits: 33d9a7d2cbc4 (mod_dialback), ff9472b07769 (stanza_router). **Attribution** The issue was identified in an external security review.
Hidden