CVE-2026-49849: xShop: Unrestricted File Upload in File Attachment Module in Admin panel leads to Arbitrary Code Execution
xShop is an open-source shop developed in Laravel. An Unrestricted File Upload vulnerability in xShop version 3.0.3 allows an authenticated administrator to upload executable files (e.g., .php). By uploading a specially crafted php file, an attacker can achieve Remote Code Execution (RCE) on the server, leading to a full system compromise. Version 3.0.4 fixes the issue.
Security readout for executives and security teams
Plain-English summary
xShop 3.0.3 allows an authenticated administrator to upload a server-executable file through the attachment module. Successful abuse can let the attacker run code on the server, potentially compromising the shop, its data, and service availability. xShop 3.0.4 fixes the issue.
Executive priority
Treat confirmed xShop 3.0.3 deployments as an urgent remediation item. Prioritize externally reachable stores and environments containing sensitive customer or transaction data. Although administrator privileges are required and active exploitation is unconfirmed, successful abuse can turn one compromised admin account into full server compromise.
Technical view
CVE-2026-49849 is a CWE-434 unrestricted file-upload flaw in the xShop administrative attachment module. It is remotely reachable with low complexity but requires high privileges and no user interaction. Executable uploads can result in server-side code execution. The supplied CVSS 3.1 score is 9.1, with scope changed and high confidentiality, integrity, and availability impact.
Likely exposure
Exposure is limited to xShop version 3.0.3. Exploitation requires authenticated administrator access, so compromised, malicious, or overly broad admin accounts are the principal path. Instances already running 3.0.4 are outside the stated affected version. Internet-accessible administration increases practical risk, although deployment prevalence is unknown.
Exploitation context
The vulnerability provides a path from administrator access to server compromise, materially increasing the consequences of stolen admin credentials. The source bundle reports that it is not in CISA KEV, and the supplied sources do not establish active exploitation. Exploitability should not be confused with evidence of exploitation.
Researcher notes
The CVSS vector is AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H. High privileges reduce initial accessibility, but scope change and server-side code execution drive critical impact. The affected range supplied is exactly version 3.0.3; version 3.0.4 contains the fix. The bundle does not provide deployment prevalence, observed indicators, or confirmed exploitation telemetry.
Mitigation direction
Upgrade affected xShop 3.0.3 installations to version 3.0.4.
Restrict administrative access until the upgrade is completed.
Review administrator accounts and revoke unnecessary or suspicious access.
Follow the vendor advisory and release guidance for deployment details.
Validation and detection
Inventory xShop installations and confirm their exact deployed versions.
Verify production instances report version 3.0.4 or later.
Confirm the attachment module rejects server-executable file types after upgrading.
Review administrative upload records for unexpected executable attachments.
Inspect uploaded-file locations for unexpected server-executable files.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-434: File access and web shell behavior lookup
File traversal and upload weaknesses can lead teams to review file, web shell, execution, and collection telemetry. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references code or command execution, so execution technique review may help defensive triage. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
The CVE wording references file access or upload behavior, so file telemetry and web shell review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
1CVSS vectors
3Timeline events
1ADP providers
5Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: noTechnical Impact: total
CVSS vector scores
1 official score
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-434 · source CWE mapping
Unrestricted Upload of File with Dangerous Type
Unrestricted Upload of File with Dangerous Type represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.