When legacy mode is enabled and session.implicit_hosting is enabled, the legacy WebRTC data channel incorrectly authorizes input events due to a logic error in LegacyIsHost().
As a result, an authenticated room member may be able to send mouse and keyboard input through the legacy WebRTC control channel even when controls are locked or the member would otherwise not be authorized through the modern control API.
The issue affects only the legacy WebRTC input path. The modern HTTP/WebSocket control path correctly enforces authorization checks and is not affected.
To exploit this issue, an attacker must:
No unauthenticated access or privilege escalation outside the application is possible.
The issue has been fixed in v3.1.5 by correcting the authorization logic in the legacy WebRTC handler.
Users should upgrade to v3.1.5 or later. Fix: 395ca1a
Users who cannot immediately upgrade can mitigate the issue by one of the following:
session.implicit_hosting=false).Thanks to @KasperBuilds for responsibly disclosing this vulnerability and reaching out directly. This contribution helped strengthen the project, and the whole community benefits from it.
{
"cwe_ids": [
"CWE-863"
],
"github_reviewed": true,
"github_reviewed_at": "2026-10-27T21:04:57Z",
"nvd_published_at": "2026-10-27T18:17:35Z",
"severity": "MODERATE"
}