CVE-2026-45708: CWE-94: Improper Control of Generation of Code ('Code Injection') in cubecart v6
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.
AI Analysis
Technical Summary
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.
CVE-2026-45708: CWE-94: Improper Control of Generation of Code ('Code Injection') in cubecart 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
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.