Mender Blog

Security vulnerability: Tenant isolation failure in deviceconnect / Mender Remote Terminal

Written by Ole Herman S. Elgesem | Nov 27, 2026, 1:15:32 PM

This vulnerability announcement has not been assigned a CVE since it was never in a released version of Mender. It only existed on hosted Mender, our SaaS instance of Mender, for 29 days, from May 27th 2026 until June 25th 2026. We have analyzed the logs for that time period and concluded the vulnerability was not exploited, no users were affected. There are no steps necessary for users to perform, no mitigation to perform or software to upgrade. After discussing it internally, we decided to publish this on our blog for transparency's sake, in the same place we publish CVEs, without a CVE ID.

Thank you to the security researcher Enes Dal for discovering and responsibly disclosing the issue. For more information about responsible disclosure, see our security.txt page.

Impact

In the time period mentioned above, the backend code used for the Mender Remote Terminal failed to verify that the target device was a part of your tenant during a key part of the protocol. This could allow an attacker to connect to arbitrary devices from other customer's tenants, as long as they knew the device IDs, and run commands on those devices with the Remote Terminal feature.

Background

This flaw was introduced as part of work on refactoring and optimizing the deviceconnect code for improved performance. Unfortunately, the changes failed to retain the correct tenant check and this was not caught during human code review. The issue seems to have been detected by feeding the latest commits to the open source mender-server repository into an LLM and asking it to look for security issue. After receiveing the report, we did this ourselves and confirmed the value and effectiveness of this approach - we are now doing this at regular intervals internally.