CVE-2026-39386: Github.com/m1k1o/neko/server Neko Has A Self-service Privilege Vulnerability

HIGH
Advisory Identifier: GHSA-2gw9-c2r2-f5qf
Advisory Summary

CVE-2026-39386 is a HIGH (CVSS 8.8) neko has a self-service privilege vulnerability (CWE-284: Improper Access Control) affecting Github.com/m1k1o/neko/server libraries in the Go ecosystem. The issue involves neko has a self-service privilege escalation for authenticated users. Remediation is available by upgrading affected packages to version 3.0.11, 0.0.0-20260406184107-c54bcf1ee211.

CVE-2026-39386 at a Glance

CVE Identifier CVE-2026-39386
GHSA Identifier GHSA-2gw9-c2r2-f5qf
Severity HIGH
CVSS v3.1 Base Score 8.8
CWE Classification CWE-284: Improper Access Control
Affected Product Github.com/m1k1o/neko/server
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.8

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-39386

To remediate this vulnerability, upgrade all affected Github.com/m1k1o/neko/server dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/m1k1o/neko/server fixed: 3.0.11
Upgrade github.com/m1k1o/neko/server to 3.0.11
github.com/m1k1o/neko/server fixed: 0.0.0-20260406184107-c54bcf1ee211
Upgrade github.com/m1k1o/neko/server to 0.0.0-20260406184107-c54bcf1ee211
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for github.com/m1k1o/neko/server

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-39386, inspect your project dependencies for Github.com/m1k1o/neko/server:

inspect dependencies for github.com/m1k1o/neko/server

Analyze the terminal output to locate any version of Github.com/m1k1o/neko/server in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.11), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-284: Improper Access Control, where the product does not restrict or incorrectly restricts access to a resource from an unauthorized actor. In Github.com/m1k1o/neko/server, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact Any authenticated user can immediately obtain full administrative control of the entire Neko instance (member management, room settings, broadcast control, session termination, etc.). This results in a complete compromise of the instance. ### Patches The vulnerability has been patched in the following releases: - [v3.0.11](https://github.com/m1k1o/neko/releases/tag/v3.0.11) (backport release) - [v3.1.2](https://github.com/m1k1o/neko/releases/tag/v3.1.2) (latest stable release) Users should upgrade to [v3.0.11](https://github.com/m1k1o/neko/releases/tag/v3.0.11) or later (for the 3.0 branch) or [v3.1.2](https://github.com/m1k1o/neko/releases/tag/v3.1.2) or later. ### Workarounds If upgrading is not immediately possible, the following mitigations can reduce risk: - Restrict access to trusted users only (avoid granting accounts to untrusted parties) - Run the instance only when needed; avoid leaving it continuously exposed - Disable or restrict access to the `/api/profile` endpoint if feasible - Monitor for suspicious privilege changes or unexpected administrative actions Note: These are temporary mitigations and do not fully eliminate the vulnerability. Upgrading is strongly recommended. ### Credits Neko thanks @blitzkrieg-patch for responsibly disclosing this vulnerability and reaching out directly. This contribution helped strengthen the project, and the whole community benefits from it.

CVE-2026-39386 Affected Github.com/m1k1o/neko/server Versions

2 component(s)
Fixed Versions:
3.0.110.0.0-20260406184107-c54bcf1ee211
Product / Package Ecosystem Affected Versions Fixed Version
github.com/m1k1o/neko/server
Go
≥ 3.0.0
< 3.0.11
3.0.11
github.com/m1k1o/neko/server
Go
≥ 0.0.0-20250322225643-212bf8a60756
< 0.0.0-20260406184107-c54bcf1ee211
0.0.0-20260406184107-c54bcf1ee211

References

Frequently Asked Questions

What is CVE-2026-39386?
CVE-2026-39386 is a security vulnerability in Github.com/m1k1o/neko/server involving Neko has a Self-service Privilege Escalation for Authenticated Users under CWE-284: Improper Access Control.
Which Github.com/m1k1o/neko/server versions are affected?
Affected versions include releases prior to 3.0.11, 0.0.0-20260406184107-c54bcf1ee211 across affected packages: github.com/m1k1o/neko/server.
What version fixes CVE-2026-39386?
Upgrading to 3.0.11, 0.0.0-20260406184107-c54bcf1ee211 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/m1k1o/neko/server affected?
Yes, github.com/m1k1o/neko/server is affected in releases prior to 3.0.11, 0.0.0-20260406184107-c54bcf1ee211. Upgrade your dependency to 3.0.11, 0.0.0-20260406184107-c54bcf1ee211 or later.
What is the CVSS score of CVE-2026-39386?
CVE-2026-39386 has a CVSS v3.1 base score of 8.8 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2026-39386?
CVE-2026-39386 is classified under CWE-284: Improper Access Control (The product does not restrict or incorrectly restricts access to a resource from an unauthorized actor.).
How can I check Go dependencies for CVE-2026-39386?
Run the dependency tree command: 'inspect dependencies for github.com/m1k1o/neko/server'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2gw9-c2r2-f5qf",
  "modified" : "2026-06-09T10:52:18Z",
  "published" : "2026-04-21T17:24:42Z",
  "aliases" : [ "CVE-2026-39386" ],
  "summary" : "Neko has a Self-service Privilege Escalation for Authenticated Users",
  "details" : "### Impact\n\nAny authenticated user can immediately obtain full administrative control of the entire Neko instance (member management, room settings, broadcast control, session termination, etc.). This results in a complete compromise of the instance.\n\n### Patches\n\nThe vulnerability has been patched in the following releases:\n\n- [v3.0.11](https://github.com/m1k1o/neko/releases/tag/v3.0.11) (backport release)\n- [v3.1.2](https://github.com/m1k1o/neko/releases/tag/v3.1.2) (latest stable release)\n\nUsers should upgrade to [v3.0.11](https://github.com/m1k1o/neko/releases/tag/v3.0.11) or later (for the 3.0 branch) or [v3.1.2](https://github.com/m1k1o/neko/releases/tag/v3.1.2) or later.\n\n### Workarounds\n\nIf upgrading is not immediately possible, the following mitigations can reduce risk:\n\n- Restrict access to trusted users only (avoid granting accounts to untrusted parties)\n- Run the instance only when needed; avoid leaving it continuously exposed\n- Disable or restrict access to the `/api/profile` endpoint if feasible\n- Monitor for suspicious privilege changes or unexpected administrative actions\n\nNote: These are temporary mitigations and do not fully eliminate the vulnerability. Upgrading is strongly recommended.\n\n### Credits\nNeko thanks @blitzkrieg-patch for responsibly disclosing this vulnerability and reaching out directly. This contribution helped strengthen the project, and the whole community benefits from it.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/m1k1o/neko/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "3.0.0"
      }, {
        "fixed" : "3.0.11"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/m1k1o/neko/server"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.0.0-20250322225643-212bf8a60756"
      }, {
        "fixed" : "0.0.0-20260406184107-c54bcf1ee211"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/m1k1o/neko/security/advisories/GHSA-2gw9-c2r2-f5qf"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-39386"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/m1k1o/neko/commit/6b561feb9016badea99ae7305091c0ff55e1d114"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/m1k1o/neko/commit/c54bcf1ee211e28104a2bb6db59583a39c4a4d6e"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/m1k1o/neko"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/m1k1o/neko/releases/tag/v3.0.11"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/m1k1o/neko/releases/tag/v3.1.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-269", "CWE-284", "CWE-639", "CWE-862" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-21T17:24:42Z",
    "nvd_published_at" : "2026-04-21T01:16:06Z"
  }
}