CVE-2026-116679
JSON

5.4medium

Neko: Authorization bypass in legacy WebRTC input handling

Severity
5.4medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.33% (higher than 28% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-5cp7-fp4j-wwcvGO-2026-6869

Description

Neko is a a self-hosted virtual browser that runs in Docker and uses WebRTC. From version 3.0.0 until 3.1.5, Neko deployments with legacy mode and session.implicit_hosting enabled incorrectly authorize legacy WebRTC data-channel input because LegacyIsHost() evaluates host status incorrectly. An authenticated room member who establishes a WebRTC connection can send mouse and keyboard events through the legacy control channel while controls are locked or the member is otherwise unauthorized by the modern control API. This issue is fixed in version 3.1.5.

Affected

Product or packageVersionsReported by
m1k1o neko>= 3.0.0, < 3.1.5CVE List
github.com/m1k1o/neko/server (Go)from 0.0.0-20250401220545-fe94c999c6af before 0.0.0-20260805142851-395ca1a6f62bGitHub Advisory Database, Go Vulnerability Database

All scores

GitHub_M5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L
GitHub5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:L

Classification

CWE-863

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

Neko is a a self-hosted virtual browser that runs in Docker and uses WebRTC. From version 3.0.0 until 3.1.5, Neko deployments with legacy mode and session.implicit_hosting enabled incorrectly authorize legacy WebRTC data-channel input because LegacyIsHost() evaluates host status incorrectly. An authenticated room member who establishes a WebRTC connection can send mouse and keyboard events through the legacy control channel while controls are locked or the member is otherwise unauthorized by the modern control API. This issue is fixed in version 3.1.5.

GitHub Advisory Database
Impact

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:

  • Be authenticated as a room member.
  • Successfully establish a WebRTC connection.
  • Access a deployment using the legacy WebRTC input handler.

No unauthenticated access or privilege escalation outside the application is possible.

Patches

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

Workarounds

Users who cannot immediately upgrade can mitigate the issue by one of the following:

  • Disable legacy mode if it is not required.
  • Disable implicit hosting (session.implicit_hosting=false).
  • Restrict access to trusted authenticated users.
Credits

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.

Go Vulnerability Database

Neko: Authorization bypass in legacy WebRTC input handling in github.com/m1k1o/neko/server

References

Sources

SourceRecordLicence
CVE ListCVE-2026-116679 changed 2026-10-28CVE Terms of Use
GitHub Advisory DatabaseGHSA-5cp7-fp4j-wwcv changed 2026-11-05CC-BY-4.0
Go Vulnerability DatabaseGO-2026-6869 changed 2026-11-05CC-BY-4.0
NVDCVE-2026-116679 changed 2026-10-28Public domain