Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as admin with files_create
-
DeliveryCall AI Core MCP file_upload tool
-
ExploitSupply file:// or php:// source argument
-
Executionfile_get_contents() reads .env
-
PersistContents stored on public media disk
-
ImpactRetrieve APP_KEY and DB credentials
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V5 - File Handling File name/path control
|
| Exploitation Conditions | Exploitation requires an authenticated administrator account that holds the specific files_create permission (PR:H) and access to the AI Core MCP file_upload tool. The concrete trigger is supplying a file:// or php:// stream wrapper as the tool's 'source' argument, which is then passed to file_get_contents() and written to the public media disk. Limiting factors: the attacker must already possess high-privilege admin credentials and the MCP/AI Core functionality must be enabled and reachable; this is not exploitable by unauthenticated or low-privileged users, and the primary realistic threat model is a malicious or compromised admin escalating to theft of application secrets and database credentials. |
| Impact | This is a genuinely moderate, not high, priority. The vendor CVSS 4.0 vector (AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N) scores 5.9 and the signals are internally consistent: network-reachable but gated behind high privileges (PR:H) - an authenticated administrator already holding the files_create permission - with attack requirements present (AT:P) reflecting the need to invoke the AI Core MCP file_upload tool. The impact is confidentiality-only (VC:H, VI:N, VA:N), matching a file-disclosure primitive that reads the .env (APP_KEY, DB credentials) but does not directly modify or deny service. No KEV listing and no explicit POC flag were provided in the input, so exploitation status is 'no public exploit identified at time of analysis'; however, a detailed third-party technical writeup (hackmd) and the exact vulnerable source lines are referenced, which lowers the barrier to weaponization even though that is not the same as active exploitation. EPSS was not supplied - treat exploitation probability as unknown rather than low. The dominant limiting factor is the PR:H prerequisite: the attacker must already be a trusted admin, which reframes this primarily as a privilege-boundary/credential-exposure issue (a malicious or compromised admin account escalating to full DB credential theft) rather than a mass-exploitable remote flaw. |
| Exploit ScenarioDerived | An attacker who controls an administrator account with the files_create permission (or who has phished/compromised such an account) invokes the AI Core MCP file_upload tool and sets its 'source' argument to a file:// or php:// stream wrapper. file_get_contents() then resolves the wrapper and the server writes the retrieved contents - such as the application .env - onto the public media disk, where the attacker fetches APP_KEY and database credentials over HTTP. The vulnerable code paths and a technical writeup are publicly referenced, but no packaged exploit was flagged in the input. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Oct 10, 2026
Authenticated InnoShop 0.9.2 administrators who hold the files_create permission can read arbitrary server files and have their contents written to the publicly served media disk by abusing the AI Core MCP file_upload tool's source argument, exposing the application's .env file with APP_KEY and database credentials. Because exploitation requires a high-privilege admin account plus MCP/AI Core being enabled and reachable (CVSS 4.0 5.9; independently assessed as CVSS 3.1 AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:N/A:N), this is a moderate - not high - priority issue whose realistic threat model is a malicious or compromised administrator escalating to theft of application secrets rather than an unauthenticated outsider. No public exploit code was flagged in the provided intelligence and there is no confirmation of active exploitation (not in CISA KEV), although a public technical writeup describing the stream-wrapper technique is referenced.
RemediationAI
No vendor-released patch version is identified in the provided intelligence - the references point to the vulnerable source at a specific commit rather than a fixed release - so treat remediation as compensating controls until InnoShop publishes a fix. Highest-value action: disable the AI Core MCP file_upload tool (or the MCP/AI Core integration entirely if it is not in production use) and remove the files_create permission from every account that does not strictly require it, accepting that AI-assisted file-upload functionality and some admin workflows will stop working. If the tool must stay enabled, enforce a server-side allowlist on the 'source' argument that rejects all stream wrappers and schemes (file://, php://, phar://, data://, http://, zip://) and restricts reads to a fixed upload directory, resolving real paths and rejecting anything outside it - a change that may break legitimate remote-source ingestion. Additional containment with lower side effects: ensure the public media disk is not writable-then-readable for arbitrary uploaded content, keep .env outside the web root and off the media disk, and monitor/clean the media directory for leaked environment dumps. Treat any suspected exposure as a credential compromise: rotate the database password and APP_KEY (note that rotating APP_KEY invalidates encrypted application data such as sessions and stored encrypted values, so plan for user re-authentication) and audit admin accounts holding files_create. Vendors and defenders should track the InnoShop repository (https://github.com/innocommerce/innoshop) and the VulnCheck advisory (https://www.vulncheck.com/advisories/innoshop-0.9.2-local-file-disclosure-via-ai-core-mcp-file-upload-tool) for a patched release; the public writeup at https://hackmd.io/@haind/innoshop-mcp-local-file-read documents the disclosure technique and can inform detection signatures for requests carrying stream-wrapper strings into the MCP file_upload endpoint.
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 root cause class is CWE-73 (External Control of File Name or Path): the 'source' argument of the AI Core MCP file_upload tool is taken from caller input and passed directly into PHP's file_get_contents() (see innopacks/aicore/src/Tools/FileUploadTool.php, lines 55-89), which honors PHP stream wrappers. Supplying file:// or php:// wrappers therefore lets the tool read local filesystem or PHP stream content instead of merely ingesting an intended upload, and the retrieved bytes are then persisted to the public media disk by the upload service (innopacks/restapi/src/Services/UploadService.php, line 33), turning a read primitive into a web-accessible disclosure. The AI Core MCP component is InnoShop's Model Context Protocol tooling for AI features, which is why the CVSS 4.0 vector carries AT:P - the exploitable attack surface (MCP/AI Core tooling enabled and reachable) is an additional precondition beyond valid credentials. The CPE cpe:2.3:a:innocommerce:innoshop:*:*:*:*:*:*:*:* carries a wildcard version, and the advisory and code references on GitHub (commit 6af6a9744414d10d2f5aab516ed0b6c3045a2848) identify the affected code paths in the innocommerce/innoshop repository.
Know when Innoshop 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:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable but requires admin with files_create (PR:H) and invocation of the MCP tool with stream-wrapper abuse (AC:H); confidentiality-only impact (C:H), no integrity or availability effect.
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
InnoShop 0.9.2 contains a local file disclosure vulnerability that allows authenticated administrators with files_create permission to read server files by abusing the AI Core MCP file_upload tool's source argument. Attackers can supply file:// or php:// stream wrappers passed to file_get_contents(), storing contents on the public media disk to expose the .env file with APP_KEY and database credentials.
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
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
InnoShop e-commerce platform versions up to 0.7.8 allow unauthenticated remote attackers to bypass authentication contro
Path traversal in InnoShop versions 0.8.0 through 0.8.2 allows remotely authenticated low-privilege users to delete arbi
EUVD-2026-96403
GHSA-93ww-wv4j-3wjq
NVD
CVE.org
EPSS
Exploit-DB