{"schema":"threatline.record/2","record":{"id":"CVE-2026-116679","aliases":["GHSA-5cp7-fp4j-wwcv"],"summary":"Neko: Authorization bypass in legacy WebRTC input handling","details":"### Impact\n\nWhen 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()`.\n\nAs 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.\n\nThe issue affects only the legacy WebRTC input path. The modern HTTP/WebSocket control path correctly enforces authorization checks and is not affected.\n\nTo exploit this issue, an attacker must:\n\n* Be authenticated as a room member.\n* Successfully establish a WebRTC connection.\n* Access a deployment using the legacy WebRTC input handler.\n\nNo unauthenticated access or privilege escalation outside the application is possible.\n\n### Patches\n\nThe issue has been fixed in **[v3.1.5](https://github.com/m1k1o/neko/releases/tag/v3.1.5)** by correcting the authorization logic in the legacy WebRTC handler.\n\nUsers should upgrade to **[v3.1.5](https://github.com/m1k1o/neko/releases/tag/v3.1.5)** or later. Fix: *[395ca1a](https://github.com/m1k1o/neko/commit/395ca1a6f62b7b0e270e654d366a2d57b8042efd)*\n\n### Workarounds\n\nUsers who cannot immediately upgrade can mitigate the issue by one of the following:\n\n* Disable legacy mode if it is not required.\n* Disable implicit hosting (`session.implicit_hosting=false`).\n* Restrict access to trusted authenticated users.\n\n### Credits\n\nThanks to @KasperBuilds for responsibly disclosing this vulnerability and reaching out directly. This contribution helped strengthen the project, and the whole community benefits from it.","categories":["Libraries & packages"],"product":"github.com/m1k1o/neko/server","vendor":"m1k1o","ecosystem":"go","affected_ranges":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-5cp7-fp4j-wwcv","source_modified_at":"2026-10-27T21:04:58Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"go","name":"github.com/m1k1o/neko/server"},"range":">= 0.0.0-20250401220545-fe94c999c6af, < 0.0.0-20260805142851-395ca1a6f62b"},{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-116679","source_modified_at":"2026-10-27T17:33:35.883Z","fetched_at":"2026-10-27T21:14:11.489891Z","product":"neko","vendor":"m1k1o","versions":[{"version":">= 3.0.0, < 3.1.5","status":"affected"}],"defaultStatus":null},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-5cp7-fp4j-wwcv","source_modified_at":"2026-10-27T21:15:03.789301872Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"github.com/m1k1o/neko/server","ecosystem":"Go","purl":"pkg:golang/github.com/m1k1o/neko/server"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0-20250401220545-fe94c999c6af"},{"fixed":"0.0.0-20260805142851-395ca1a6f62b"}]}],"versions":[]}],"fixed_versions":[{"source":"GitHub Advisory Database","source_url":"https://github.com/advisories/GHSA-5cp7-fp4j-wwcv","source_modified_at":"2026-10-27T21:04:58Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"ecosystem":"go","name":"github.com/m1k1o/neko/server"},"version":"0.0.0-20260805142851-395ca1a6f62b"},{"source":"OSV","source_url":"https://osv.dev/vulnerability/GHSA-5cp7-fp4j-wwcv","source_modified_at":"2026-10-27T21:15:03.789301872Z","fetched_at":"2026-10-27T21:14:11.489891Z","package":{"name":"github.com/m1k1o/neko/server","ecosystem":"Go","purl":"pkg:golang/github.com/m1k1o/neko/server"},"version":"0.0.0-20260805142851-395ca1a6f62b"}],"cvss":5.4,"severity":"Medium","kev":{"listed":false},"epss":{"probability":null,"percentile":null,"score_date":null},"published_at":"2026-10-27T17:33:35.883Z","modified_at":"2026-10-27T21:15:03.789301872Z","provenance":[{"source":"GitHub Advisory Database","url":"https://github.com/advisories/GHSA-5cp7-fp4j-wwcv","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T21:04:58Z"},{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-116679","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T17:33:35.883Z"},{"source":"OSV","url":"https://osv.dev/vulnerability/GHSA-5cp7-fp4j-wwcv","fetched_at":"2026-10-27T21:14:11.489891Z","source_modified_at":"2026-10-27T21:15:03.789301872Z"}],"sources":["GitHub Advisory Database","CVE List","OSV"],"references":[{"source":"CVE List","url":"https://github.com/m1k1o/neko/security/advisories/GHSA-5cp7-fp4j-wwcv","tags":["x_refsource_CONFIRM"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-116679","source":"GitHub Advisory Database"},{"source":"CVE List","url":"https://github.com/m1k1o/neko/pull/675","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/m1k1o/neko/commit/395ca1a6f62b7b0e270e654d366a2d57b8042efd","tags":["x_refsource_MISC"]},{"source":"CVE List","url":"https://github.com/m1k1o/neko/releases/tag/v3.1.5","tags":["x_refsource_MISC"]},{"url":"https://github.com/advisories/GHSA-5cp7-fp4j-wwcv","source":"GitHub Advisory Database"}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":"ecosystem","confidence":"heuristic","reviewed":false},"change_timestamp":"2026-10-27T21:15:03.789301872Z","content_hash":"2df4a33cac94b509a8171f3788c3518045d6e425515d8c66b5fe9fbcb131e7ee"}}
