CVE-2026-19281
Received Received - Intake

Command Injection in Slidev Builder MCP

Vulnerability report for CVE-2026-19281, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-08-08

Last updated on: 2026-08-08

Assigner: VulDB

Description

A security flaw has been discovered in adolfosalasgomez3011 slidev-builder-mcp 2.1.0. This affects the function generateChart of the file src/tools/generateAssets.ts of the component generateAssets Tool. Performing a manipulation of the argument outputDir results in command injection. The attack is only possible with local access. The project was informed of the problem early through an issue report but has not responded yet.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-08-08
Last Modified
2026-08-08
Generated
2026-08-08
AI Q&A
2026-08-08
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
adolfosalasgomez3011 slidev-builder-mcp 2.1.0

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-77 The product constructs all or part of a command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended command when it is sent to a downstream component.
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability is a command injection flaw in the Slidev Builder MCP v2.1.0 software. It exists in the generateAssets tool where the outputDir parameter is not properly validated. Attackers with local access can manipulate this parameter to inject malicious shell commands through crafted directory names, leading to arbitrary command execution on the host machine running the MCP server.

Detection Guidance
  • Check for the presence of slidev-builder-mcp v2.1.0 by running commands like 'npm list @hatch/slidev-builder-mcp-v2' or inspecting package.json files.
  • Monitor for unexpected command execution patterns in logs, especially involving the generateAssets tool or Python script execution.
  • Use network monitoring tools to detect unusual outbound connections from the MCP server process.
  • Inspect file paths containing shell metacharacters or unusual directory names that could indicate exploitation attempts.
Impact Analysis

An attacker could exploit this to execute arbitrary commands on your system, potentially leading to unauthorized access, data theft, or further compromise of the host machine. Since the attack requires local access, it may be used in scenarios where an attacker already has some level of system access but seeks to escalate privileges or maintain persistence.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating confidentiality and integrity requirements in GDPR and HIPAA. If exploited, it may result in data breaches, unauthorized disclosure of personal or health information, and non-compliance with data protection regulations, potentially leading to legal and financial penalties.

Mitigation Strategies
  • Upgrade to a patched version of slidev-builder-mcp if available, or apply vendor fixes addressing input validation in generateAssets.
  • Restrict local access to the MCP server and limit user permissions to prevent unauthorized command execution.
  • Implement strict input validation for the outputDir parameter, ensuring it only accepts safe, predefined paths.
  • Replace unsafe subprocess methods like execAsync with safer alternatives such as spawn or execFile with explicit argument arrays.
  • Monitor for signs of compromise, including unauthorized modifications to presentation files or unexpected system activity.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-19281. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart