Skip to main content

spec-workflow-mcp CVE-2026-19336

| EUVDEUVD-2026-54886 MEDIUM
Path Traversal (CWE-22)
2026-08-09 VulDB GHSA-xgwr-j735-3wg4
4.8
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

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

  1. Access
    Gain local low-privilege access
  2. Delivery
    Identify running spec-workflow-mcp instance
  3. Exploit
    Invoke createApproval with traversal categoryName
  4. Execution
    Write file to attacker-chosen path
  5. Impact
    Chain file-write to escalate privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK

2 techniques across 2 tactics: Discovery, Collection

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

Exploitation Conditions

Exploitation requires local system access to the host running spec-workflow-mcp - remote exploitation is not possible. The attacker must hold at least low-level privileges on that system (PR:L in CVSS terms), sufficient to invoke MCP tool calls. The vulnerability is triggered specifically by the categoryName argument to the createApproval MCP tool; no special configuration or feature flag is required beyond having the tool deployed and accessible. Limiting factors: (1) local access is mandatory - internet-exposed or purely remote deployments are not directly vulnerable via this path; (2) the impact of the file write depends on the filesystem permissions of the process running spec-workflow-mcp - if it runs as an unprivileged user, the write primitive is constrained to that user's writable paths; (3) no authentication bypass or remote vector has been identified.

Impact

The CVSS 4.0 vector (AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L) accurately constrains the risk: exploitation requires local system access with at least low-level privileges, and the impact across all three CIA pillars is rated Low. No EPSS score was provided in the intelligence data, which is a gap - exploitation probability cannot be quantified. There is no CISA KEV listing and no public exploit or POC identified, meaning all exploitation signals are absent. The realistic threat scenario is a shared development workstation or multi-user CI/CD pipeline where untrusted local accounts can invoke the MCP tool; in single-user or properly isolated environments the vulnerability is effectively unexploitable. The low CVSS score and local-only vector are consistent and not in conflict - this is a low-priority, non-urgent finding for most deployments, warranting a routine patch cycle rather than emergency response. SSVC assessment: exploitation status is 'none', technical impact is 'partial', automatable is 'no' - this falls into a 'schedule' or 'defer' decision for most operators.

Exploit ScenarioDerived

A local user with low-level system privileges invokes the spec-workflow-mcp createApproval tool with a categoryName value of '../../../etc/cron.d/backdoor', causing the tool to write a crafted JSON file outside the .spec-workflow/approvals directory to an attacker-controlled filesystem path. Depending on what the target path is and what permissions the MCP server process runs under, this file-write primitive could be chained into privilege escalation - for example, writing to a cron directory or an authorized_keys path. No public POC exists; this scenario is inferred from the patch diff which explicitly tests ../../../etc/passwd as a traversal payload.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 09, 2026

Path traversal in Pimzino spec-workflow-mcp versions up to 2.2.6 allows a local low-privileged user to write approval files outside the intended .spec-workflow/approvals directory by supplying crafted values such as '../../../etc/cron.d/evil' as the categoryName argument to ApprovalStorage.createApproval(). The vulnerability is strictly local (AV:L, PR:L) and carries a CVSS 4.0 score of 4.8, indicating limited blast radius. No public exploit code and no CISA KEV listing exist at time of analysis; version 2.2.7, released 2026-05-04, fully remediated the issue.

RemediationAI

Upgrade to spec-workflow-mcp version 2.2.7, released 2026-05-04, which is the vendor-confirmed patched release. The fix is implemented in commit 9c7a7839e690bb4543f0e7481b5740d23808e5fe (https://github.com/Pimzino/spec-workflow-mcp/commit/9c7a7839e690bb4543f0e7481b5740d23808e5fe) and merged via pull request #222 (https://github.com/Pimzino/spec-workflow-mcp/pull/222). If immediate upgrade is not possible, restrict local system access to the MCP server process so that only fully trusted users can invoke MCP tools - this eliminates the threat since exploitation requires local low-privileged access. Alternatively, wrap the MCP tool invocation layer to validate and reject categoryName values containing '..', '/', or '\' as an application-level firewall control, though this duplicates what the 2.2.7 patch already provides. There are no known side effects of upgrading to 2.2.7.

Affected VersionsENISA

spec-workflow-mcp 2.2.0
spec-workflow-mcp 2.2.1
spec-workflow-mcp 2.2.6
spec-workflow-mcp 2.2.5
spec-workflow-mcp 2.2.4
spec-workflow-mcp 2.2.3
spec-workflow-mcp 2.2.2

Affected Packages

euvd spec_workflow_mcp no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

spec-workflow-mcp is a Node.js/TypeScript MCP (Model Context Protocol) tool for spec-driven workflow management, identified by CPE cpe:2.3:a:pimzino:spec-workflow-mcp:*:*:*:*:*:*:*:*. The root cause is CWE-22 (Improper Limitation of a Pathname to a Restricted Directory). In the vulnerable code path, src/dashboard/approval-storage.ts directly concatenated the user-supplied categoryName into a filesystem path using Node.js path.join(this.approvalsDir, categoryName) without any sanitization, allowing sequences like ../../../etc/passwd or null-byte injections to escape the approvals subdirectory. The patch (commit 9c7a7839e690bb4543f0e7481b5740d23808e5fe) introduced a PathUtils.validateSimplePathSegment() function that rejects any categoryName containing '..', '/', '\', or null bytes, and replaced all raw join() calls with a bounds-enforcing PathUtils.safeJoin() utility. Defense-in-depth validation was added at both the MCP tool handler layer (src/tools/approvals.ts) and the storage layer (src/dashboard/approval-storage.ts).

Know when Spec Workflow 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 (VulDB) PRIMARY 4.8 MEDIUM
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N
vuln.today AI 4.4 MEDIUM

Local-only vector and low privileges confirmed by description and patch; no availability impact; confidentiality and integrity both low due to constrained file-write primitive.

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

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

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

DescriptionCVE.org

A vulnerability was found in Pimzino spec-workflow-mcp up to 2.2.6. This issue affects the function ApprovalStorage.createApproval of the file src/tools/approvals.ts. Performing a manipulation of the argument categoryName results in path traversal. The attack is only possible with local access. Upgrading to version 2.2.7 is capable of addressing this issue. The patch is named 9c7a7839e690bb4543f0e7481b5740d23808e5fe. It is advisable to upgrade the affected component.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Rare
obscure niche MCP tool, minimal enterprise deployment footprint
Data Quality
7 sources
Confidence: High

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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· derived
Defer
Exploitation· derived
None
System Exposure· derived
Small
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.

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