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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-49849
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:30 UTC · Revision 1
Source evidence
xShop: Unrestricted File Upload in File Attachment Module in Admin panel leads to Arbitrary Code Execution
core-osv · Original sourcePublished 21 Aug 2026, 21:14 UTC
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.
osv:CVE-2026-49849
Complete source record
{
"id": "93617f0db958ffde9a04b20d91a4645806151061b642c7cdfb6ff903f371cef8",
"url": "https://osv.dev/vulnerability/CVE-2026-49849",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "xShop: Unrestricted File Upload in File Attachment Module in Admin panel leads to Arbitrary Code Execution",
"summary": "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.",
"evidence": "osv:CVE-2026-49849",
"products": [],
"severity": "critical",
"structured": {
"id": "CVE-2026-49849",
"aliases": [
"CVE-2026-49849",
"GHSA-fc35-qjg3-f6g7"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/4xmen/xshop",
"type": "GIT",
"events": [
{
"introduced": "9839f168129c2dfc74d6f4f8fcc233a0ef04e529"
},
{
"fixed": "dd4a3add9d6f5b5f9dde9685e97f51057903a1db"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "= 3.0.3"
},
{
"last_affected": "= 3.0.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"fixed": "dd4a3add9d6f5b5f9dde9685e97f51057903a1db"
}
],
"source": "REFERENCES_COMMIT"
},
{
"range": [
{
"fixed": "dd4a3add9d6f5b5f9dde9685e97f51057903a1db"
}
],
"source": "REFERENCES_TAG",
"original_tag": "v3.0.4"
}
]
}
}
],
"versions": [
"= 3.0.3",
"v3.0.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-49849.json"
}
}
],
"modified": "2026-10-28T02:30:38.852583811Z",
"provider": "osv",
"references": [
"https://github.com/4xmen/xshop/releases/tag/v3.0.4",
"https://github.com/4xmen/xshop/security/advisories/GHSA-fc35-qjg3-f6g7",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49849.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-49849",
"https://github.com/4xmen/xshop/commit/dd4a3add9d6f5b5f9dde9685e97f51057903a1db",
"https://github.com/4xmen/xshop/pull/64"
],
"provider_metadata": {
"cwe_ids": [
"CWE-434"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/49xxx/CVE-2026-49849.json"
}
},
"related_cves": [
{
"value": "CVE-2026-49849",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506190,
"published_at": "2026-08-21T21:14:24.201+00:00"
}