CVE-2026-45708: CWE-94: Improper Control of Generation of Code ('Code Injection') in cubecart v6
CubeCart versions prior to 6. 7. 3 contain a code injection vulnerability in the Invoice Editor. An admin with documents edit permission can save raw PHP code into the Invoice Editor, which is then written as a PHP file accessible and executable by unauthenticated visitors due to permissive . htaccess settings. This allows remote code execution. The vulnerability is fixed in version 6. 7. 3.
AI Analysis
Technical Summary
CVE-2026-45708 is a code injection vulnerability (CWE-94) in CubeCart ecommerce software versions before 6.7.3. An administrator with document editing rights can inject raw PHP code into the Invoice Editor. When any admin prints an order, the injected code is saved as a PHP file under files/print.<md5>.php. The .htaccess configuration explicitly allows access to these files, enabling unauthenticated remote users to execute arbitrary PHP code on the server. This vulnerability has a CVSS 3.1 base score of 7.2, indicating high severity. The issue is resolved in CubeCart version 6.7.3.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary PHP code on the server hosting CubeCart, potentially leading to full system compromise, data theft, or service disruption. The vulnerability requires an admin with document edit permissions to inject the code, but once injected, any unauthenticated visitor can trigger execution by accessing the generated PHP file.
Mitigation Recommendations
Upgrade CubeCart to version 6.7.3 or later, where this vulnerability is fixed. Until the upgrade, restrict admin document edit permissions to trusted users only. Patch status is confirmed fixed in 6.7.3. No vendor advisory was provided, but the description explicitly states the fix version.
CVE-2026-45708: CWE-94: Improper Control of Generation of Code ('Code Injection') in cubecart v6
Description
CubeCart versions prior to 6. 7. 3 contain a code injection vulnerability in the Invoice Editor. An admin with documents edit permission can save raw PHP code into the Invoice Editor, which is then written as a PHP file accessible and executable by unauthenticated visitors due to permissive . htaccess settings. This allows remote code execution. The vulnerability is fixed in version 6. 7. 3.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-45708 is a code injection vulnerability (CWE-94) in CubeCart ecommerce software versions before 6.7.3. An administrator with document editing rights can inject raw PHP code into the Invoice Editor. When any admin prints an order, the injected code is saved as a PHP file under files/print.<md5>.php. The .htaccess configuration explicitly allows access to these files, enabling unauthenticated remote users to execute arbitrary PHP code on the server. This vulnerability has a CVSS 3.1 base score of 7.2, indicating high severity. The issue is resolved in CubeCart version 6.7.3.
Potential Impact
Successful exploitation allows unauthenticated remote attackers to execute arbitrary PHP code on the server hosting CubeCart, potentially leading to full system compromise, data theft, or service disruption. The vulnerability requires an admin with document edit permissions to inject the code, but once injected, any unauthenticated visitor can trigger execution by accessing the generated PHP file.
Mitigation Recommendations
Upgrade CubeCart to version 6.7.3 or later, where this vulnerability is fixed. Until the upgrade, restrict admin document edit permissions to trusted users only. Patch status is confirmed fixed in 6.7.3. No vendor advisory was provided, but the description explicitly states the fix version.
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: 5/13/2026, 9:06:28 PM
Last enriched: 5/13/2026, 9:21:27 PM
Last updated: 5/13/2026, 10:09:08 PM
Views: 3
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.