CVE-2026-49357
Streamable HTTP mode exposes LINE Desktop read/send tools without MCP authentication
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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- Low
- Availability
- None
Exploit likelihood
What each source reports
CVE List Score used
8.8
Streamable HTTP mode exposes LINE Desktop read/send tools without MCP authentication
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.
- Record
CVE-2026-49357- CVSS 4.0
- 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 - Weakness
- CWE-306, CWE-862
- Updated
- 2026-11-02
EUVDEUVD-2026-38016
8.8
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.
- Record
EUVD-2026-38016- CVSS 4.0
- 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 - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-4hf8-5mjm-rfgq
8.8
Streamable HTTP mode exposes LINE Desktop read/send tools without MCP authentication
Streamable HTTP mode exposes LINE Desktop read/send tools without MCP authentication
Summary
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. 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.
This is High for deployments where the HTTP port is reachable beyond the local host, because the server acts with the user authority of the logged-in LINE Desktop session. It is lower if the listener is strictly firewalled to trusted local clients.
Affected version
Repository: dtwang/line-desktop-mcp
Current source checked: fbed0d2d3048e63f48a356a1267ed8ec5e78f3ae on main, committed 2026-05-14.
Published npm package checked: [email protected].
Source evidence
README.md documents Streamable HTTP mode:
npx line-desktop-mcp@latest --http-mode --port 3000
The same README documents MCP endpoints at /mcp and explains that this mode is intended for clients such as n8n.
src/server.js registers LINE Desktop tools including:
get_line_chatroom_history_defaultget_line_chatroom_history_longget_line_chatroom_history_shortsend_message_manualsend_message_auto
Those tool handlers call into the desktop automation layer: getChatHistory(...) and sendChatMessage(...).
In HTTP mode, src/server.js creates an Express app and Streamable HTTP transport, accepts POSTs to /mcp, creates sessions, connects the transport to the MCP server, and calls transport.handleRequest(...). I did not find an authentication or bearer-token check before session creation or tool invocation.
The listener is explicitly network-bound:
app.listen(port, 0.0.0.0, () => {
console.error(`LINE Desktop MCP Server running on Streamable HTTP mode`);
console.error(` Local: http://127.0.0.1:${port}${endpoint}`);
console.error(` Network: http://0.0.0.0:${port}${endpoint}`);
});
Vulnerability chain
- A user starts the server with
--http-mode --port 3000. - The server binds on
0.0.0.0:3000, not only loopback. - A network client reaches
/mcpand sends the normal MCP initialize request. - The server creates a Streamable HTTP session without authenticating the caller.
- The caller can list and invoke LINE Desktop tools.
- Tool calls execute through the logged-in LINE Desktop application on the user workstation.
Impact
An unauthenticated network client can read LINE chat history through the MCP history tools and can send LINE messages through the send-message tools, including send_message_auto when the tool call requests immediate sending. The attacker does not need LINE credentials or a LINE API token; they only need network reachability to the MCP HTTP port.
The practical impact is disclosure of private LINE conversations and unauthorized messages sent as the logged-in desktop user.
Suggested fix
Require authentication before accepting Streamable HTTP MCP sessions or tool calls. For example:
- require a bearer token or local secret when
--http-modeis used; - bind HTTP mode to
127.0.0.1by default unless the operator explicitly opts into network exposure; - refuse to start
0.0.0.0HTTP mode without authentication; - document that
host.docker.internal/ n8n setups must still authenticate to the MCP server.
A defense-in-depth improvement would also keep send_message_auto disabled unless explicitly enabled by a server-side flag, because it converts MCP tool access into immediate message sending as the desktop user.
- Record
GHSA-4hf8-5mjm-rfgq- CVSS 4.0
- 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 - Weakness
- CWE-306, CWE-862
- Updated
- 2026-11-02
NVD
8.8
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.
- Record
CVE-2026-49357- CVSS 4.0
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - Weakness
- CWE-306, CWE-862
- Updated
- 2026-11-02
OSV
8.8
Streamable HTTP mode exposes LINE Desktop read/send tools without MCP authentication
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.
- Record
CVE-2026-49357- CVSS 4.0
- 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 - Weakness
- CWE-306, CWE-862
- Updated
- 2026-11-02
OSVGHSA-4hf8-5mjm-rfgq
8.8
Streamable HTTP mode exposes LINE Desktop read/send tools without MCP authentication
Streamable HTTP mode exposes LINE Desktop read/send tools without MCP authentication
Summary
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. 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.
This is High for deployments where the HTTP port is reachable beyond the local host, because the server acts with the user authority of the logged-in LINE Desktop session. It is lower if the listener is strictly firewalled to trusted local clients.
Affected version
Repository: dtwang/line-desktop-mcp
Current source checked: fbed0d2d3048e63f48a356a1267ed8ec5e78f3ae on main, committed 2026-05-14.
Published npm package checked: [email protected].
Source evidence
README.md documents Streamable HTTP mode:
npx line-desktop-mcp@latest --http-mode --port 3000
The same README documents MCP endpoints at /mcp and explains that this mode is intended for clients such as n8n.
src/server.js registers LINE Desktop tools including:
get_line_chatroom_history_defaultget_line_chatroom_history_longget_line_chatroom_history_shortsend_message_manualsend_message_auto
Those tool handlers call into the desktop automation layer: getChatHistory(...) and sendChatMessage(...).
In HTTP mode, src/server.js creates an Express app and Streamable HTTP transport, accepts POSTs to /mcp, creates sessions, connects the transport to the MCP server, and calls transport.handleRequest(...). I did not find an authentication or bearer-token check before session creation or tool invocation.
The listener is explicitly network-bound:
app.listen(port, 0.0.0.0, () => {
console.error(`LINE Desktop MCP Server running on Streamable HTTP mode`);
console.error(` Local: http://127.0.0.1:${port}${endpoint}`);
console.error(` Network: http://0.0.0.0:${port}${endpoint}`);
});
Vulnerability chain
- A user starts the server with
--http-mode --port 3000. - The server binds on
0.0.0.0:3000, not only loopback. - A network client reaches
/mcpand sends the normal MCP initialize request. - The server creates a Streamable HTTP session without authenticating the caller.
- The caller can list and invoke LINE Desktop tools.
- Tool calls execute through the logged-in LINE Desktop application on the user workstation.
Impact
An unauthenticated network client can read LINE chat history through the MCP history tools and can send LINE messages through the send-message tools, including send_message_auto when the tool call requests immediate sending. The attacker does not need LINE credentials or a LINE API token; they only need network reachability to the MCP HTTP port.
The practical impact is disclosure of private LINE conversations and unauthorized messages sent as the logged-in desktop user.
Suggested fix
Require authentication before accepting Streamable HTTP MCP sessions or tool calls. For example:
- require a bearer token or local secret when
--http-modeis used; - bind HTTP mode to
127.0.0.1by default unless the operator explicitly opts into network exposure; - refuse to start
0.0.0.0HTTP mode without authentication; - document that
host.docker.internal/ n8n setups must still authenticate to the MCP server.
A defense-in-depth improvement would also keep send_message_auto disabled unless explicitly enabled by a server-side flag, because it converts MCP tool access into immediate message sending as the desktop user.
- Record
GHSA-4hf8-5mjm-rfgq- CVSS 4.0
- 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 - Weakness
- CWE-306, CWE-862
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
line-desktop-mcpnpm |
through 1.1.1 | 1.1.2 |
line-desktop-mcpnpm |
before 1.1.2 | 1.1.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2026-49357 is a high vulnerability (CVSS 8.8) in Dtwang Line-desktop-mcp, published June 19, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.56%, the 47th percentile. Fixed in line-desktop-mcp 1.1.2.
References
github.com/dtwang/line-desktop-mcp/security/advisories/GHSA-4hf8-5mjm-rfgq
github.com/dtwang/line-desktop-mcp/commit/680617894981ea93f8f6ceb51ecde7519754d501
nvd.nist.gov/vuln/detail/CVE-2026-49357
github.com/advisories/GHSA-4hf8-5mjm-rfgq
github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49357.json
github.com/dtwang/line-desktop-mcp