Skip to main content

InnoShop CVE-2026-108591

| EUVDEUVD-2026-96403 MEDIUM
External Control of File Name or Path (CWE-73)
2026-10-10 VulnCheck GHSA-93ww-wv4j-3wjq
5.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Authenticate as admin with files_create
  2. Delivery
    Call AI Core MCP file_upload tool
  3. Exploit
    Supply file:// or php:// source argument
  4. Execution
    file_get_contents() reads .env
  5. Persist
    Contents stored on public media disk
  6. Impact
    Retrieve 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

InnoShop 0.9.2 ≤0.9.2

Affected Packages

euvd innoshop 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

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

Vendor (VulnCheck) PRIMARY 5.9 MEDIUM
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
vuln.today AI 4.4 MEDIUM

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.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

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

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

EPSS Score
0.3%
Top 82% exploitable
Prevalence
Low
niche open-source e-commerce platform, limited production/enterprise footprint
Data Quality
5 sources
Confidence: Medium

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.3%
Patch available No
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
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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