Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 77%

CVE-2026-45708: CWE-94: Improper Control of Generation of Code ('Code Injection') in cubecart v6

0
High
VulnerabilityCVE-2026-45708cvecve-2026-45708cwe-94
Published: 05/13/2026 (05/13/2026, 20:46:51 UTC)
Source: CVE Database V5
Vendor/Project: cubecart
Product: v6

Description

CubeCart is an ecommerce software solution. Prior to 6.7.3, an admin with documents edit permission can save raw <?php … ?> into the Invoice Editor. The next time any admin clicks Print on any order, the rendered template is written to files/print.<md5>.php.files/.htaccess ships an explicit <Files print.*.php> allow from all </Files> carve-out, so the file is fetched and executed by any unauthenticated visitor. This vulnerability is fixed in 6.7.3.

CVSS v3.1

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
cubecart/v6
pkg:github/cubecart/v6
Affected versions
<6.7.3

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/21/2026, 12:16:27 UTC

Technical Analysis

CVE-2026-45708 is a code injection vulnerability in CubeCart v6 ecommerce software prior to version 6.7.3. It allows an admin with documents edit permission to insert raw PHP code into the Invoice Editor. Upon printing an order, the injected code is saved as a PHP file in a web-accessible directory with permissive .htaccess rules that allow unauthenticated access and execution. This leads to remote code execution by any unauthenticated visitor. The vulnerability has a CVSS 3.1 score of 7.2, indicating high severity. The issue is resolved in CubeCart v6.7.3.

Potential Impact

Successful exploitation allows unauthenticated remote code execution on the server hosting CubeCart, leading to full compromise of confidentiality, integrity, and availability of the affected system. The vulnerability requires an admin with documents edit permission to inject PHP code, but once injected, any unauthenticated user can trigger execution by accessing the generated PHP file. This can result in complete system takeover.

Mitigation Recommendations

Upgrade CubeCart to version 6.7.3 or later, where this vulnerability is fixed. Until upgrading, restrict admin permissions carefully to prevent untrusted users from editing documents. There is no official patch or temporary fix other than upgrading. Patch status is not explicitly stated beyond the fix in 6.7.3, so verify with vendor advisories for any additional guidance.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-13T04:38:01.166Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a04e7d4cbff5d86100a8994

Added to database: 05/13/2026, 21:06:28 UTC

Last enriched: 05/21/2026, 12:16:27 UTC

Last updated: 07/31/2026, 19:22:59 UTC

Views: 78

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses