Meshtastic is an open source mesh networking solution. In versions from 2.5.0 to before 2.6.11, the flashing procedure of several hardware vendors was resulting in duplicated public/private keys. Additionally, the Meshtastic was failing to properly initialize the internal randomness pool on some platforms, leading to possible low-entropy key generation. When users with an affected key pair sent Direct Messages, those message could be captured and decrypted by an attacker that has compiled the list of compromised keys. This issue has been patched in version 2.6.11 where key generation is delayed til the first time the LoRa region is set, along with warning users when a compromised key is detected. Version 2.6.12 furthers this patch by automatically wiping known compromised keys when found. A workaround to this vulnerability involves users doing a complete device wipe to remove vendor-cloned keys.
The problem results from two related flaws: first, flashing processors used by hardware manufacturers duplicated identical key pairs across multiple devices; second, the firmware software did not properly initialize the internal entropy pool (randomness) on some platforms, leading to the generation of low-entropy keys (CWE-331 — insufficient entropy). An attacker who compiles a list of known compromised keys can intercept encrypted direct messages sent by users possessing vulnerable key pairs and then decrypt them.
An attacker is able to decrypt private direct messages transmitted by devices with vulnerable keys, which means complete compromise of communication confidentiality. In case of key compromise at the system level, limited impact on integrity and availability of dependent systems is also possible.
Update firmware to version 2.6.11, which delays key generation until the first LoRa region setting and warns the user of detected compromised keys. Version 2.6.12 extends the fix by automatically removing known compromised keys upon detection. As a workaround, a complete device wipe is recommended to remove keys cloned by the manufacturer.
Meshtastic Firmware versions from 2.5.0 to before 2.6.11, particularly devices whose keys were generated during the flashing procedure by hardware manufacturers using duplicated keys or platforms with improper randomness pool initialization.
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:L/SC:L/SI:L/SA:H/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:XMeshtastic Firmware
OSMeshtastic2.5.0 – 2.6.11 (excl.)
Related vulnerabilities
Meshtastic Firmware: pominięcie uwierzytelnienia przez podmianę klucza publicznego
RCE przez buffer overflow w obsłudze pakietów protobuf w Meshtastic Firmware
Meshtastic: nieprawidłowe kodowanie nazwy węzła powoduje DoS przez BLE
Meshtastic is an open source mesh networking solution. In the current Meshtastic architecture, a Node is ident...
Meshtastic is an open source, off-grid, decentralized, mesh network. Meshtastic uses MQTT to communicate over ...