Security advisory
The "program extension upload" feature in OpenCart through 3.0.2.0 has a six-step process (upload, install, unzip, move, xml, remove) that allows attackers to execute arbitrary code if the remove step is skipped, because the attacker can discover a secret temporary directory name (containing 10 random digits) via a directory traversal attack involving language_info['code'].
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2018-11494
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 08:07 UTC · Revision 1
Source evidence
The "program extension upload" feature in OpenCart through 3.0.2.0 has a six-step process (upload, install, unzip, move, xml, remove) that allows attackers to execute arbitrary code if the remove step is skipped, because the attacker can discover a secret temporary directory name (containing 10 random digits) via a directory traversal attack involving language_info['code'].
osv:CVE-2018-11494
Complete source record
{
"id": "1dbb89af69eaf2cc14363df2a61edb35a07f2d52af844050484ae32c9b862340",
"url": "https://osv.dev/vulnerability/CVE-2018-11494",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2018-11494",
"summary": "The \"program extension upload\" feature in OpenCart through 3.0.2.0 has a six-step process (upload, install, unzip, move, xml, remove) that allows attackers to execute arbitrary code if the remove step is skipped, because the attacker can discover a secret temporary directory name (containing 10 random digits) via a directory traversal attack involving language_info['code'].",
"evidence": "osv:CVE-2018-11494",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2018-11494",
"aliases": [
"CVE-2018-11494",
"GHSA-wx3q-f5f2-4q8v"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:H/PR:H/UI:N/S:C/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/opencart/opencart",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "a1d7bc1e6434b8741e8a819238a2bf4e428194fb"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:opencart:opencart:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "3.0.2.0"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"3.0.2.0",
"3.0.1.2",
"3.0.1.1",
"3.0.0.2",
"3.0.0.0",
"2.2.0.0",
"2.0.1.0",
"2.0.0.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2018-11494.json"
}
}
],
"modified": "2026-10-24T10:31:03.207016270Z",
"provider": "osv",
"references": [],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2018-11494",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 440211,
"published_at": "2018-05-26T20:29:00.217+00:00"
}