Element Server Suite Community Edition (ESS Community) deploys a Matrix stack using the provided Helm charts and Kubernetes distribution. The ESS Community Helm Chart secrets initialization hook (using matrix-tools container before 0.5.7) is using an insecure Matrix server key generation method, allowing network attackers to potentially recreate the same key pair, allowing them to impersonate the victim server. The secret is generated by the secrets initialization hook, in the ESS Community Helm Chart values, if both initSecrets.enabled is not set to false and synapse.signingKey is not defined. Given a server key in Matrix authenticates both requests originating from and events constructed on a given server, this potentially impacts confidentiality, integrity and availability of rooms which have a vulnerable server present as a member. The confidentiality of past conversations in end-to-end encrypted rooms is not impacted. The key generation issue was fixed in matrix-tools 0.5.7, released as part of ESS Community Helm Chart 25.12.1.
The vulnerability (CWE-336 — use of insufficiently random values) affects the secrets initialization hook in ESS Community Helm Chart, executed by the matrix-tools container in versions before 0.5.7. The applied method for generating the Matrix server key pair is insufficiently secure, allowing a network attacker to potentially reproduce an identical key pair. The issue occurs when the initSecrets.enabled parameter in the Helm Chart configuration is not set to false and synapse.signingKey is not defined — in such a case, the hook automatically generates the key in a vulnerable manner.
An attacker who reproduces the victim's Matrix server key can impersonate that server, authenticating both requests to other servers and events constructed on its behalf — affecting the confidentiality, integrity, and availability of Matrix rooms with the vulnerable server as a member. The confidentiality of previous conversations in end-to-end encrypted rooms is not compromised.
Update the matrix-tools container to version 0.5.7 or later, released as part of ESS Community Helm Chart 25.12.1 (or higher, e.g., 25.12.2). If the server was already deployed with the vulnerable configuration, manual remediation should be performed according to the vendor's instructions available in the references (maintenance.md#fixing-cve-2026-24044). It is also recommended to explicitly define synapse.signingKey or set initSecrets.enabled to false in environments not covered by the update.
Element Server Suite Community Edition (ESS Community) with ESS Community Helm Chart containing matrix-tools in versions before 0.5.7, when the initSecrets.enabled parameter is not set to false and synapse.signingKey is not defined
CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X