Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain local low-privilege access
-
DeliveryIdentify running spec-workflow-mcp instance
-
ExploitInvoke createApproval with traversal categoryName
-
ExecutionWrite file to attacker-chosen path
-
ImpactChain 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
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
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.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-54886
GHSA-xgwr-j735-3wg4
NVD
CVE.org
EPSS
VulDB
Exploit-DB