Skip to main content

line-desktop-mcp CVE-2026-49357

| EUVDEUVD-2026-38016 HIGH
Missing Authentication for Critical Function (CWE-306)
2026-06-19 GitHub_M GHSA-4hf8-5mjm-rfgq
8.8
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Scan network for exposed /mcp port
  2. Delivery
    Open MCP session over HTTP without auth
  3. Exploit
    List available LINE tools
  4. Execution
    Invoke read-chat-history tool
  5. Impact
    Exfiltrate conversations and send messages as victim

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication required for critical functions
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires that the victim runs line-desktop-mcp older than 1.1.2 in its non-default --http-mode transport with the listening interface reachable from the attacker (the README explicitly showed --host 0.0.0.0), and that LINE Desktop is installed and already logged in on the host so the MCP tools can drive it. No authentication, user interaction, or special privileges on the target are needed once the port is reachable. Exploitation is limited by: default stdio mode being unaffected, deployments that kept the bind address on 127.0.0.1 or behind a firewall/NAT, and the LINE Desktop client not being logged in (tools would fail to act as a user).

Impact

Signals are consistent and point to a real, high-priority issue rather than score inflation. The CVSS:4.0 vector AV:N/AC:L/AT:N/PR:N/UI:N with VC:H reflects unauthenticated network access to confidential chat history; the secondary capability to send messages as the user adds integrity impact that the published vector arguably understates (VI:L). CWE-306 plus a confirmed code fix that introduces a Bearer-token check independently corroborates the description. EPSS and CISA KEV data were not provided in the input, and no public exploit is identified at time of analysis, but exploitation is trivially automatable: any HTTP client speaking MCP JSON-RPC against a reachable port works, and the fix diff itself signposts the vulnerable surface. Real-world exposure depends on how operators deploy --http-mode; users who followed pre-1.1.2 examples binding 0.0.0.0 on the open internet or a shared LAN are at material risk, while pure stdio or loopback users are not exposed.

Exploit ScenarioDerived

An attacker on the same LAN, VPN, or internet-exposed network scans for the default port 3000 on machines running line-desktop-mcp --http-mode --host 0.0.0.0, opens an MCP session against /mcp without credentials, lists available tools, and then calls them to exfiltrate the victim's LINE chat history and send attacker-controlled messages (e.g. phishing or fraud) from the logged-in account. No public exploit identified at time of analysis, but the JSON-RPC interface is documented and the patch diff makes the attack surface obvious.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 19, 2026

Missing authentication in line-desktop-mcp prior to 1.1.2 lets any network-reachable client invoke MCP tools that read LINE chat history and send messages through the logged-in LINE Desktop application. When started with --http-mode, the server binds 0.0.0.0 and exposes /mcp without an MCP-layer auth check, enabling unauthenticated remote abuse. No public exploit identified at time of analysis, but the fix (1.1.2) and commit are public, making reconstruction trivial.

RemediationAI

Vendor-released patch: upgrade to line-desktop-mcp 1.1.2 or later (e.g. npx line-desktop-mcp@latest) and review the advisory at https://github.com/dtwang/line-desktop-mcp/security/advisories/GHSA-4hf8-5mjm-rfgq. If immediate upgrade is impossible, stop launching the server with --http-mode --host 0.0.0.0 and instead bind to 127.0.0.1 so only local processes can reach /mcp; this preserves localhost integrations such as n8n on the same host but breaks any cross-host MCP clients. Where remote access is required, upgrade and use the new --token Bearer-token option together with --host, and additionally restrict the listening port via host firewall or reverse-proxy ACLs since the token is the only authentication layer; logging out of LINE Desktop or stopping the server eliminates exposure entirely at the cost of disabling automation.

Affected VersionsENISA

line-desktop-mcp < 1.1.2

Affected Packages

npm line-desktop-mcp fix: 1.1.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in npm

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

line-desktop-mcp is a Node.js Model Context Protocol server that automates the LINE Desktop client on Windows and macOS via OS-level UI automation (AppleScript / Windows automation), exposing tools to read chats and send messages. The --http-mode Streamable HTTP transport, intended for MCP clients like n8n, is implemented in src/server.js and historically bound to a port and accepted JSON-RPC requests under /mcp without verifying the caller. The root cause maps to CWE-306 (Missing Authentication for Critical Function): a security-sensitive control surface (acting as the logged-in LINE user) was reachable over the network without any credential check. The patch in commit 680617 adds a configurable --host (default 127.0.0.1) and a --token Bearer-token middleware on /mcp, returning 401 when the header is missing or wrong.

Know when Line Desktop Mcp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 8.8 HIGH
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
vuln.today AI 8.2 HIGH

Network-reachable /mcp with no auth (AV:N/AC:L/PR:N/UI:N); full chat-history disclosure gives C:H, ability to send messages as user gives I:L; no availability impact.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
Low
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Patch available
Jun 19, 2026 - 15:32 EUVD
CVE Published
Jun 19, 2026 - 13:11 cve.org
HIGH 8.8

DescriptionCVE.org

Line Desktop MCP is a project that, while unaffiliated with the official line-bot-mcp-server, allows users to directly operate the LINE Desktop application on Windows or Mac via MCP. line-desktop-mcp supports a --http-mode Streamable HTTP transport for use with clients such as n8n. In this mode the server binds to 0.0.0.0 and exposes the MCP /mcp endpoint without an MCP-layer authentication check. Prior to version 1.1.2, any network client that can reach the port can initialize a session, list tools, and call tools that read LINE Desktop chat history or send LINE messages through the already logged-in desktop application. Version 1.1.2 fixes the issue.

Executive ViewAI

Why It Matters

line-desktop-mcp versions prior to 1.1.2 contain a critical authentication bypass that allows remote attackers to read LINE chat history and send messages impersonating logged-in users when the service binds to 0.0.0.0 in HTTP mode. This vulnerability directly compromises the confidentiality of business communications and enables account takeover for any instance accessible from untrusted networks. Organizations using this tool for business communications face immediate risk of data breach and user impersonation unless upgraded to version 1.1.2.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to version 1.1.2 or later). Until patched: Disable --http-mode; restrict network access to MCP port via firewall; isolate line-desktop-mcp instances to trusted networks only; monitor LINE Desktop access logs for unauthorized session activity.

Threat Intelligence Overview

EPSS Score
0.3%
Top 76% exploitable
Threat Intel
1
1 source
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
High
Technical Impact
Partial

Priority Score

44
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +44
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy