Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain ability to invoke MCP tool
-
DeliverySupply crafted url with shell metacharacters
-
ExploitBreak out of quoted markitdown sh -c string
-
ExecutionExecute arbitrary OS commands on host
-
ImpactCompromise host running MCP server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires the ability to invoke the wiki_capture_source MCP tool (defined in mcp/index.ts) and control its url argument, which flows into the markitdown source path. Exploitation depends on the vulnerable code path in extractWithMarkItDown being reached - i.e., the markitdown/uvx extraction branch being triggered for the supplied source - on a server running pi-llm-wiki at or below 0.11.7. The CVSS vector (PR:L) indicates some privilege/authorized tool-invocation access is needed rather than fully anonymous access; no user interaction is required (UI:N). Realistic risk is bounded chiefly by the product's very small deployment base and by whether the MCP tool endpoint is remotely reachable in a given deployment rather than local-only. |
| Impact | This is a genuine OS command injection (CWE-78) with real substance behind the high score, but the deployment footprint sharply limits real-world impact. The source diff confirms the root cause: extractWithMarkItDown() interpolated the attacker-controlled source (derived from the url argument) directly into a shell string ('sh', ['-c', |
| Exploit ScenarioDerived | An actor able to invoke the wiki_capture_source MCP tool supplies a url argument containing shell metacharacters (e.g. a value that breaks out of the quoted markitdown command); when the server extracts the source via 'sh -c', the injected commands run on the host with the MCP server's privileges. A public exploit has been published (project issue #185), lowering the effort to reproduce. Because MCP tools are frequently driven by LLM agents on behalf of external content or users, the malicious url can be delivered indirectly through crafted input to the agent. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 30, 2026
OS command injection in zosmaai's pi-llm-wiki through 0.11.7 lets an attacker who can invoke the wiki_capture_source MCP tool run arbitrary operating-system commands on the host by manipulating the tool's url argument, which is passed unsanitized into a shell command used for source extraction. Publicly available exploit code exists (referenced in the project's issue tracker), and the flaw is fixed in version 0.11.8; there is no indication of confirmed active exploitation in CISA KEV. The CVSS v4.0 score is 8.6 (with an assessed CVSS v3.1 equivalent of 8.8), reflecting high confidentiality, integrity, and availability impact, though the vector requires authorized tool access (PR:L) and real-world risk is bounded by the project's very small deployment footprint and whether the MCP tool endpoint is remotely reachable.
Earlier versions of this analysis (1)
OS command injection in the zosmaai pi-llm-wiki MCP server, affecting all versions up to and including 0.11.7, lets an attacker who can reach the wiki_capture_source MCP tool run arbitrary operating-system commands on the host by supplying a crafted 'url' argument. The vulnerability is remote-triggerable and, per the vendor's CVSS 4.0 vector (PR:L), requires low-level privileges to invoke the tool; the upstream assessment concurs that no non-default configuration is needed once the MCP interface is reachable, and only the MarkItDown extraction path needs to be exercised. Publicly available exploit code exists, and the vendor has shipped a fix in version 0.11.8 (commit 360867034e79175b45c8e04a98e4ca712bbaca35), so the practical risk is concentrated in exposed, unpatched MCP deployments.
RemediationAI
Upgrade to pi-llm-wiki 0.11.8, which is the vendor-released patch for this issue (release tag v0.11.8, PR #186, commit 360867034e79175b45c8e04a98e4ca712bbaca35); the fix removes the sh -c invocation in extractWithMarkItDown and in the uvx capability probe, so shell metacharacters in the url argument are no longer interpreted. If immediate upgrade is not possible, apply specific compensating controls with their trade-offs: restrict who and what can invoke the wiki_capture_source MCP tool so the url argument is only supplied by trusted callers (this reduces exposure but does not eliminate risk from any authorized caller, since the assessed vector is PR:L rather than anonymous); do not expose the MCP server endpoint beyond localhost or a trusted network segment (this may break legitimate remote/agent integrations); and, where the markitdown/uvx extraction branch is not required, remove uvx/markitdown from the host or otherwise prevent that branch from being reached so attacker input never flows into the shell command (this disables document/source extraction functionality for affected formats). Run the service under a least-privilege, containerized account so a successful injection cannot escalate beyond the tool's own privileges. Track the upstream issue https://github.com/zosmaai/pi-llm-wiki/issues/185 and the fix PR https://github.com/zosmaai/pi-llm-wiki/pull/186 for any follow-up guidance; reference https://vuldb.com/vuln/411587 for advisory details.
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
The affected component is an MCP (Model Context Protocol) tool named wiki_capture_source, implemented in TypeScript in mcp/index.ts, which feeds source URLs into the source-extraction logic in extensions/llm-wiki/lib/source-extractors.ts. In the vulnerable code path, extractWithMarkItDown built a shell string with template-literal interpolation of the user-supplied source/url and executed it via sh -c "uvx --from 'markitdown[docx,pdf]' markitdown \"${source}\" 2>/dev/null || echo \"\"", so any shell metacharacters in the url argument are interpreted by /bin/sh rather than treated as data. The same pattern appeared in the capability probe (sh -c "which uvx >/dev/null 2>&1 && echo yes || echo no"). This is a classic CWE-78 OS command injection: the root cause is construction of a command string from untrusted input and invocation through a shell instead of using an argument-vector exec API. The upstream fix (PR #186, commit 360867034e79175b45c8e04a98e4ca712bbaca35) switches to direct, shell-free exec calls (uvx --from markitdown[docx,pdf] markitdown <source>) and rewrites the probe to try which uvx, then where uvx, then uvx --version without a shell; the same PR also adds dependency-review, pnpm audit, and Trivy scanning to CI, indicating a broader hardening effort. The CPE entry cpe:2.3:a:zosmaai:pi-llm-wiki:*:*:*:*:*:*:*:* uses a wildcard version component, consistent with all releases up to and including 0.11.7 being affected.
Know when Pi Llm Wiki 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:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:P
Tool-invocation access gives PR:L, low-complexity metacharacter injection gives AC:L, and shell RCE on the host yields C/I/A:H with scope unchanged (S:U); AV:N assumes a network-reachable MCP endpoint.
Primary rating from Vendor (VulDB).
CVSS VectorVendor: VulDB
Lifecycle Timeline
4DescriptionCVE.org
A flaw has been found in zosmaai pi-llm-wiki up to 0.11.7. Affected is an unknown function of the file mcp/index.ts of the component wiki_capture_source MCP tool. Executing a manipulation of the argument url can lead to os command injection. The attack can be executed remotely. The exploit has been published and may be used. Upgrading to version 0.11.8 is able to address this issue. This patch is called 360867034e79175b45c8e04a98e4ca712bbaca35. Upgrading the affected component is advised.
Technical POC Analysis
CWE-78.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Latest POC
1 PoC candidate from github (unverified)
Sign in to open the public PoC links collected for this CVE.
Executive ViewAI
The zosmaai pi-llm-wiki tool, versions through 0.11.7, contains a high-severity command injection flaw that allows an authenticated attacker to execute operating system commands on the host. Publicly available exploit code exists, but no confirmed active exploitation (CISA KEV) has been reported, and the tool's small deployment footprint limits organizational exposure. However, unpatched instances could lead to data compromise, service disruption, or lateral movement, making prompt remediation critical.
Apply vendor patch.
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
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
EUVD-2026-89606
GHSA-jcgm-7m3g-h3cx
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB