CVE-2026-45708
Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.
NVD · uneditedCubeCart 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.
Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.
dbcve analysis · high confidenceCubeCart versions before 6.7.3 allow an admin with documents edit permission to inject arbitrary PHP code into the Invoice Editor. When any admin prints an order, this template is written to a predictable PHP file in the files/ directory. The included .htaccess explicitly allows access to these print PHP files, enabling unauthenticated remote code execution.
Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.
CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.
From the vector- Attack vector
- Network
- Complexity
- Low
- Privileges
- 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
Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.
dbcve checksWork through these to decide whether this CVE applies to you.
-
Identify installed CubeCart versionLocate the version file or database entry. Common locations include: a version.php file in the root or admin/includes/ directory, or check the database for a version setting. Compare the found version to the affected range (before 6.7.3).Affected if The installed version is lower than 6.7.3
-
Check for admin users with documents edit permissionAccess the admin panel and review user permissions, or query the database admin_user table for permission flags. Specifically look for users granted 'documents' or 'documents_edit' access rights.Affected if Any admin account has documents edit permission enabled
-
Inspect files directory for suspicious PHP filesBrowse to the files/ directory (or files/sources/ depending on installation) and list all PHP files. Look for files matching patterns like print*.php, invoice*.php, or order*.php that were not created by the administrator.Affected if Unexpected print*.php or similar template files exist in the files/ directory
-
Verify htaccess allows PHP execution in files directoryLocate and read the .htaccess file inside the files/ directory. Check if it contains directives that permit execution of PHP scripts (such as SetHandler or AddType for PHP), which would allow unauthenticated access to any injected PHP files.Affected if The .htaccess in files/ explicitly allows PHP script execution
You are affected if your CubeCart installation is version 6.7.2 or lower AND an admin with documents edit permission exists, or if you find unexpected print PHP files in the files/ directory with PHP execution enabled via htaccess.
Generated from the published advisory. Verify against your own configuration.
Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.
dbcve · scopedUpgrade to CubeCart 6.7.3 or later immediately. Additionally, audit the files/ directory for any unexpected print.*.php files and remove them, and review admin permissions to limit who has documents edit access.
CubeCart 6.7.3
- Backup the CubeCart installation and database before proceeding with any changes
- Download CubeCart version 6.7.3 from the official source (github.com or cubecart.com)
- Replace the existing CubeCart files with the new version 6.7.3 files, preserving configuration and custom assets
- Run any available database migration scripts included in the 6.7.3 release
- Log in as an administrator and verify the Invoice Editor no longer allows saving raw PHP code
- Test the order Print functionality to confirm templates render correctly without code injection
- Verify the fix by attempting to inject <?php phpinfo(); ?> into the Invoice Editor as an admin with documents edit permission - it should be sanitized or blocked
- Clear any application caches after upgrade
Generated from the published advisory — verify against the referenced sources before acting.
- Consultation3.0 h
- Implementation4.0 h
- Testing3.0 h
- Review / QA2.0 h
An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.
Scan for this in your stack
Free · runs locallyCheck whether your project pulls in CVE-2026-45708 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.
References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.
Primary sourcesPractitioner notes
ContributedPeer-ranked notes from engineers who’ve handled CVE-2026-45708 in production — separate from our analysis above.
The advisory tells you what broke. It rarely tells you what actually worked. If you’ve dealt with this one, that detail is what the next engineer is searching for.
- The version that genuinely resolved it — not the one the vendor claimed
- A config change or rule that shut the vector down
- A gotcha in the upgrade path that cost you an afternoon
No notes yet
Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.
A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.
- Verified mitigations, workarounds, and config changes
- Version or environment caveats, and links to real fixes
- No weaponised exploit code, or anything meant to cause harm
- No spam, self-promotion, credentials, or personal data