Element iOS is vulnerable due to missing decoration for events decrypted with untrusted Megolm sessions
Description
Element iOS prior to 1.9.7 fails to decorate events decrypted with untrusted Megolm sessions, allowing a malicious homeserver to inject spoofed messages.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Element iOS prior to 1.9.7 fails to decorate events decrypted with untrusted Megolm sessions, allowing a malicious homeserver to inject spoofed messages.
Vulnerability
Element iOS versions before 1.9.7 contain a vulnerability in how encrypted events are handled. Events encrypted using the Megolm protocol, for which trust could not be established (e.g., because the session key was not verified or came from an unverified device), were not decorated with warning shields in the user interface. This means a malicious homeserver could inject messages into a room without the user being alerted that the messages were not sent by a verified group member, even if the user had previously verified all group members [1], [2].
Exploitation
An attacker controlling a malicious Matrix homeserver can exploit this by injecting encrypted messages into a room using a Megolm session that is not trusted. No user interaction beyond normal use is required; the messages will be rendered without the expected trust indicators, making the user believe the messages originated from a verified group member [2].
Impact
Successful exploitation allows an attacker to impersonate verified group members in encrypted rooms. The primary impact is on message integrity and authenticity, as users may be misled into trusting messages that were not actually sent by the claimed verified user. This could lead to social engineering or other attacks leveraging false trust [2].
Mitigation
The vulnerability has been patched in Element iOS version 1.9.7, released on 2022-11-11 [1]. There are no known workarounds for unpatched versions. Users should update to 1.9.7 or later [2].
AI Insight generated on May 25, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- Range: < 1.9.7
- vector-im/element-iosv5Range: < 1.9.7
Patches
0No patches discovered yet.
Vulnerability mechanics
No source-code context for this CVE — mechanics is only generated when we can read the actual fix diff. Without that, the four sections (root cause, attack vector, affected code, fix) would be speculation rather than analysis.
References
2News mentions
0No linked articles in our index yet.