Skip to content
Log inRegister
Criticalrisk levelConfirmedGCC/MENA relevance

CubeCart Pre-Auth RCE Exploited in the Wild: Patch or Apply the Hotfix Now

Dr. Abeer Alshammari · Published 12/3/2026

Bottom line: CubeCart versions 6.6.0 to 6.8.6 contain a critical flaw that lets an unauthenticated visitor turn a crafted session value into remote code execution on the store server. The maintainers report real attacks on 2 December 2026, including webshells planted in the images folder. No CVE identifier has been assigned yet. Apply the published hotfix now and check exposed stores for compromise.

What happened

On 2 December 2026 the CubeCart project published a security advisory (GHSA-86w8-pwv3-4vph) describing a pre-authentication PHP object injection that leads to remote code execution. The advisory states the flaw was exploited in the wild the same day against a store running version 6.7.5. According to the advisory, the attacker changed a store setting, ran commands, wrote webshells into the images folder and then restored the original text to hide the change.

Why it matters

The attack needs no account and no user interaction, and e-commerce stores hold customer records and payment workflows. A flaw that is already used against live shops, with no CVE yet to anchor scanners and asset registers, is easy to miss in routine vulnerability management.

Who is affected

Any CubeCart store running versions 6.6.0 through 6.8.6. A separate SQL injection issue in the storefront search handler (GHSA-jfqc-r63w-28cp, reported with a CVSS score of 7.5) affects versions 6.5.12 through 6.8.6, but no attacks have been confirmed for that one.

Technical impact

Since version 6.6.0 CubeCart stores sessions itself. When a stored session fails strict decoding, a fallback decoder unserializes the data while allowing all classes. A visitor can get their Referer header stored in the session and cause a length change during string handling, so the fallback ends up processing attacker-controlled data. A forged configuration object can then write arbitrary store settings to the database, and a template placed in a displayed setting is rendered by the Smarty engine, which allows command execution. The weakness class is deserialization of untrusted data (CWE-502).

Governance impact

This is a third-party platform risk for any organisation that sells online through an open-source cart. It tests whether the asset inventory records which shop software and version is running, whether exposure of customer data after a webshell compromise triggers breach notification duties, and whether vulnerability tracking can handle advisories that have no CVE number.

What security teams should do

  • Identify every CubeCart instance and its version, including forgotten test and regional shops.
  • Apply the maintainers' hotfix: in the session decoding function, change the allowed classes setting from true to false. The advisory lists version 6.8.7 as the fixed release, but its patch section said a patch was not yet released when we checked, so confirm the current release status on the project page.
  • As a stopgap only, block requests whose Referer or User-Agent contains the object serialization marker described in the advisory. The advisory is clear that this is not a fix.
  • Hunt for unexpected files in the images folder, unexplained changes to store settings (especially the copyright text) and unusual outbound connections from the web server.
  • If compromise is suspected, rotate database and admin credentials and follow your incident response and breach assessment process.

What executives should know

An actively exploited flaw affects an online sales platform and a fix may not yet be fully packaged. Ask for confirmation of whether the organisation runs this software, how quickly the hotfix can be applied, and whether customer data exposure has to be assessed. Delay carries direct revenue and regulatory risk.

Sources: the CubeCart project security advisory GHSA-86w8-pwv3-4vph on GitHub (opened and read on 3 December 2026) and the SecurityOnline report of 3 December 2026. Cross-checked against both. No CVE or CVSS score for the remote code execution flaw was available at the time of writing.

Back to Cyber Intelligence